set_default_widget


Description:

public void set_default_widget (Widget? widget)

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:

this

a `GtkPopover`

widget

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




2022 vala-language.org