Devhelp.Notebook¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Notebook (45), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gtk.Notebook (10), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Fields¶
- Inherited:
Gtk.Notebook (10), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Devhelp.Notebook(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(profile)¶
- Parameters:
profile (
Devhelp.Profile
orNone
) – aDevhelp.Profile
, orNone
for the default profile.- Returns:
a new
Devhelp.Notebook
.- Return type:
New in version 3.30.
- get_active_tab()¶
- Returns:
the
Devhelp.Tab
currently shown in self.- Return type:
Devhelp.Tab
orNone
New in version 3.30.
- get_active_web_view()¶
- Returns:
the
Devhelp.WebView
of the active tab.- Return type:
New in version 3.30.
- get_all_web_views()¶
- Returns:
a
GLib.List
of allDevhelp.WebView
's contained in self.- Return type:
New in version 3.30.
- get_profile()¶
- Returns:
the
Devhelp.Notebook
:profile
.- Return type:
New in version 3.30.
- open_new_tab(uri, switch_focus)¶
- Parameters:
uri (
str
orNone
) – the URI to open, orNone
for a blank page.switch_focus (
bool
) – whether to callGtk.Notebook.set_current_page
() on the new tab.
Creates a new
Devhelp.Tab
andDevhelp.TabLabel
and appends them to theGtk.Notebook
.The
Devhelp.WebView
will have the sameDevhelp.Profile
as self.New in version 3.30.
Property Details¶
- Devhelp.Notebook.props.profile¶
- Name:
profile
- Type:
- Default Value:
- Flags:
The
Devhelp.Profile
. If set toNone
, the default profile as returned byDevhelp.Profile.get_default
() is used.New in version 3.30.