summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-08-10 16:00:38 +0200
committerMatthias Clasen <mclasen@redhat.com>2011-08-10 16:34:20 +0200
commit2ba9c4b4a7d9ffc3161e2db1774743182a365d99 (patch)
tree71eafdf29308d8cf5b2adba4df97461ee9b5568a /gtk/gtkwindow.h
parent6596dbff312ecdc65681c37f3de21217d7731388 (diff)
downloadgtk+-2ba9c4b4a7d9ffc3161e2db1774743182a365d99.tar.gz
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
Diffstat (limited to 'gtk/gtkwindow.h')
-rw-r--r--gtk/gtkwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index 2752d8daed..d44eedaf7d 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -162,6 +162,9 @@ gboolean gtk_window_get_destroy_with_parent (GtkWindow *window);
void gtk_window_set_mnemonics_visible (GtkWindow *window,
gboolean setting);
gboolean gtk_window_get_mnemonics_visible (GtkWindow *window);
+void gtk_window_set_focus_visible (GtkWindow *window,
+ gboolean setting);
+gboolean gtk_window_get_focus_visible (GtkWindow *window);
void gtk_window_set_resizable (GtkWindow *window,
gboolean resizable);