Skip to main content

Type Alias: GtkApplicationWindowProps

GtkApplicationWindowProps = Omit<GtkWindowProps, "onNotify"> & object

Defined in: generated/jsx.ts:1656

Props for the GtkApplicationWindow widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:1685
onActionAdded()?(self, actionName) => 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:1673
onActionEnabledChanged()?(self, actionName, enabled) => void | nullSignals that the enabled status of the named action has changed.generated/jsx.ts:1675
onActionRemoved()?(self, actionName) => 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:1682
onActionStateChanged()?(self, actionName, value) => void | nullSignals that the state of the named action has changed.generated/jsx.ts:1684
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:1691
ref?Ref<Gtk.ApplicationWindow>-generated/jsx.ts:1692
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:1666