Type Alias: GtkPopoverMenuProps
GtkPopoverMenuProps =
Omit<GtkPopoverProps,"onNotify"> &object
Defined in: generated/jsx.ts:7430
Props for the GtkPopoverMenu widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:7442 |
flags? | Gtk.PopoverMenuFlags | The 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 | null | The model from which the menu is made. | generated/jsx.ts:7439 |
onNotify? | (self, propName) => void | null | Called 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? | string | The name of the visible submenu. | generated/jsx.ts:7441 |