Property
GtkWidget:focus-on-click
since: 3.20
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
Default value | TRUE |
Getter method | gtk_widget_get_focus_on_click() |
Setter method | gtk_widget_set_focus_on_click() |