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 _gType() @property
ToggleButton self()Returns `this`, for use in `with` statements.
ToggleButtonGidBuilder builder()Get builder for [panel.toggle_button.ToggleButton] Returns: New builder object
panel.types.Area area() @propertyGet `area` property. Returns: The area this button will reveal.
panel.dock.Dock dock() @propertyGet `dock` property. Returns: The associated [panel.dock.Dock]
void dock(panel.dock.Dock propval) @propertySet `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.
Methods
T area(panel.types.Area propval)Set `area` property. Params: propval = The area this button will reveal. Returns: Builder instance for fluent chaining
T dock(panel.dock.Dock propval)Set `dock` property. Params: propval = The associated [panel.dock.Dock] Returns: Builder instance for fluent chaining

Fluent builder for [panel.toggle_button.ToggleButton]