Type Alias: GtkInfoBarProps
GtkInfoBarProps =
WidgetProps&object
Defined in: generated/jsx.ts:4429
Props for the GtkInfoBar widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:4456 |
messageType? | Gtk.MessageType | The type of the message. The type may be used to determine the appearance of the info bar. | generated/jsx.ts:4435 |
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:4447 |
onResponse? | (responseId, self) => 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:4455 |
ref? | Ref<Gtk.InfoBar> | - | generated/jsx.ts:4457 |
revealed? | boolean | Whether the info bar shows its contents. | generated/jsx.ts:4437 |
showCloseButton? | boolean | Whether to include a standard close button. | generated/jsx.ts:4439 |