Class
PhoshThumbnail
Description [src]
class Phosh.Thumbnail : GObject.Object
{
/* No available fields */
}
An abstract class representing a thumbnail image.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct PhoshThumbnailClass {
GObjectClass parent_class;
gpointer (* get_image) (
PhoshThumbnail* self
);
void (* get_size) (
PhoshThumbnail* self,
guint* width,
guint* height,
guint* stride
);
gboolean (* is_ready) (
PhoshThumbnail* self
);
void (* set_ready) (
PhoshThumbnail* self,
gboolean ready
);
}
No description available.
Class members
parent_class: GObjectClass
The parent class.
get_image: gpointer (* get_image) ( PhoshThumbnail* self )
Get the current image data.
get_size: void (* get_size) ( PhoshThumbnail* self, guint* width, guint* height, guint* stride )
Get current image size and stride.
is_ready: gboolean (* is_ready) ( PhoshThumbnail* self )
Whether the image is ready to be fetched.
set_ready: void (* set_ready) ( PhoshThumbnail* self, gboolean ready )
Set image as ready. Must chain up.