Skip to main content

Type Alias: GtkInfoBarProps

GtkInfoBarProps = WidgetProps & object

Defined in: generated/jsx.ts:5490

Props for the GtkInfoBar widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:5517
messageType?Gtk.MessageTypeThe type of the message. The type may be used to determine the appearance of the info bar.generated/jsx.ts:5496
onClose()?(self) => void | nullGets 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 | nullCalled 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 | nullEmitted 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?booleanWhether the info bar shows its contents.generated/jsx.ts:5498
showCloseButton?booleanWhether to include a standard close button.generated/jsx.ts:5500