Skip to main content

Type Alias: GtkPopoverMenuProps

GtkPopoverMenuProps = Omit<GtkPopoverProps, "onNotify"> & object

Defined in: generated/jsx.ts:7430

Props for the GtkPopoverMenu widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:7442
flags?Gtk.PopoverMenuFlagsThe flags that popover uses to create/display a menu from its model. If a model is set and the flags change, contents are rebuilt, so if setting properties individually, set flags before model to avoid a redundant rebuild.generated/jsx.ts:7437
menuModel?Gio.MenuModel | nullThe model from which the menu is made.generated/jsx.ts:7439
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:7448
ref?Ref<Gtk.PopoverMenu>-generated/jsx.ts:7449
visibleSubmenu?stringThe name of the visible submenu.generated/jsx.ts:7441