| Top |
DhNotebookDhNotebook — Subclass of GtkNotebook |
| DhNotebook * | dh_notebook_new () |
| DhProfile * | dh_notebook_get_profile () |
| void | dh_notebook_open_new_tab () |
| DhTab * | dh_notebook_get_active_tab () |
| DhWebView * | dh_notebook_get_active_web_view () |
| GList * | dh_notebook_get_all_web_views () |
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkNotebook
╰── DhNotebook
DhNotebook is a subclass of GtkNotebook. The content of the tabs are DhTab's, and the tab labels are DhTabLabel's.
DhNotebook handles the “open-new-tab” signal by appending a new DhTab.
void dh_notebook_open_new_tab (DhNotebook *notebook,const gchar *uri,gboolean switch_focus);
Creates a new DhTab and DhTabLabel and appends them to the GtkNotebook.
The DhWebView will have the same DhProfile as notebook
.
notebook |
a DhNotebook. |
|
uri |
the URI to open, or |
[nullable] |
switch_focus |
whether to call |
Since: 3.30
DhTab *
dh_notebook_get_active_tab (DhNotebook *notebook);
Since: 3.30
DhWebView *
dh_notebook_get_active_web_view (DhNotebook *notebook);
Since: 3.30
GList *
dh_notebook_get_all_web_views (DhNotebook *notebook);
a GList of all
DhWebView's contained in notebook
.
[transfer container][element-type DhWebView]
Since: 3.30
“profile” property“profile” DhProfile *
The DhProfile. If set to NULL, the default profile as returned by
dh_profile_get_default() is used.
Owner: DhNotebook
Flags: Read / Write / Construct Only
Since: 3.30