Skip to main content

Type Alias: GtkApplicationWindowProps

GtkApplicationWindowProps = GtkWindowProps & object

Defined in: generated/jsx.ts:1435

Props for the GtkApplicationWindow widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:1464
onActionAdded?(actionName, self) => void | nullSignals that a new action was just added to the group. This signal is emitted after the action has been added and is now visible.generated/jsx.ts:1452
onActionEnabledChanged?(actionName, enabled, self) => void | nullSignals that the enabled status of the named action has changed.generated/jsx.ts:1454
onActionRemoved?(actionName, self) => void | nullSignals that an action is just about to be removed from the group. This signal is emitted before the action is removed, so the action is still visible and can be queried from the signal handler.generated/jsx.ts:1461
onActionStateChanged?(actionName, value, self) => void | nullSignals that the state of the named action has changed.generated/jsx.ts:1463
ref?Ref<Gtk.ApplicationWindow>-generated/jsx.ts:1465
showMenubar?booleanIf this property is true, the window will display a menubar unless it is shown by the desktop shell. See Application.set_menubar. If false, the window will not display a menubar, regardless of whether the desktop shell is showing it or not.generated/jsx.ts:1445