Popover.setDefaultWidget

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.

class Popover
void
setDefaultWidget

Parameters

widget gtk.widget.Widget

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