diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-02-23 17:59:33 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-02-23 17:59:33 +0000 |
commit | 2bec6c3f7ea0d9e04c17a9dded750f041a114ae8 (patch) | |
tree | a6a1d832dc00a7cb55f899e6057c5ffedb8eb14d /docs | |
parent | 6560be3bc81470b22a6e717681a7dedb43474bed (diff) | |
download | gdk-pixbuf-2bec6c3f7ea0d9e04c17a9dded750f041a114ae8.tar.gz |
Add a reorder_tab keynav signal and an insert_page vfunc to GtkNotebook.
2006-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.h: Add a reorder_tab keynav signal and an
insert_page vfunc to GtkNotebook.
* gtk/gtk.symbols:
* gtk/gtknotebook.c: Support notebook DND. New API includes
gtk_notebook_set_window_creation_hook,
gtk_notebook_[gs]et_group_id,
gtk_notebook_[gs]et_tab_reorderable,
gtk_notebook_[gs]et_tab_detachable (#73240, Carlos Garnacho)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/ChangeLog | 5 | ||||
-rw-r--r-- | docs/reference/gtk/gtk-sections.txt | 8 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtknotebook.sgml | 148 |
3 files changed, 158 insertions, 3 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 1de56683a..c5eccc598 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2006-02-23 Matthias Clasen <mclasen@redhat.com> + + * gtk/gtk-sections.txt: + * gtk/tmpl/gtknotebook.sgml: Additions + 2006-02-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtk-sections.txt: Additions. diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt index c6d9210c6..59657d5fd 100644 --- a/docs/reference/gtk/gtk-sections.txt +++ b/docs/reference/gtk/gtk-sections.txt @@ -2390,13 +2390,21 @@ gtk_notebook_set_tab_label gtk_notebook_set_tab_label_packing gtk_notebook_set_tab_label_text gtk_notebook_set_tab_vborder +gtk_notebook_set_tab_reorderable +gtk_notebook_set_tab_detachable gtk_notebook_get_menu_label_text gtk_notebook_get_scrollable gtk_notebook_get_show_border gtk_notebook_get_show_tabs gtk_notebook_get_tab_label_text gtk_notebook_get_tab_pos +gtk_notebook_get_tab_reorderable +gtk_notebook_get_tab_detachable gtk_notebook_set_current_page +gtk_notebook_set_group_id +gtk_notebook_get_group_id +GtkNotebookWindowCreationFunc +gtk_notebook_set_window_creation_hook <SUBSECTION Standard> GTK_NOTEBOOK GTK_IS_NOTEBOOK diff --git a/docs/reference/gtk/tmpl/gtknotebook.sgml b/docs/reference/gtk/tmpl/gtknotebook.sgml index 8f9691c62..62ed2c170 100644 --- a/docs/reference/gtk/tmpl/gtknotebook.sgml +++ b/docs/reference/gtk/tmpl/gtknotebook.sgml @@ -66,6 +66,15 @@ will be a popup menu allowing the users to switch pages. @notebook: the object which received the signal. @arg1: +<!-- ##### SIGNAL GtkNotebook::reorder-tab ##### --> +<para> + +</para> + +@notebook: the object which received the signal. +@arg1: +@: + <!-- ##### SIGNAL GtkNotebook::select-page ##### --> <para> @@ -84,22 +93,49 @@ Emitted when the user or a function changes the current page. @page: the new current page @page_num: the index of the page +<!-- ##### SIGNAL GtkNotebook::tab-added ##### --> +<para> + +</para> + +@notebook: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkNotebook::tab-removed ##### --> +<para> + +</para> + +@notebook: the object which received the signal. +@arg1: +@arg2: + +<!-- ##### SIGNAL GtkNotebook::tab-reordered ##### --> +<para> + +</para> + +@notebook: the object which received the signal. +@arg1: +@arg2: + <!-- ##### ARG GtkNotebook:enable-popup ##### --> <para> </para> -<!-- ##### ARG GtkNotebook:homogeneous ##### --> +<!-- ##### ARG GtkNotebook:group-id ##### --> <para> </para> -<!-- ##### ARG GtkNotebook:page ##### --> +<!-- ##### ARG GtkNotebook:homogeneous ##### --> <para> </para> -<!-- ##### ARG GtkNotebook:reorderable ##### --> +<!-- ##### ARG GtkNotebook:page ##### --> <para> </para> @@ -139,6 +175,11 @@ Emitted when the user or a function changes the current page. </para> +<!-- ##### ARG GtkNotebook:detachable ##### --> +<para> + +</para> + <!-- ##### ARG GtkNotebook:menu-label ##### --> <para> @@ -149,6 +190,11 @@ Emitted when the user or a function changes the current page. </para> +<!-- ##### ARG GtkNotebook:reorderable ##### --> +<para> + +</para> + <!-- ##### ARG GtkNotebook:tab-expand ##### --> <para> @@ -189,6 +235,16 @@ Emitted when the user or a function changes the current page. </para> +<!-- ##### ARG GtkNotebook:tab-curvature ##### --> +<para> + +</para> + +<!-- ##### ARG GtkNotebook:tab-overlap ##### --> +<para> + +</para> + <!-- ##### STRUCT GtkNotebookPage ##### --> <para> The #GtkNotebookPage is an opaque implementation detail of #GtkNotebook. @@ -503,6 +559,26 @@ gtk_notebook_set_current_page() instead. @tab_vborder: +<!-- ##### FUNCTION gtk_notebook_set_tab_reorderable ##### --> +<para> + +</para> + +@notebook: +@child: +@reorderable: + + +<!-- ##### FUNCTION gtk_notebook_set_tab_detachable ##### --> +<para> + +</para> + +@notebook: +@child: +@reorderable: + + <!-- ##### FUNCTION gtk_notebook_get_menu_label_text ##### --> <para> @@ -559,6 +635,26 @@ gtk_notebook_set_current_page() instead. @Returns: +<!-- ##### FUNCTION gtk_notebook_get_tab_reorderable ##### --> +<para> + +</para> + +@notebook: +@child: +@Returns: + + +<!-- ##### FUNCTION gtk_notebook_get_tab_detachable ##### --> +<para> + +</para> + +@notebook: +@child: +@Returns: + + <!-- ##### FUNCTION gtk_notebook_set_current_page ##### --> <para> @@ -568,3 +664,49 @@ gtk_notebook_set_current_page() instead. @page_num: +<!-- ##### FUNCTION gtk_notebook_set_group_id ##### --> +<para> + +</para> + +@notebook: +@group_id: + + +<!-- ##### FUNCTION gtk_notebook_get_group_id ##### --> +<para> + +</para> + +@notebook: +@Returns: + + +<!-- ##### USER_FUNCTION GtkNotebookWindowCreationFunc ##### --> +<para> +A function used by GtkNotebook when a detachable tab is dropped +in the root window, it's used to create a window containing a notebook +where the tab will be attached. This function will also be responsible +of moving/resizing the window and adding the necessary properties to +the notebook (i.e.: group-id). + +If the function returns %NULL, the drag will be cancelled. +</para> + +@source: The source #GtkNotebook of the drag operation +@page: the child #GtkWidget affected +@x: the X coordinate where the drop happens +@y: the Y coordinate where the drop happens +@data: user data +@Returns: The created #GtkNotebook where the tab will be attached, or NULL to cancel the drag + + +<!-- ##### FUNCTION gtk_notebook_set_window_creation_hook ##### --> +<para> + +</para> + +@func: +@data: + + |