panel.toggle_button
Module for [ToggleButton] class
Types 3
classToggleButton : gtk.widget.Widget
The panel.toggle_button.ToggleButton is a button used to toggle the visibility of a panel.dock.Dock area.
It will automatically reveal or hide the specified area from panel.toggle_button.ToggleButton.dock.
Methods
ToggleButtonGidBuilder builder() static nothrowGet builder for [panel.toggle_button.ToggleButton] Returns: New builder objectpanel.types.Area area() @property nothrowGet `area` property. Returns: The area this button will reveal.panel.dock.Dock dock() @property nothrowGet `dock` property. Returns: The associated [panel.dock.Dock]void dock(panel.dock.Dock propval) @property nothrowSet `dock` property. Params: propval = The associated [panel.dock.Dock]Constructors
this(panel.dock.Dock dock, panel.types.Area area)Creates a new [panel.toggle_button.ToggleButton] to hide the dock in the area.Fluent builder implementation template for panel.toggle_button.ToggleButton
Methods
T area(panel.types.Area propval) nothrowSet `area` property. Params: propval = The area this button will reveal. Returns: Builder instance for fluent chainingT dock(panel.dock.Dock propval) nothrowSet `dock` property. Params: propval = The associated [panel.dock.Dock] Returns: Builder instance for fluent chainingFluent builder for panel.toggle_button.ToggleButton
Methods