gtk.notebook_page
Module for [NotebookPage] class
Types 3
[gtk.notebook_page.NotebookPage] is an auxiliary object used by [gtk.notebook.Notebook].
Methods
NotebookPage self()Returns `this`, for use in `with` statements.NotebookPageGidBuilder builder()Get builder for [gtk.notebook_page.NotebookPage] Returns: New builder objectvoid detachable(bool propval) @propertySet `detachable` property. Params: propval = Whether the tab is detachable.gtk.widget.Widget menu() @propertyGet `menu` property. Returns: The label widget displayed in the child's menu entry.void menuLabel(string propval) @propertySet `menuLabel` property. Params: propval = The text of the menu widget.void position(int propval) @propertySet `position` property. Params: propval = The index of the child in the parent.bool reorderable() @propertyGet `reorderable` property. Returns: Whether the tab is reorderable by user action.void reorderable(bool propval) @propertySet `reorderable` property. Params: propval = Whether the tab is reorderable by user action.void tabExpand(bool propval) @propertySet `tabExpand` property. Params: propval = Whether to expand the child's tab.bool tabFill() @propertyGet `tabFill` property. Returns: Whether the child's tab should fill the allocated area.void tabFill(bool propval) @propertySet `tabFill` property. Params: propval = Whether the child's tab should fill the allocated area.void tabLabel(string propval) @propertySet `tabLabel` property. Params: propval = The text of the tab widget.gtk.widget.Widget getChild()Returns the notebook child to which page belongs. Returns: the child to which page belongsMethods
T child(gtk.widget.Widget propval)Set `child` property. Params: propval = The child for this page. Returns: Builder instance for fluent chainingT detachable(bool propval)Set `detachable` property. Params: propval = Whether the tab is detachable. Returns: Builder instance for fluent chainingT menu(gtk.widget.Widget propval)Set `menu` property. Params: propval = The label widget displayed in the child's menu entry. Returns: Builder instance for fluent chainingT menuLabel(string propval)Set `menuLabel` property. Params: propval = The text of the menu widget. Returns: Builder instance for fluent chainingT position(int propval)Set `position` property. Params: propval = The index of the child in the parent. Returns: Builder instance for fluent chainingT reorderable(bool propval)Set `reorderable` property. Params: propval = Whether the tab is reorderable by user action. Returns: Builder instance for fluent chainingT tab(gtk.widget.Widget propval)Set `tab` property. Params: propval = The tab widget for this page. Returns: Builder instance for fluent chainingT tabExpand(bool propval)Set `tabExpand` property. Params: propval = Whether to expand the child's tab. Returns: Builder instance for fluent chainingT tabFill(bool propval)Set `tabFill` property. Params: propval = Whether the child's tab should fill the allocated area. Returns: Builder instance for fluent chainingT tabLabel(string propval)Set `tabLabel` property. Params: propval = The text of the tab widget. Returns: Builder instance for fluent chainingFluent builder for [gtk.notebook_page.NotebookPage]
Methods