Skip to main content

Type Alias: GtkInfoBarProps

GtkInfoBarProps = WidgetProps & object

Defined in: generated/jsx.ts:4429

Props for the GtkInfoBar widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:4456
messageType?Gtk.MessageTypeThe type of the message. The type may be used to determine the appearance of the info bar.generated/jsx.ts:4435
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:4447
onResponse?(responseId, self) => 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:4455
ref?Ref<Gtk.InfoBar>-generated/jsx.ts:4457
revealed?booleanWhether the info bar shows its contents.generated/jsx.ts:4437
showCloseButton?booleanWhether to include a standard close button.generated/jsx.ts:4439