Method

GtkPopoverset_default_widget

since: 3.18

Declaration [src]

void
gtk_popover_set_default_widget (
  GtkPopover* popover,
  GtkWidget* widget
)

Description [src]

Sets the widget that should be set as default widget while the popover is shown (see gtk_window_set_default()). GtkPopover remembers the previous default widget and reestablishes it when the popover is dismissed.

Available since: 3.18

Parameters

widget

Type: GtkWidget

The new default widget, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.