![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Go to the source code of this file.
Data Structures | |
struct | _GtkDarktableToggleButton |
struct | _GtkDarktableToggleButtonClass |
Macros | |
#define | DTGTK_TOGGLEBUTTON(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, dtgtk_togglebutton_get_type(), GtkDarktableToggleButton) |
#define | DTGTK_TOGGLEBUTTON_CLASS(klass) G_TYPE_CHECK_CLASS_CAST(klass, dtgtk_togglebutton_get_type(), GtkDarktableToggleButtonClass) |
#define | DTGTK_IS_TOGGLEBUTTON(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, dtgtk_togglebutton_get_type()) |
#define | DTGTK_IS_TOGGLEBUTTON_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE(obj, dtgtk_togglebutton_get_type()) |
Typedefs | |
typedef struct _GtkDarktableToggleButton | GtkDarktableToggleButton |
typedef struct _GtkDarktableToggleButtonClass | GtkDarktableToggleButtonClass |
Functions | |
GType | dtgtk_togglebutton_get_type (void) |
GtkWidget * | dtgtk_togglebutton_new (DTGTKCairoPaintIconFunc paint, gint paintflag, void *paintdata) |
void | dtgtk_togglebutton_set_paint (GtkDarktableToggleButton *button, DTGTKCairoPaintIconFunc paint, gint paintflags, void *paintdata) |
#define DTGTK_IS_TOGGLEBUTTON | ( | obj | ) | G_TYPE_CHECK_INSTANCE_TYPE(obj, dtgtk_togglebutton_get_type()) |
#define DTGTK_IS_TOGGLEBUTTON_CLASS | ( | klass | ) | G_TYPE_CHECK_CLASS_TYPE(obj, dtgtk_togglebutton_get_type()) |
#define DTGTK_TOGGLEBUTTON | ( | obj | ) | G_TYPE_CHECK_INSTANCE_CAST(obj, dtgtk_togglebutton_get_type(), GtkDarktableToggleButton) |
#define DTGTK_TOGGLEBUTTON_CLASS | ( | klass | ) | G_TYPE_CHECK_CLASS_CAST(klass, dtgtk_togglebutton_get_type(), GtkDarktableToggleButtonClass) |
typedef struct _GtkDarktableToggleButton GtkDarktableToggleButton |
typedef struct _GtkDarktableToggleButtonClass GtkDarktableToggleButtonClass |
GType dtgtk_togglebutton_get_type | ( | void | ) |
References _togglebutton_class_init(), and _togglebutton_init().
Referenced by dtgtk_togglebutton_new().
GtkWidget * dtgtk_togglebutton_new | ( | DTGTKCairoPaintIconFunc | paint, |
gint | paintflag, | ||
void * | paintdata | ||
) |
instantiate a new darktable toggle button
References _GtkDarktableToggleButton::canvas, dt_gui_add_class(), dtgtk_togglebutton_get_type(), _GtkDarktableToggleButton::icon, _GtkDarktableToggleButton::icon_data, and _GtkDarktableToggleButton::icon_flags.
Referenced by _add_sample(), _color_picker_new(), dt_gui_new_collapsible_section(), dt_iop_gui_init_blendif(), dt_iop_gui_init_raster(), dt_iop_gui_set_expander(), dt_iop_togglebutton_new(), gui_init(), gui_init(), gui_init(), and gui_init().
void dtgtk_togglebutton_set_paint | ( | GtkDarktableToggleButton * | button, |
DTGTKCairoPaintIconFunc | paint, | ||
gint | paintflags, | ||
void * | paintdata | ||
) |
Set the paint function and paint flags
References _GtkDarktableToggleButton::icon, _GtkDarktableToggleButton::icon_data, and _GtkDarktableToggleButton::icon_flags.
Referenced by _coeffs_button_changed(), _extra_options_button_changed(), _lib_filter_reverse_button_changed(), _shape_button_clicked(), _view_map_location_changed(), dt_gui_update_collapsible_section(), dt_iop_gui_init_blendif(), dt_iop_gui_init_masks(), dt_iop_gui_set_enable_button_icon(), gui_init(), gui_init(), gui_init(), and gui_reset().