25#include <glib/gi18n.h>
35 for(
int i = 0;
i <
n;
i++)
44 GtkAllocation first, last;
48 const gint
total_space = last.x + last.width - first.x;
54 for(
int i = 0;
i <
n;
i++)
59 for(
int i = 0;
i <
n;
i++)
75 for(
int i = 0;
i <
n;
i++)
struct _GtkWidget GtkWidget
GtkWidget, opaque, spelled exactly as GTK spells it.
#define IS_NULL_PTR(p)
C is way too permissive with !=, == and if(var) checks, which can mean too many things depending on w...
static gboolean _notebook_motion_notify_callback(GtkWidget *widget, GdkEventMotion *event, gpointer user_data)
GtkWidget * dt_ui_notebook_page(GtkNotebook *notebook, const char *text, const char *tooltip)
GtkNotebook * dt_ui_notebook_new()
static void _notebook_size_callback(GtkNotebook *notebook, GdkRectangle *allocation, gpointer *data)
static void _notebook_switch_page_signal_relay(GtkNotebook *notebook, GtkWidget *page, guint page_num, gpointer user_data)
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 hos...