:right-sidebar: True NotebookPage =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: NotebookPage(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.GObject.Object` ``GtkNotebookPage`` is an auxiliary object used by ``GtkNotebook``. Methods ------- .. rst-class:: interim-class .. class:: NotebookPage :no-index: .. method:: get_child() -> ~gi.repository.Gtk.Widget Returns the notebook child to which ``page`` belongs. Properties ---------- .. rst-class:: interim-class .. class:: NotebookPage :no-index: .. attribute:: props.child :type: ~gi.repository.Gtk.Widget The child for this page. .. attribute:: props.detachable :type: bool Whether the tab is detachable. .. attribute:: props.menu :type: ~gi.repository.Gtk.Widget The label widget displayed in the child's menu entry. .. attribute:: props.menu_label :type: str The text of the menu widget. .. attribute:: props.position :type: int The index of the child in the parent. .. attribute:: props.reorderable :type: bool Whether the tab is reorderable by user action. .. attribute:: props.tab :type: ~gi.repository.Gtk.Widget The tab widget for this page. .. attribute:: props.tab_expand :type: bool Whether to expand the child's tab. .. attribute:: props.tab_fill :type: bool Whether the child's tab should fill the allocated area. .. attribute:: props.tab_label :type: str The text of the tab widget.