ToggleButton


Object Hierarchy:

Object hierarchy for ToggleButton

Description:

[ CCode ( type_id = "panel_toggle_button_get_type ()" ) ]
public class ToggleButton : Widget, Accessible, Buildable, ConstraintTarget

The `PanelToggleButton` is a button used to toggle the visibility of a [class@Panel.

Dock] area.

<picture> <source srcset="toggle-button-dark.png" media="(prefers-color-scheme: dark)"> <img src="toggle-button.png" alt="toggle-button"> </picture>

It will automatically reveal or hide the specified area from [property@Panel.ToggleButton:dock].


Namespace: Panel
Package: libpanel-1

Content:

Properties:

Creation methods:

Inherited Members:

All known members inherited from class Gtk.Widget