Method
AdapTabViewadd_page
Declaration [src]
AdapTabPage*
adap_tab_view_add_page (
AdapTabView* self,
GtkWidget* child,
AdapTabPage* parent
)
Description [src]
Adds child to self with parent as the parent.
This function can be used to automatically position new pages, and to select
the correct page when this page is closed while being selected (see
adap_tab_view_close_page()).
If parent is NULL, this function is equivalent to adap_tab_view_append().
Parameters
child-
Type:
GtkWidgetA widget to add.
The data is owned by the caller of the method. parent-
Type:
AdapTabPageA parent page for
child.The argument can be NULL.The data is owned by the caller of the method.
Return value
Type: AdapTabPage
The page object representing child.
| The returned data is owned by the instance. |