setDefaultWidget

open fun setDefaultWidget(widget: Widget? = null)

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

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