Method

GtkPopoverset_modal

since: 3.12

Declaration [src]

void
gtk_popover_set_modal (
  GtkPopover* popover,
  gboolean modal
)

Description [src]

Sets whether popover is modal, a modal popover will grab all input within the toplevel and grab the keyboard focus on it when being displayed. Clicking outside the popover area or pressing Esc will dismiss the popover and ungrab input.

Available since: 3.12

Sets propertyGtk.Popover:modal

Parameters

modal

Type: gboolean

TRUE to make popover claim all input within the toplevel.