Devhelp.Notebook

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget Devhelp.Notebook Devhelp.Notebook GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Notebook Gtk.Notebook Gtk.Container->Gtk.Notebook Gtk.Notebook->Devhelp.Notebook Gtk.Widget->Gtk.Container

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

new (profile)

get_active_tab ()

get_active_web_view ()

get_all_web_views ()

get_profile ()

open_new_tab (uri, switch_focus)

Virtual Methods

Inherited:

Gtk.Notebook (10), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Notebook (7), Gtk.Container (3), Gtk.Widget (39)

Name

Type

Flags

Short Description

profile

Devhelp.Profile

r/w/co

Child Properties

Inherited:

Gtk.Notebook (7)

Style Properties

Inherited:

Gtk.Notebook (9), Gtk.Widget (17)

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

Gtk.Notebook

r

Class Details

class Devhelp.Notebook(**kwargs)
Bases:

Gtk.Notebook

Abstract:

No

Structure:

Devhelp.NotebookClass

classmethod new(profile)
Parameters:

profile (Devhelp.Profile or None) – a Devhelp.Profile, or None for the default profile.

Returns:

a new Devhelp.Notebook.

Return type:

Devhelp.Notebook

New in version 3.30.

get_active_tab()
Returns:

the Devhelp.Tab currently shown in self.

Return type:

Devhelp.Tab or None

New in version 3.30.

get_active_web_view()
Returns:

the Devhelp.WebView of the active tab.

Return type:

Devhelp.WebView or None

New in version 3.30.

get_all_web_views()
Returns:

a GLib.List of all Devhelp.WebView's contained in self.

Return type:

[Devhelp.WebView]

New in version 3.30.

get_profile()
Returns:

the Devhelp.Notebook :profile.

Return type:

Devhelp.Profile

New in version 3.30.

open_new_tab(uri, switch_focus)
Parameters:

Creates a new Devhelp.Tab and Devhelp.TabLabel and appends them to the Gtk.Notebook.

The Devhelp.WebView will have the same Devhelp.Profile as self.

New in version 3.30.

Property Details

Devhelp.Notebook.props.profile
Name:

profile

Type:

Devhelp.Profile

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The Devhelp.Profile. If set to None, the default profile as returned by Devhelp.Profile.get_default() is used.

New in version 3.30.