Type Alias: GtkToggleButtonProps
GtkToggleButtonProps =
Omit<GtkButtonProps,"onNotify"> &object
Defined in: generated/jsx.ts:10639
Props for the GtkToggleButton widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
active? | boolean | If the toggle button should be pressed in. | generated/jsx.ts:10641 |
children? | ReactNode | - | generated/jsx.ts:10646 |
group? | Gtk.ToggleButton | The toggle button whose group this widget belongs to. | generated/jsx.ts:10643 |
onNotify? | (self, propName) => void | null | Called when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case) | generated/jsx.ts:10652 |
onToggled()? | (self) => void | null | Emitted whenever the GtkToggleButton's state is changed. | generated/jsx.ts:10645 |
ref? | Ref<Gtk.ToggleButton> | - | generated/jsx.ts:10653 |