panel.toggle_button

Module for [ToggleButton] class

Types 3

The panel.toggle_button.ToggleButton is a button used to toggle the visibility of a panel.dock.Dock area.

toggle-button

It will automatically reveal or hide the specified area from panel.toggle_button.ToggleButton.dock.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
ToggleButton self() nothrowReturns `this`, for use in `with` statements.
ToggleButtonGidBuilder builder() static nothrowGet builder for [panel.toggle_button.ToggleButton] Returns: New builder object
panel.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(void * ptr, Flag!"Take" take)
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 chaining
T dock(panel.dock.Dock propval) nothrowSet `dock` property. Params: propval = The associated [panel.dock.Dock] Returns: Builder instance for fluent chaining
Methods
ToggleButton build() nothrowCreate object from builder. Returns: New object