![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <gtk/gtk.h>
Include dependency graph for notebook.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| G_BEGIN_DECLS GtkNotebook * | dt_ui_notebook_new (void) |
| GtkWidget * | dt_ui_notebook_page (GtkNotebook *notebook, const char *text, const char *tooltip) |
| void | dt_ui_notebook_set_picker_owner (GtkNotebook *notebook, gpointer owner) |
| Register an opaque owner for a GtkNotebook's page switches, and report every "switch_page" to the host through dt_widget_notebook_page_changed(). | |
| G_BEGIN_DECLS GtkNotebook * dt_ui_notebook_new | ( | void | ) |
Definition at line 83 of file notebook.c.
References L.
Referenced by gui_init(), gui_init(), and gui_init().
| GtkWidget * dt_ui_notebook_page | ( | GtkNotebook * | notebook, |
| const char * | text, | ||
| const char * | tooltip | ||
| ) |
Definition at line 88 of file notebook.c.
References _notebook_motion_notify_callback(), _notebook_size_callback(), dt_capitalize_label(), dt_free, DT_GUI_BOX_SPACING, FALSE, L, notebook, tooltip, and TRUE.
Referenced by dt_iop_gui_update_blendif(), gui_init(), gui_init(), and gui_init().
| void dt_ui_notebook_set_picker_owner | ( | GtkNotebook * | notebook, |
| gpointer | owner | ||
| ) |
Register an opaque owner for a GtkNotebook's page switches, and report every "switch_page" to the host through dt_widget_notebook_page_changed().
This layer does not know or care what owner is: it is carried through as-is. Any interested listener (e.g. the color picker, which resets a picker left active on a page the user just switched away from) casts the payload back to whatever type it registered here. Works on any GtkNotebook, whether created via dt_ui_notebook_new() or gtk_notebook_new().
Definition at line 118 of file notebook.c.
References _notebook_switch_page_signal_relay(), IS_NULL_PTR, L, and notebook.
Referenced by gui_init(), and gui_init().