GtkNotebook
A tabbed notebook container
The #GtkNotebook widget is a #GtkContainer whose children are pages that
can be switched between using tab labels along one edge.
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
tabs to fit the noteobook should be made bigger or scrolling
arrows added (see gtk_notebook_set_scrollable), and whether there
will be a popup menu allowing the users to switch pages.
(see gtk_notebook_enable_popup(), gtk_noteobook_disable_popup())
GtkNotebook as GtkBuildable
The GtkNoteboopk implementation of the GtkBuildable interface
supports placing children into tabs by specifying "tab" as the
"type" attribute of a <child> element. Note that the content
of the tab must be created before the tab can be filled.
A tab child can be specified without specifying a <child>
type attribute.
A UI definition fragment with GtkNotebook
]]>#GtkContainerFor functions that apply to every #GtkContainer
@notebook: the object which received the signal.
@arg1:
@Returns:
@notebook: the object which received the signal.
@widget:
@arg1:
@arg2:
@Returns:
@notebook: the object which received the signal.
@arg1:
@Returns:
@notebook: the object which received the signal.
@arg1:
@notebook: the object which received the signal.
@widget:
@arg1:
@notebook: the object which received the signal.
@widget:
@arg1:
@notebook: the object which received the signal.
@widget:
@arg1:
@notebook: the object which received the signal.
@arg1:
@Param3:
@Returns:
@notebook: the object which received the signal.
@arg1:
@Returns:
Emitted when the user or a function changes the current page.
@notebook: the object which received the signal.
@page: the new current page
@page_num: the index of the page
The #GtkNotebookPage is an opaque implementation detail of #GtkNotebook.
@Returns:
@notebook:
@child:
@tab_label:
@Returns:
@notebook:
@child:
@tab_label:
@menu_label:
@Returns:
@notebook:
@child: the
@tab_label:
@Returns:
@notebook:
@child:
@tab_label:
@menu_label:
@Returns:
@notebook:
@child:
@tab_label:
@position:
@Returns:
@notebook:
@child:
@tab_label:
@menu_label:
@position:
@Returns:
@notebook:
@page_num:
Deprecated compatibility macro. Use
gtk_notebook_get_current_page() instead.
@notebook:
@child:
@Returns:
Deprecated compatibility macro. Use
gtk_notebook_set_current_page() instead.
@notebook:
@notebook:
@notebook:
@child:
@position:
@notebook: the notebook widget
@pos: the position
@notebook:
@show_tabs:
@notebook:
@show_border:
@notebook:
@scrollable:
@notebook:
@border_width:
@notebook:
@notebook:
@notebook: the notebook widget
@Returns: the page number
@notebook:
@child:
@Returns:
@notebook:
@page_num:
@Returns:
@notebook:
@Returns:
@notebook:
@child:
@Returns:
@notebook:
@child:
@expand:
@fill:
@pack_type:
@notebook:
@homogeneous:
@notebook:
@child:
@menu_label:
@notebook:
@child:
@menu_text:
@notebook:
@tab_hborder:
@notebook:
@child:
@tab_label:
@notebook:
@child:
@expand:
@fill:
@pack_type:
@notebook:
@child:
@tab_text:
@notebook:
@tab_vborder:
@notebook:
@child:
@reorderable:
@notebook:
@child:
@detachable:
@notebook:
@child:
@Returns:
@notebook:
@Returns:
@notebook:
@Returns:
@notebook:
@Returns:
@notebook:
@child:
@Returns:
@notebook:
@Returns:
@notebook:
@child:
@Returns:
@notebook:
@child:
@Returns:
@notebook:
@page_num:
@notebook:
@group_id:
@notebook:
@Returns:
@notebook:
@group:
@notebook:
@Returns:
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.
@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
@func:
@data:
@destroy: