gtk.notebook_page

Module for [NotebookPage] class

Types 3

[gtk.notebook_page.NotebookPage] is an auxiliary object used by [gtk.notebook.Notebook].

Methods
GType _gType() @property
NotebookPage self()Returns `this`, for use in `with` statements.
NotebookPageGidBuilder builder()Get builder for [gtk.notebook_page.NotebookPage] Returns: New builder object
gtk.widget.Widget child() @propertyGet `child` property. Returns: The child for this page.
bool detachable() @propertyGet `detachable` property. Returns: Whether the tab is detachable.
void 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.
string menuLabel() @propertyGet `menuLabel` property. Returns: The text of the menu widget.
void menuLabel(string propval) @propertySet `menuLabel` property. Params: propval = The text of the menu widget.
int position() @propertyGet `position` property. Returns: The index of the child in the parent.
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.
gtk.widget.Widget tab() @propertyGet `tab` property. Returns: The tab widget for this page.
bool tabExpand() @propertyGet `tabExpand` property. Returns: Whether to expand the child's tab.
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.
string tabLabel() @propertyGet `tabLabel` property. Returns: The text of the tab widget.
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 belongs
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T child(gtk.widget.Widget propval)Set `child` property. Params: propval = The child for this page. Returns: Builder instance for fluent chaining
T detachable(bool propval)Set `detachable` property. Params: propval = Whether the tab is detachable. Returns: Builder instance for fluent chaining
T 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 chaining
T menuLabel(string propval)Set `menuLabel` property. Params: propval = The text of the menu widget. Returns: Builder instance for fluent chaining
T position(int propval)Set `position` property. Params: propval = The index of the child in the parent. Returns: Builder instance for fluent chaining
T reorderable(bool propval)Set `reorderable` property. Params: propval = Whether the tab is reorderable by user action. Returns: Builder instance for fluent chaining
T tab(gtk.widget.Widget propval)Set `tab` property. Params: propval = The tab widget for this page. Returns: Builder instance for fluent chaining
T tabExpand(bool propval)Set `tabExpand` property. Params: propval = Whether to expand the child's tab. Returns: Builder instance for fluent chaining
T tabFill(bool propval)Set `tabFill` property. Params: propval = Whether the child's tab should fill the allocated area. Returns: Builder instance for fluent chaining
T tabLabel(string propval)Set `tabLabel` property. Params: propval = The text of the tab widget. Returns: Builder instance for fluent chaining

Fluent builder for [gtk.notebook_page.NotebookPage]