WidgetGidBuilderImpl.focusOnClick

Set focusOnClick property.

class WidgetGidBuilderImpl(T)
T
focusOnClick
(
bool propval
)

Parameters

propval bool

Whether the widget should grab focus when it is clicked with the mouse.

This property is only relevant for widgets that can take focus.

Before 3.20, several widgets (GtkButton, GtkFileChooserButton, GtkComboBox) implemented this property individually.

Return Value

Type: T

Builder instance for fluent chaining