set_default_widget


Description:

[ Version ( since = "3.18" ) ]
public void set_default_widget (Widget? widget)

Sets the widget that should be set as default widget while the popover is shown (see set_default).

Popover remembers the previous default widget and reestablishes it when the popover is dismissed.

Parameters:

this

a Popover

widget

the new default widget, or null