summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-03-20 18:17:32 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-05-05 15:38:47 -0400
commit20c8c8b91cf2719249a729492ec84b7282dc03fb (patch)
treed53cf50689bceedbea093895d0e51a7c204cef76 /gtk/gtknotebook.h
parent8470eb84c080718120b5daf130db744bf6ec220b (diff)
downloadgtk+-20c8c8b91cf2719249a729492ec84b7282dc03fb.tar.gz
Add annotations to gtk headers
Add annotations to all exported functions in GTK+ headers.
Diffstat (limited to 'gtk/gtknotebook.h')
-rw-r--r--gtk/gtknotebook.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h
index a0fea568e7..dd32066df8 100644
--- a/gtk/gtknotebook.h
+++ b/gtk/gtknotebook.h
@@ -122,31 +122,40 @@ struct _GtkNotebookClass
* Creation, insertion, deletion *
***********************************************************/
+GDK_AVAILABLE_IN_ALL
GType gtk_notebook_get_type (void) G_GNUC_CONST;
+GDK_AVAILABLE_IN_ALL
GtkWidget * gtk_notebook_new (void);
+GDK_AVAILABLE_IN_ALL
gint gtk_notebook_append_page (GtkNotebook *notebook,
GtkWidget *child,
GtkWidget *tab_label);
+GDK_AVAILABLE_IN_ALL
gint gtk_notebook_append_page_menu (GtkNotebook *notebook,
GtkWidget *child,
GtkWidget *tab_label,
GtkWidget *menu_label);
+GDK_AVAILABLE_IN_ALL
gint gtk_notebook_prepend_page (GtkNotebook *notebook,
GtkWidget *child,
GtkWidget *tab_label);
+GDK_AVAILABLE_IN_ALL
gint gtk_notebook_prepend_page_menu (GtkNotebook *notebook,
GtkWidget *child,
GtkWidget *tab_label,
GtkWidget *menu_label);
+GDK_AVAILABLE_IN_ALL
gint gtk_notebook_insert_page (GtkNotebook *notebook,
GtkWidget *child,
GtkWidget *tab_label,
gint position);
+GDK_AVAILABLE_IN_ALL
gint gtk_notebook_insert_page_menu (GtkNotebook *notebook,
GtkWidget *child,
GtkWidget *tab_label,
GtkWidget *menu_label,
gint position);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_remove_page (GtkNotebook *notebook,
gint page_num);
@@ -154,8 +163,10 @@ void gtk_notebook_remove_page (GtkNotebook *notebook,
* Tabs drag and drop *
***********************************************************/
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_group_name (GtkNotebook *notebook,
const gchar *group_name);
+GDK_AVAILABLE_IN_ALL
const gchar *gtk_notebook_get_group_name (GtkNotebook *notebook);
@@ -164,83 +175,117 @@ const gchar *gtk_notebook_get_group_name (GtkNotebook *notebook);
* query, set current NotebookPage *
***********************************************************/
+GDK_AVAILABLE_IN_ALL
gint gtk_notebook_get_current_page (GtkNotebook *notebook);
+GDK_AVAILABLE_IN_ALL
GtkWidget* gtk_notebook_get_nth_page (GtkNotebook *notebook,
gint page_num);
+GDK_AVAILABLE_IN_ALL
gint gtk_notebook_get_n_pages (GtkNotebook *notebook);
+GDK_AVAILABLE_IN_ALL
gint gtk_notebook_page_num (GtkNotebook *notebook,
GtkWidget *child);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_current_page (GtkNotebook *notebook,
gint page_num);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_next_page (GtkNotebook *notebook);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_prev_page (GtkNotebook *notebook);
/***********************************************************
* set Notebook, NotebookTab style *
***********************************************************/
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_show_border (GtkNotebook *notebook,
gboolean show_border);
+GDK_AVAILABLE_IN_ALL
gboolean gtk_notebook_get_show_border (GtkNotebook *notebook);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_show_tabs (GtkNotebook *notebook,
gboolean show_tabs);
+GDK_AVAILABLE_IN_ALL
gboolean gtk_notebook_get_show_tabs (GtkNotebook *notebook);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_tab_pos (GtkNotebook *notebook,
GtkPositionType pos);
+GDK_AVAILABLE_IN_ALL
GtkPositionType gtk_notebook_get_tab_pos (GtkNotebook *notebook);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_scrollable (GtkNotebook *notebook,
gboolean scrollable);
+GDK_AVAILABLE_IN_ALL
gboolean gtk_notebook_get_scrollable (GtkNotebook *notebook);
+GDK_AVAILABLE_IN_ALL
guint16 gtk_notebook_get_tab_hborder (GtkNotebook *notebook);
+GDK_AVAILABLE_IN_ALL
guint16 gtk_notebook_get_tab_vborder (GtkNotebook *notebook);
/***********************************************************
* enable/disable PopupMenu *
***********************************************************/
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_popup_enable (GtkNotebook *notebook);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_popup_disable (GtkNotebook *notebook);
/***********************************************************
* query/set NotebookPage Properties *
***********************************************************/
+GDK_AVAILABLE_IN_ALL
GtkWidget * gtk_notebook_get_tab_label (GtkNotebook *notebook,
GtkWidget *child);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_tab_label (GtkNotebook *notebook,
GtkWidget *child,
GtkWidget *tab_label);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_tab_label_text (GtkNotebook *notebook,
GtkWidget *child,
const gchar *tab_text);
+GDK_AVAILABLE_IN_ALL
const gchar * gtk_notebook_get_tab_label_text (GtkNotebook *notebook,
GtkWidget *child);
+GDK_AVAILABLE_IN_ALL
GtkWidget * gtk_notebook_get_menu_label (GtkNotebook *notebook,
GtkWidget *child);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_menu_label (GtkNotebook *notebook,
GtkWidget *child,
GtkWidget *menu_label);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_menu_label_text (GtkNotebook *notebook,
GtkWidget *child,
const gchar *menu_text);
+GDK_AVAILABLE_IN_ALL
const gchar * gtk_notebook_get_menu_label_text (GtkNotebook *notebook,
GtkWidget *child);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_reorder_child (GtkNotebook *notebook,
GtkWidget *child,
gint position);
+GDK_AVAILABLE_IN_ALL
gboolean gtk_notebook_get_tab_reorderable (GtkNotebook *notebook,
GtkWidget *child);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_tab_reorderable (GtkNotebook *notebook,
GtkWidget *child,
gboolean reorderable);
+GDK_AVAILABLE_IN_ALL
gboolean gtk_notebook_get_tab_detachable (GtkNotebook *notebook,
GtkWidget *child);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_tab_detachable (GtkNotebook *notebook,
GtkWidget *child,
gboolean detachable);
+GDK_AVAILABLE_IN_ALL
GtkWidget* gtk_notebook_get_action_widget (GtkNotebook *notebook,
GtkPackType pack_type);
+GDK_AVAILABLE_IN_ALL
void gtk_notebook_set_action_widget (GtkNotebook *notebook,
GtkWidget *widget,
GtkPackType pack_type);