Type Alias: GtkCheckButtonProps
GtkCheckButtonProps =
WidgetProps&object
Defined in: generated/jsx.ts:2418
Props for the GtkCheckButton widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
actionName? | string | The name of the action with which this widget should be associated. | generated/jsx.ts:2445 |
actionTarget? | GLib.Variant | The target value of the actionable widget's action. | generated/jsx.ts:2447 |
active? | boolean | If the check button is active. Setting active to %TRUE will add the :checked: state to both the check button and the indicator CSS node. | generated/jsx.ts:2425 |
child? | Gtk.Widget | null | The child widget. | generated/jsx.ts:2427 |
children? | ReactNode | - | generated/jsx.ts:2466 |
group? | Gtk.CheckButton | The check button whose group this widget belongs to. | generated/jsx.ts:2429 |
inconsistent? | boolean | If the check button is in an “in between” state. The inconsistent state only affects visual appearance, not the semantics of the button. | generated/jsx.ts:2436 |
label? | string | null | Text of the label inside the check button, if it contains a label widget. | generated/jsx.ts:2438 |
onActivate()? | (self) => void | null | Emitted to when the check button is activated. The ::activate signal on GtkCheckButton is an action signal and emitting it causes the button to animate press then release. Applications should never connect to this signal, but use the CheckButton.:toggled signal. The default bindings for this signal are all forms of the ␣ and Enter keys. | generated/jsx.ts:2460 |
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:2472 |
onToggled()? | (self) => void | null | Emitted when the buttons's CheckButton.active property changes. | generated/jsx.ts:2465 |
ref? | Ref<Gtk.CheckButton> | - | generated/jsx.ts:2486 |
useUnderline? | boolean | If set, an underline in the text indicates that the following character is to be used as mnemonic. | generated/jsx.ts:2443 |