Method

Gtk.Popover.set_default_widget

Declaration [src]

void
gtk_popover_set_default_widget (
  GtkPopover* popover,
  GtkWidget* widget
)

Description [src]

Sets the default widget of a GtkPopover.

The default widget is the widget that’s activated when the user presses Enter in a dialog (for example). This function sets or unsets the default widget for a GtkPopover.

Parameters

widget GtkWidget
 

a child widget of popover to set as the default, or NULL to unset the default widget for the popover

 Can be NULL
 Ownership is not transferred to the callee