![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Go to the source code of this file.
Data Structures | |
struct | _GtkDarktableIcon |
struct | _GtkDarktableIconClass |
Macros | |
#define | DTGTK_ICON(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, dtgtk_icon_get_type(), GtkDarktableIcon) |
#define | DTGTK_ICON_CLASS(klass) G_TYPE_CHECK_CLASS_CAST(klass, dtgtk_icon_get_type(), GtkDarktableIconClass) |
#define | DTGTK_IS_ICON(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, dtgtk_icon_get_type()) |
#define | DTGTK_IS_ICON_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE(obj, dtgtk_icon_get_type()) |
Typedefs | |
typedef struct _GtkDarktableIcon | GtkDarktableIcon |
typedef struct _GtkDarktableIconClass | GtkDarktableIconClass |
Functions | |
GType | dtgtk_icon_get_type (void) |
GtkWidget * | dtgtk_icon_new (DTGTKCairoPaintIconFunc paint, gint paintflags, void *paintdata) |
void | dtgtk_icon_set_paint (GtkWidget *icon, DTGTKCairoPaintIconFunc paint, gint paintflags, void *paintdata) |
#define DTGTK_ICON | ( | obj | ) | G_TYPE_CHECK_INSTANCE_CAST(obj, dtgtk_icon_get_type(), GtkDarktableIcon) |
#define DTGTK_ICON_CLASS | ( | klass | ) | G_TYPE_CHECK_CLASS_CAST(klass, dtgtk_icon_get_type(), GtkDarktableIconClass) |
#define DTGTK_IS_ICON | ( | obj | ) | G_TYPE_CHECK_INSTANCE_TYPE(obj, dtgtk_icon_get_type()) |
#define DTGTK_IS_ICON_CLASS | ( | klass | ) | G_TYPE_CHECK_CLASS_TYPE(obj, dtgtk_icon_get_type()) |
typedef struct _GtkDarktableIcon GtkDarktableIcon |
typedef struct _GtkDarktableIconClass GtkDarktableIconClass |
GType dtgtk_icon_get_type | ( | void | ) |
References _icon_class_init(), and _icon_init().
Referenced by dtgtk_icon_new().
GtkWidget * dtgtk_icon_new | ( | DTGTKCairoPaintIconFunc | paint, |
gint | paintflags, | ||
void * | paintdata | ||
) |
instantiate a new darktable icon control passing paint function as content
References dtgtk_icon_get_type(), FALSE, _GtkDarktableIcon::icon, _GtkDarktableIcon::icon_data, and _GtkDarktableIcon::icon_flags.
void dtgtk_icon_set_paint | ( | GtkWidget * | icon, |
DTGTKCairoPaintIconFunc | paint, | ||
gint | paintflags, | ||
void * | paintdata | ||
) |
set the paint function for a icon
References DTGTK_ICON.