Type Alias: GtkInfoBarProps
GtkInfoBarProps =
WidgetProps&object
Defined in: generated/jsx.ts:5490
Props for the GtkInfoBar widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:5517 |
messageType? | Gtk.MessageType | The type of the message. The type may be used to determine the appearance of the info bar. | generated/jsx.ts:5496 |
onClose()? | (self) => void | null | Gets emitted when the user uses a keybinding to dismiss the info bar. The ::close signal is a keybinding signal. The default binding for this signal is the Escape key. | generated/jsx.ts:5508 |
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:5523 |
onResponse()? | (self, responseId) => void | null | Emitted when an action widget is clicked. The signal is also emitted when the application programmer calls InfoBar.response. The response_id depends on which action widget was clicked. | generated/jsx.ts:5516 |
ref? | Ref<Gtk.InfoBar> | - | generated/jsx.ts:5524 |
revealed? | boolean | Whether the info bar shows its contents. | generated/jsx.ts:5498 |
showCloseButton? | boolean | Whether to include a standard close button. | generated/jsx.ts:5500 |