Popover.setDefaultWidget

void setDefaultWidget(gtk.widget.Widget widget = null)

Sets the default widget of a [gtk.popover.Popover].

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 [gtk.popover.Popover].

Parameters

widgeta child widget of popover to set as the default, or null to unset the default widget for the popover