Skip to content

Gtk.NotebookPage

class — extends GObject.Object

An auxiliary object used by GtkNotebook.

Methods

get_child

def get_child(self) -> Widget

Returns the notebook child to which page belongs.

Properties

child

child: Widget  # read/write

The child for this page.

detachable

detachable: bool  # read/write

Whether the tab is detachable.

menu

menu: Widget  # read/write

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

menu_label

menu_label: str  # read/write

The text of the menu widget.

position

position: int  # read/write

The index of the child in the parent.

reorderable

reorderable: bool  # read/write

Whether the tab is reorderable by user action.

tab

tab: Widget  # read/write

The tab widget for this page.

tab_expand

tab_expand: bool  # read/write

Whether to expand the child's tab.

tab_fill

tab_fill: bool  # read/write

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

tab_label

tab_label: str  # read/write

The text of the tab widget.