Toggle Button
@Composable
Creates a org.gnome.gtk.ToggleButton used for toggle states.
Parameters
label
The text displayed in the button.
active
Whether the button is toggled.
on Toggle
Callback triggered when the button is toggled.
modifier
Compose Modifier for layout and styling.
has Frame
Whether the button has a frame.
@Composable
Creates a org.gnome.gtk.ToggleButton used for toggle states.
Parameters
active
Whether the button is toggled.
on Toggle
Callback triggered when the button is toggled.
modifier
Compose Modifier for layout and styling.
has Frame
Whether the button has a frame.