Skip to main content

Type Alias: GtkPopoverProps

GtkPopoverProps = WidgetProps & object

Defined in: generated/jsx.ts:5953

Props for the GtkPopover widget.

Type Declaration

NameTypeDescriptionDefined in
autohide?booleanWhether to dismiss the popover on outside clicks.generated/jsx.ts:5955
cascadePopdown?booleanWhether the popover pops down after a child popover. This is used to implement the expected behavior of submenus.generated/jsx.ts:5961
child?Gtk.Widget | nullThe child widget.generated/jsx.ts:5963
children?ReactNode-generated/jsx.ts:5984
defaultWidget?Gtk.WidgetThe default widget inside the popover.generated/jsx.ts:5965
hasArrow?booleanWhether to draw an arrow.generated/jsx.ts:5967
mnemonicsVisible?booleanWhether mnemonics are currently visible in this popover.generated/jsx.ts:5969
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:5981
onClosed?(self) => void | nullEmitted when the popover is closed.generated/jsx.ts:5983
pointingTo?Gdk.RectangleRectangle in the parent widget that the popover points to.generated/jsx.ts:5971
position?Gtk.PositionTypeHow to place the popover, relative to its parent.generated/jsx.ts:5973
ref?Ref<Gtk.Popover>-generated/jsx.ts:5985