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.ProfileorNone) – aDevhelp.Profile, orNonefor the default profile.- Returns:
a new
Devhelp.Notebook.- Return type:
New in version 3.30.
- get_active_tab()¶
- Returns:
the
Devhelp.Tabcurrently shown in self.- Return type:
Devhelp.TaborNone
New in version 3.30.
- get_active_web_view()¶
- Returns:
the
Devhelp.WebViewof the active tab.- Return type:
New in version 3.30.
- get_all_web_views()¶
- Returns:
a
GLib.Listof 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 (
strorNone) – the URI to open, orNonefor a blank page.switch_focus (
bool) – whether to callGtk.Notebook.set_current_page() on the new tab.
Creates a new
Devhelp.TabandDevhelp.TabLabeland appends them to theGtk.Notebook.The
Devhelp.WebViewwill have the sameDevhelp.Profileas 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.