Widget.setReceivesDefault

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

See gtk_widget_grab_default() for details about the meaning of “default”.

class Widget
void
setReceivesDefault

Parameters

receivesDefault bool

whether or not @widget can be a default widget.

Meta

Since

2.18