Gtk.NotebookPage

g GObject.Object GObject.Object Gtk.NotebookPage Gtk.NotebookPage GObject.Object->Gtk.NotebookPage

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_child ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

child

Gtk.Widget

r/w/co

detachable

bool

r/w/en

menu

Gtk.Widget

r/w/co

menu-label

str

r/w

position

int

r/w

reorderable

bool

r/w/en

tab

Gtk.Widget

r/w/co

tab-expand

bool

r/w/en

tab-fill

bool

r/w/en

tab-label

str

r/w

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Gtk.NotebookPage(**kwargs)
Bases:

GObject.Object

Abstract:

No

GtkNotebookPage is an auxiliary object used by GtkNotebook.

get_child()[source]
Returns:

the child to which self belongs

Return type:

Gtk.Widget

Returns the notebook child to which self belongs.

Property Details

Gtk.NotebookPage.props.child
Name:

child

Type:

Gtk.Widget

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The child for this page.

Gtk.NotebookPage.props.detachable
Name:

detachable

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Whether the tab is detachable.

Gtk.NotebookPage.props.menu
Name:

menu

Type:

Gtk.Widget

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The label widget displayed in the child’s menu entry.

Gtk.NotebookPage.props.menu_label
Name:

menu-label

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The text of the menu widget.

Gtk.NotebookPage.props.position
Name:

position

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

The index of the child in the parent.

Gtk.NotebookPage.props.reorderable
Name:

reorderable

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Whether the tab is reorderable by user action.

Gtk.NotebookPage.props.tab
Name:

tab

Type:

Gtk.Widget

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The tab widget for this page.

Gtk.NotebookPage.props.tab_expand
Name:

tab-expand

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Whether to expand the child’s tab.

Gtk.NotebookPage.props.tab_fill
Name:

tab-fill

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Whether the child’s tab should fill the allocated area.

Gtk.NotebookPage.props.tab_label
Name:

tab-label

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The text of the tab widget.