Widget.setCanDefault

Specifies whether @widget can be a default widget. See gtk_widget_grab_default() for details about the meaning of “default”.

class Widget
void
setCanDefault
()

Parameters

canDefault bool

whether or not @widget can be a default widget.

Meta

Since

2.18