set_receives_default


Description:

[ Version ( since = "2.18" ) ]
public void set_receives_default (bool receives_default)

Specifies whether this will be treated as the default widget within its toplevel when it has the focus, even if another widget is the default.

See grab_default for details about the meaning of “default”.

Parameters:

this

a Widget

receives_default

whether or not this can be a default widget.




2022 vala-language.org