Make focus rectangles optional
This commit introduces a new setting, gtk-visible-focus, backed by the Gtk/VisibleFocus X setting. Its three values control how focus rectangles are displayed. 'always' is equivalent to the traditional GTK+ behaviour of always rendering focus rectangles. 'never' does what it says, and is intended for keyboardless situations, e.g. tablets. 'automatic' hides focus rectangles initially, until the user interacts with the keyboard, at which point focus rectangles become visible. https://bugzilla.gnome.org/show_bug.cgi?id=649567
This commit is contained in:
@ -560,6 +560,7 @@ void gtk_widget_set_can_focus (GtkWidget *widget,
|
||||
gboolean gtk_widget_get_can_focus (GtkWidget *widget);
|
||||
gboolean gtk_widget_has_focus (GtkWidget *widget);
|
||||
gboolean gtk_widget_is_focus (GtkWidget *widget);
|
||||
gboolean gtk_widget_has_visible_focus (GtkWidget *widget);
|
||||
void gtk_widget_grab_focus (GtkWidget *widget);
|
||||
|
||||
void gtk_widget_set_can_default (GtkWidget *widget,
|
||||
|
||||
Reference in New Issue
Block a user