| libgpephone Reference Manual | ||||
|---|---|---|---|---|
GpeSKTabs;
GtkWidget* gpe_sktabs_new (GpeSKWindow *skwindow);
void gpe_sktabs_append_page_with_menus
(GpeSKTabs *self,
GtkWidget *tablabel,
GtkWidget *content,
...);
void gpe_sktabs_update_page_menus (GpeSKTabs *self,
gint pagenum,
...);
Tabbed widget which provides multiple application views like a GtkNotebook but with support for a softkey definition for each view/tab. It is intended to be used with GpeSKWindow.
GtkWidget* gpe_sktabs_new (GpeSKWindow *skwindow);
Create a new GpeSKTabs instance.
skwindow : |
A GpeSKWindow to be used. |
| Returns : | A new GpeSKTabs instance. |
void gpe_sktabs_append_page_with_menus
(GpeSKTabs *self,
GtkWidget *tablabel,
GtkWidget *content,
...);
This function appends a new page view to a GpeSKTabs widget.
The tablabel argument may be NULL if the tabs are not visible.
The variable parameters are a null-terminated list of label text (gchar*)
and menu widget (GtkWidget*) items. You supply them in the native order
of the available softkeys.
self : |
A GpeSKTabs instance |
tablabel : |
A widget used as a label for tab decoration. |
content : |
Tab contents - usually a container widget. |
... : |
Label text / menu widget pairs. |
void gpe_sktabs_update_page_menus (GpeSKTabs *self, gint pagenum, ...);
Modifies the softkey menues and labels assigned to a tab page of a GpeSKTabs widget. The variable parameters are a null-terminated list of label text (gchar*) and menu widget (GtkWidget*) items. You supply them in the native order of the available softkeys.
self : |
A GpeSKTabs instance |
pagenum : |
|
... : |
Label text / menu widget pairs. |