28 #ifndef __GTK_NOTEBOOK_H__
29 #define __GTK_NOTEBOOK_H__
32 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
33 #error "Only <gtk/gtk.h> can be included directly."
41 #define GTK_TYPE_NOTEBOOK (gtk_notebook_get_type ())
42 #define GTK_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_NOTEBOOK, GtkNotebook))
43 #define GTK_NOTEBOOK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_NOTEBOOK, GtkNotebookClass))
44 #define GTK_IS_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NOTEBOOK))
45 #define GTK_IS_NOTEBOOK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_NOTEBOOK))
46 #define GTK_NOTEBOOK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_NOTEBOOK, GtkNotebookClass))
57 #if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
65 #if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
68 gpointer
GSEAL (cur_page);
82 guint
GSEAL (show_tabs) : 1;
83 guint
GSEAL (homogeneous) : 1;
84 guint
GSEAL (show_border) : 1;
85 guint
GSEAL (tab_pos) : 2;
86 guint
GSEAL (scrollable) : 1;
87 guint
GSEAL (in_child) : 3;
88 guint
GSEAL (click_child) : 3;
89 guint
GSEAL (button) : 2;
90 guint
GSEAL (need_timer) : 1;
91 guint
GSEAL (child_has_focus) : 1;
92 guint
GSEAL (have_visible_child) : 1;
93 guint
GSEAL (focus_out) : 1;
95 guint
GSEAL (has_before_previous) : 1;
96 guint
GSEAL (has_before_next) : 1;
97 guint
GSEAL (has_after_previous) : 1;
98 guint
GSEAL (has_after_next) : 1;
106 #if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
115 gboolean move_focus);
124 gboolean move_to_last);
183 #ifndef GTK_DISABLE_DEPRECATED
186 GDestroyNotify destroy);
197 const gchar *group_name);
221 gboolean show_border);
230 #ifndef GTK_DISABLE_DEPRECATED
232 gboolean homogeneous);
242 gboolean scrollable);
265 const gchar *tab_text);
275 const gchar *menu_text);
278 #ifndef GTK_DISABLE_DEPRECATED
297 gboolean reorderable);
302 gboolean detachable);
310 #ifndef GTK_DISABLE_DEPRECATED
311 #define gtk_notebook_current_page gtk_notebook_get_current_page
312 #define gtk_notebook_set_page gtk_notebook_set_current_page
void gtk_notebook_popup_enable(GtkNotebook *notebook)
GType gtk_notebook_get_type(void) G_GNUC_CONST
gint gtk_notebook_append_page_menu(GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label)
void gtk_notebook_set_tab_label_text(GtkNotebook *notebook, GtkWidget *child, const gchar *tab_text)
void gtk_notebook_set_tab_reorderable(GtkNotebook *notebook, GtkWidget *child, gboolean reorderable)
guint16 gtk_notebook_get_tab_hborder(GtkNotebook *notebook)
const gchar * gtk_notebook_get_tab_label_text(GtkNotebook *notebook, GtkWidget *child)
gint gtk_notebook_get_group_id(GtkNotebook *notebook)
void gtk_notebook_query_tab_label_packing(GtkNotebook *notebook, GtkWidget *child, gboolean *expand, gboolean *fill, GtkPackType *pack_type)
gboolean gtk_notebook_get_show_tabs(GtkNotebook *notebook)
struct _GtkNotebookPage GtkNotebookPage
void gtk_notebook_set_tab_detachable(GtkNotebook *notebook, GtkWidget *child, gboolean detachable)
void gtk_notebook_reorder_child(GtkNotebook *notebook, GtkWidget *child, gint position)
gint gtk_notebook_append_page(GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label)
void gtk_notebook_set_group(GtkNotebook *notebook, gpointer group)
gint gtk_notebook_page_num(GtkNotebook *notebook, GtkWidget *child)
void gtk_notebook_prev_page(GtkNotebook *notebook)
void gtk_notebook_set_menu_label_text(GtkNotebook *notebook, GtkWidget *child, const gchar *menu_text)
void gtk_notebook_set_scrollable(GtkNotebook *notebook, gboolean scrollable)
guint16 gtk_notebook_get_tab_vborder(GtkNotebook *notebook)
GtkWidget * gtk_notebook_get_menu_label(GtkNotebook *notebook, GtkWidget *child)
gint gtk_notebook_insert_page_menu(GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label, gint position)
void gtk_notebook_set_menu_label(GtkNotebook *notebook, GtkWidget *child, GtkWidget *menu_label)
void gtk_notebook_next_page(GtkNotebook *notebook)
gint gtk_notebook_get_n_pages(GtkNotebook *notebook)
gint gtk_notebook_insert_page(GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, gint position)
void gtk_notebook_set_window_creation_hook(GtkNotebookWindowCreationFunc func, gpointer data, GDestroyNotify destroy)
gboolean gtk_notebook_get_tab_reorderable(GtkNotebook *notebook, GtkWidget *child)
gpointer gtk_notebook_get_group(GtkNotebook *notebook)
gint gtk_notebook_prepend_page_menu(GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label)
void gtk_notebook_set_tab_vborder(GtkNotebook *notebook, guint tab_vborder)
void gtk_notebook_set_tab_hborder(GtkNotebook *notebook, guint tab_hborder)
const gchar * gtk_notebook_get_menu_label_text(GtkNotebook *notebook, GtkWidget *child)
void gtk_notebook_set_current_page(GtkNotebook *notebook, gint page_num)
gint gtk_notebook_prepend_page(GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label)
void gtk_notebook_set_group_name(GtkNotebook *notebook, const gchar *group_name)
GtkWidget * gtk_notebook_get_nth_page(GtkNotebook *notebook, gint page_num)
gboolean gtk_notebook_get_show_border(GtkNotebook *notebook)
void gtk_notebook_set_tab_label(GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label)
void gtk_notebook_set_action_widget(GtkNotebook *notebook, GtkWidget *widget, GtkPackType pack_type)
void gtk_notebook_popup_disable(GtkNotebook *notebook)
void gtk_notebook_set_group_id(GtkNotebook *notebook, gint group_id)
GtkWidget * gtk_notebook_get_action_widget(GtkNotebook *notebook, GtkPackType pack_type)
void gtk_notebook_set_tab_pos(GtkNotebook *notebook, GtkPositionType pos)
void gtk_notebook_set_show_border(GtkNotebook *notebook, gboolean show_border)
GtkPositionType gtk_notebook_get_tab_pos(GtkNotebook *notebook)
void gtk_notebook_set_show_tabs(GtkNotebook *notebook, gboolean show_tabs)
GtkWidget * gtk_notebook_new(void)
void gtk_notebook_remove_page(GtkNotebook *notebook, gint page_num)
void gtk_notebook_set_tab_label_packing(GtkNotebook *notebook, GtkWidget *child, gboolean expand, gboolean fill, GtkPackType pack_type)
GtkNotebook *(* GtkNotebookWindowCreationFunc)(GtkNotebook *source, GtkWidget *page, gint x, gint y, gpointer data)
GtkWidget * gtk_notebook_get_tab_label(GtkNotebook *notebook, GtkWidget *child)
const gchar * gtk_notebook_get_group_name(GtkNotebook *notebook)
gboolean gtk_notebook_get_scrollable(GtkNotebook *notebook)
void gtk_notebook_set_tab_border(GtkNotebook *notebook, guint border_width)
gboolean gtk_notebook_get_tab_detachable(GtkNotebook *notebook, GtkWidget *child)
void gtk_notebook_set_homogeneous_tabs(GtkNotebook *notebook, gboolean homogeneous)
gint gtk_notebook_get_current_page(GtkNotebook *notebook)
gboolean(* select_page)(GtkNotebook *notebook, gboolean move_focus)
gboolean(* focus_tab)(GtkNotebook *notebook, GtkNotebookTab type)
void(* switch_page)(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num)
void(* move_focus_out)(GtkNotebook *notebook, GtkDirectionType direction)
gboolean(* reorder_tab)(GtkNotebook *notebook, GtkDirectionType direction, gboolean move_to_last)
void(* _gtk_reserved1)(void)
gint(* insert_page)(GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label, gint position)
GtkContainerClass parent_class
gboolean(* change_current_page)(GtkNotebook *notebook, gint offset)
GtkNotebookPage * GSEAL(cur_page)
guint16 GSEAL(tab_vborder)
guint16 GSEAL(tab_hborder)
GdkWindow * GSEAL(event_window)