![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Functions | |
static void | _button_class_init (GtkDarktableButtonClass *klass) |
static void | _button_init (GtkDarktableButton *button) |
static gboolean | _button_draw (GtkWidget *widget, cairo_t *cr) |
GtkWidget * | dtgtk_button_new (DTGTKCairoPaintIconFunc paint, gint paintflags, void *paintdata) |
GType | dtgtk_button_get_type () |
void | dtgtk_button_set_paint (GtkDarktableButton *button, DTGTKCairoPaintIconFunc paint, gint paintflags, void *paintdata) |
void | dtgtk_button_set_active (GtkDarktableButton *button, gboolean active) |
gboolean | dtgtk_button_get_active (GtkDarktableButton *button) |
|
static |
References _button_draw().
Referenced by dtgtk_button_get_type().
|
static |
References CPF_PRELIGHT, DTGTK_BUTTON, DTGTK_IS_BUTTON, FALSE, flags, height, and width.
Referenced by _button_class_init().
|
static |
Referenced by dtgtk_button_get_type().
gboolean dtgtk_button_get_active | ( | GtkDarktableButton * | button | ) |
References CPF_ACTIVE, FALSE, and _GtkDarktableButton::icon_flags.
Referenced by _altered_clicked(), _colorlabel_clicked(), _rating_clicked(), and _unaltered_clicked().
GType dtgtk_button_get_type | ( | void | ) |
References _button_class_init(), and _button_init().
Referenced by dtgtk_button_new().
GtkWidget * dtgtk_button_new | ( | DTGTKCairoPaintIconFunc | paint, |
gint | paintflags, | ||
void * | paintdata | ||
) |
instantiate a new darktable button control passing paint function as content
References _GtkDarktableButton::canvas, dt_gui_add_class(), dtgtk_button_get_type(), _GtkDarktableButton::icon, _GtkDarktableButton::icon_data, and _GtkDarktableButton::icon_flags.
Referenced by _cancellable_gui_thread(), _lib_duplicate_init_callback(), _lib_history_create_button(), dt_iop_button_new(), dt_iop_gui_init_blending(), dt_iop_gui_set_expander(), dt_lib_export_metadata_configuration_dialog(), gui_init(), gui_init(), gui_init(), gui_init(), and gui_init().
void dtgtk_button_set_active | ( | GtkDarktableButton * | button, |
gboolean | active | ||
) |
set the active state of the button icon
References CPF_ACTIVE, and _GtkDarktableButton::icon_flags.
Referenced by _altered_clicked(), _blendif_options_callback(), _colorlabel_clicked(), _dtgtk_button_set_active(), _gui_multiinstance_callback(), _lib_history_create_button(), _rating_clicked(), _unaltered_clicked(), and presets_popup_callback().
void dtgtk_button_set_paint | ( | GtkDarktableButton * | button, |
DTGTKCairoPaintIconFunc | paint, | ||
gint | paintflags, | ||
void * | paintdata | ||
) |
set the paint function for a button
References _GtkDarktableButton::icon, _GtkDarktableButton::icon_data, and _GtkDarktableButton::icon_flags.
Referenced by dt_lib_gui_set_expanded().