Property

GtkWidget:focus-on-click

since: 3.20

Declaration

property focus-on-click: gboolean [ read, write ]

Description [src]

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.

Type:gboolean

Available since: 3.20

Flags

Readableyes
Writableyes
Constructno
Construct onlyno