1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkNotebook
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2004-10-11 20:10:52 +00:00
|
|
|
A tabbed notebook container
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
1999-11-16 00:33:10 +00:00
|
|
|
The #GtkNotebook widget is a #GtkContainer whose children are pages that
|
2000-12-11 17:47:24 +00:00
|
|
|
can be switched between using tab labels along one edge.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
There are many configuration options for #GtkNotebook. Among other
|
|
|
|
things, you can choose on which edge the tabs appear
|
|
|
|
(see gtk_notebook_set_tab_pos()), whether, if there are too many
|
2007-11-19 18:59:49 +00:00
|
|
|
tabs to fit the notebook should be made bigger or scrolling
|
2000-12-11 17:47:24 +00:00
|
|
|
arrows added (see gtk_notebook_set_scrollable), and whether there
|
|
|
|
will be a popup menu allowing the users to switch pages.
|
2007-11-19 18:59:49 +00:00
|
|
|
(see gtk_notebook_popup_enable(), gtk_notebook_popup_disable())
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2007-07-01 23:38:07 +00:00
|
|
|
<refsect2 id="GtkNotebook-BUILDER-UI">
|
|
|
|
<title>GtkNotebook as GtkBuildable</title>
|
|
|
|
<para>
|
|
|
|
The GtkNoteboopk implementation of the GtkBuildable interface
|
|
|
|
supports placing children into tabs by specifying "tab" as the
|
2007-07-02 00:52:27 +00:00
|
|
|
"type" attribute of a <child> element. Note that the content
|
2007-07-01 23:38:07 +00:00
|
|
|
of the tab must be created before the tab can be filled.
|
2009-11-09 02:34:29 +00:00
|
|
|
A tab child can be specified without specifying a <child>
|
2007-07-02 00:52:27 +00:00
|
|
|
type attribute.
|
2007-07-01 23:38:07 +00:00
|
|
|
</para>
|
2009-11-09 02:34:29 +00:00
|
|
|
<para>
|
|
|
|
To add a child widget in the notebooks action area, specify
|
|
|
|
"action-start" or "action-end" as the "type" attribute of the <child>
|
|
|
|
element.
|
|
|
|
</para>
|
2007-07-01 23:38:07 +00:00
|
|
|
<example>
|
|
|
|
<title>A UI definition fragment with GtkNotebook</title>
|
|
|
|
<programlisting><![CDATA[
|
|
|
|
<object class="GtkNotebook">
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="notebook-content">
|
|
|
|
<property name="label">Content</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child type="tab">
|
|
|
|
<object class="GtkLabel" id="notebook-tab">
|
|
|
|
<property name="label">Tab</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
]]></programlisting>
|
|
|
|
</example>
|
|
|
|
</refsect2>
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
1999-11-16 00:33:10 +00:00
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>#GtkContainer</term>
|
2007-07-01 23:38:07 +00:00
|
|
|
<listitem><para>For functions that apply to every #GtkContainer</para></listitem>
|
1999-11-16 00:33:10 +00:00
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2005-06-20 22:06:27 +00:00
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
<!-- ##### SECTION Image ##### -->
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### STRUCT GtkNotebook ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### SIGNAL GtkNotebook::change-current-page ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook: the object which received the signal.
|
|
|
|
@arg1:
|
2007-05-24 05:51:56 +00:00
|
|
|
@Returns:
|
2004-07-20 02:26:06 +00:00
|
|
|
|
2007-06-04 17:01:14 +00:00
|
|
|
<!-- ##### SIGNAL GtkNotebook::create-window ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook: the object which received the signal.
|
|
|
|
@widget:
|
|
|
|
@arg1:
|
|
|
|
@arg2:
|
|
|
|
@Returns:
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### SIGNAL GtkNotebook::focus-tab ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkNotebook::move-focus-out ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
|
2006-05-05 16:21:19 +00:00
|
|
|
<!-- ##### SIGNAL GtkNotebook::page-added ##### -->
|
2006-02-23 17:59:33 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook: the object which received the signal.
|
2006-05-05 16:21:19 +00:00
|
|
|
@widget:
|
2006-02-23 17:59:33 +00:00
|
|
|
@arg1:
|
|
|
|
|
2006-05-05 16:21:19 +00:00
|
|
|
<!-- ##### SIGNAL GtkNotebook::page-removed ##### -->
|
2004-07-20 02:26:06 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook: the object which received the signal.
|
2006-05-05 16:21:19 +00:00
|
|
|
@widget:
|
2004-07-20 02:26:06 +00:00
|
|
|
@arg1:
|
|
|
|
|
2006-05-05 16:21:19 +00:00
|
|
|
<!-- ##### SIGNAL GtkNotebook::page-reordered ##### -->
|
2004-07-20 02:26:06 +00:00
|
|
|
<para>
|
2006-05-05 16:21:19 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook: the object which received the signal.
|
2006-05-05 16:21:19 +00:00
|
|
|
@widget:
|
|
|
|
@arg1:
|
2004-07-20 02:26:06 +00:00
|
|
|
|
2006-05-05 16:21:19 +00:00
|
|
|
<!-- ##### SIGNAL GtkNotebook::reorder-tab ##### -->
|
2006-02-23 17:59:33 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook: the object which received the signal.
|
|
|
|
@arg1:
|
2006-06-05 19:33:40 +00:00
|
|
|
@Param3:
|
2007-05-24 05:51:56 +00:00
|
|
|
@Returns:
|
2006-02-23 17:59:33 +00:00
|
|
|
|
2006-05-05 16:21:19 +00:00
|
|
|
<!-- ##### SIGNAL GtkNotebook::select-page ##### -->
|
2006-02-23 17:59:33 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook: the object which received the signal.
|
|
|
|
@arg1:
|
2006-05-05 16:21:19 +00:00
|
|
|
@Returns:
|
2006-02-23 17:59:33 +00:00
|
|
|
|
2006-05-05 16:21:19 +00:00
|
|
|
<!-- ##### SIGNAL GtkNotebook::switch-page ##### -->
|
2006-02-23 17:59:33 +00:00
|
|
|
<para>
|
2006-05-05 16:21:19 +00:00
|
|
|
Emitted when the user or a function changes the current page.
|
2006-02-23 17:59:33 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook: the object which received the signal.
|
2006-05-05 16:21:19 +00:00
|
|
|
@page: the new current page
|
|
|
|
@page_num: the index of the page
|
2006-02-23 17:59:33 +00:00
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkNotebook:enable-popup ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2007-05-24 05:51:56 +00:00
|
|
|
<!-- ##### ARG GtkNotebook:group ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2006-02-23 17:59:33 +00:00
|
|
|
<!-- ##### ARG GtkNotebook:page ##### -->
|
2005-12-20 05:47:43 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkNotebook:scrollable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkNotebook:show-border ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkNotebook:show-tabs ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkNotebook:tab-pos ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2006-02-23 17:59:33 +00:00
|
|
|
<!-- ##### ARG GtkNotebook:detachable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkNotebook:menu-label ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkNotebook:position ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2006-02-23 17:59:33 +00:00
|
|
|
<!-- ##### ARG GtkNotebook:reorderable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkNotebook:tab-expand ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkNotebook:tab-fill ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkNotebook:tab-label ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkNotebook:tab-pack ##### -->
|
|
|
|
<para>
|
2009-10-21 16:25:02 +00:00
|
|
|
Deprecated: 2.20: The tab packing functionality of children should not
|
|
|
|
be used anymore and support will be removed in the future.
|
2004-07-20 02:26:06 +00:00
|
|
|
</para>
|
|
|
|
|
2006-05-17 00:33:57 +00:00
|
|
|
<!-- ##### ARG GtkNotebook:arrow-spacing ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-07-20 02:26:06 +00:00
|
|
|
<!-- ##### ARG GtkNotebook:has-backward-stepper ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkNotebook:has-forward-stepper ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkNotebook:has-secondary-backward-stepper ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkNotebook:has-secondary-forward-stepper ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2006-02-23 17:59:33 +00:00
|
|
|
<!-- ##### ARG GtkNotebook:tab-curvature ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkNotebook:tab-overlap ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### STRUCT GtkNotebookPage ##### -->
|
|
|
|
<para>
|
2000-12-11 17:47:24 +00:00
|
|
|
The #GtkNotebookPage is an opaque implementation detail of #GtkNotebook.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_notebook_new ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
@void:
|
2000-12-11 17:47:24 +00:00
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_append_page ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@tab_label:
|
2004-01-22 06:48:20 +00:00
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_append_page_menu ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@tab_label:
|
|
|
|
@menu_label:
|
2004-01-22 06:48:20 +00:00
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_prepend_page ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@child: the
|
|
|
|
@tab_label:
|
2004-01-22 06:48:20 +00:00
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_prepend_page_menu ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2000-12-11 17:47:24 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
2001-01-09 16:41:17 +00:00
|
|
|
@tab_label:
|
|
|
|
@menu_label:
|
2004-01-22 06:48:20 +00:00
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_insert_page ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@tab_label:
|
|
|
|
@position:
|
2004-01-22 06:48:20 +00:00
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_insert_page_menu ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@tab_label:
|
2000-12-11 17:47:24 +00:00
|
|
|
@menu_label:
|
2001-01-09 16:41:17 +00:00
|
|
|
@position:
|
2004-01-22 06:48:20 +00:00
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_remove_page ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2000-12-11 17:47:24 +00:00
|
|
|
@notebook:
|
2001-01-09 16:41:17 +00:00
|
|
|
@page_num:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_page_num ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_next_page ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_prev_page ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_reorder_child ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@position:
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_tab_pos ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
1999-11-16 00:33:10 +00:00
|
|
|
@notebook: the notebook widget
|
|
|
|
@pos: the position
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_show_tabs ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@show_tabs:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_show_border ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@show_border:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_scrollable ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@scrollable:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_popup_enable ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_popup_disable ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_current_page ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
1999-11-16 00:33:10 +00:00
|
|
|
@notebook: the notebook widget
|
|
|
|
@Returns: the page number
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_menu_label ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2000-12-11 17:47:24 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_nth_page ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@page_num:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
Documentation fixes.
Sun Oct 13 18:50:14 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c,
gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml,
gtktreemodel.sgml,gtktable.sgml, gtktable.c:
Documentation fixes.
#85719, #90759, #95169, Owen Taylor;
#89221, Yao Zhang, Matthias Clasen;
#95592, Joost Faassen;
#92637, Vitaly Tishkov;
#94616, Ben Martin;
#94772, sbaillie@bigpond.net.au;
2002-10-13 17:17:14 +00:00
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_n_pages ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_tab_label ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_query_tab_label_packing ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@expand:
|
|
|
|
@fill:
|
|
|
|
@pack_type:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_menu_label ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2000-12-11 17:47:24 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@menu_label:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_menu_label_text ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@menu_text:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_tab_label ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2000-12-11 17:47:24 +00:00
|
|
|
@notebook:
|
2001-01-09 16:41:17 +00:00
|
|
|
@child:
|
|
|
|
@tab_label:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_tab_label_packing ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2000-12-11 17:47:24 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
2001-01-09 16:41:17 +00:00
|
|
|
@expand:
|
2000-12-11 17:47:24 +00:00
|
|
|
@fill:
|
2001-01-09 16:41:17 +00:00
|
|
|
@pack_type:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_tab_label_text ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2000-12-11 17:47:24 +00:00
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@tab_text:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
2006-02-23 17:59:33 +00:00
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_tab_reorderable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@reorderable:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_tab_detachable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@child:
|
2006-05-05 16:21:19 +00:00
|
|
|
@detachable:
|
2006-02-23 17:59:33 +00:00
|
|
|
|
|
|
|
|
2001-09-08 06:24:46 +00:00
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_menu_label_text ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_scrollable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_show_border ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_show_tabs ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_tab_label_text ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_tab_pos ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2006-02-23 17:59:33 +00:00
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_tab_reorderable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_tab_detachable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@child:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-09-08 06:24:46 +00:00
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_current_page ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@page_num:
|
|
|
|
|
|
|
|
|
2007-05-24 05:51:56 +00:00
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_group ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@group:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_group ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2010-01-11 18:57:21 +00:00
|
|
|
<!-- ##### FUNCTION gtk_notebook_set_action_widget ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@widget:
|
|
|
|
@pack_type:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_notebook_get_action_widget ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@notebook:
|
|
|
|
@pack_type:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2006-02-23 17:59:33 +00:00
|
|
|
<!-- ##### 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:
|
2006-06-13 05:15:01 +00:00
|
|
|
@destroy:
|
2006-02-23 17:59:33 +00:00
|
|
|
|
|
|
|
|