Skip to main content

Type Alias: GtkPopoverProps

GtkPopoverProps = WidgetProps & object

Defined in: generated/jsx.ts:7376

Props for the GtkPopover widget.

Type Declaration

NameTypeDescriptionDefined in
autohide?booleanWhether to dismiss the popover on outside clicks.generated/jsx.ts:7378
cascadePopdown?booleanWhether the popover pops down after a child popover. This is used to implement the expected behavior of submenus.generated/jsx.ts:7384
child?Gtk.Widget | nullThe child widget.generated/jsx.ts:7386
children?ReactNode-generated/jsx.ts:7407
defaultWidget?Gtk.WidgetThe default widget inside the popover.generated/jsx.ts:7388
hasArrow?booleanWhether to draw an arrow.generated/jsx.ts:7390
mnemonicsVisible?booleanWhether mnemonics are currently visible in this popover.generated/jsx.ts:7392
onActivateDefault()?(self) => void | nullEmitted whend the user activates the default widget. This is a keybinding signal. The default binding for this signal is Enter.generated/jsx.ts:7404
onClosed()?(self) => void | nullEmitted when the popover is closed.generated/jsx.ts:7406
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:7413
pointingTo?Gdk.RectangleRectangle in the parent widget that the popover points to.generated/jsx.ts:7394
position?Gtk.PositionTypeHow to place the popover, relative to its parent.generated/jsx.ts:7396
ref?Ref<Gtk.Popover>-generated/jsx.ts:7427