Type Alias: GtkCheckButtonProps
GtkCheckButtonProps =
WidgetProps&object
Defined in: generated/jsx.ts:2004
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:2031 |
actionTarget? | GLib.Variant | The target value of the actionable widget's action. | generated/jsx.ts:2033 |
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:2011 |
child? | Gtk.Widget | null | The child widget. | generated/jsx.ts:2013 |
children? | ReactNode | - | generated/jsx.ts:2052 |
group? | Gtk.CheckButton | The check button whose group this widget belongs to. | generated/jsx.ts:2015 |
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:2022 |
label? | string | null | Text of the label inside the check button, if it contains a label widget. | generated/jsx.ts:2024 |
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:2046 |
onToggled? | (self) => void | null | Emitted when the buttons's CheckButton.active property changes. | generated/jsx.ts:2051 |
ref? | Ref<Gtk.CheckButton> | - | generated/jsx.ts:2053 |
useUnderline? | boolean | If set, an underline in the text indicates that the following character is to be used as mnemonic. | generated/jsx.ts:2029 |