summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-11-12 21:08:29 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-11-12 21:08:29 +0000
commitff9c2c56699814687000669029a7bfef0d7ae1ba (patch)
treea8902fa36a15b3d27bee723a58419b698ce96ceb /gtk/gtkwindow.h
parent3b5d33adc78b8d548f37bb00bf774e20bfd9c5b9 (diff)
downloadgtk+-ff9c2c56699814687000669029a7bfef0d7ae1ba.tar.gz
Add _gtk_window_unset_focus_and_default(), use to clear the focus and
Tue Nov 12 15:13:58 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c gtk/gtkwindow.[ch]: Add _gtk_window_unset_focus_and_default(), use to clear the focus and default out of parts of the widget heirarchy that we are hiding. * gtk/gtkwidget.c (gtk_widget_propagate_screen_changed_recurse): Fix typo that was resulting in missed screen-change notifies. * gtk/gtkwindow.c (do_focus_change): Allow for widget->window == NULL. * gtk/gtklabel.c (gtk_label_screen_changed): Clear the layout here not in hierarchy changed to handle the case where the toplevel was moved between screens.
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 1bd48843c2..60d43b3d46 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -364,6 +364,9 @@ gboolean _gtk_window_activate_key (GtkWindow *window,
void _gtk_window_set_has_toplevel_focus (GtkWindow *window,
gboolean has_toplevel_focus);
+void _gtk_window_unset_focus_and_default (GtkWindow *window,
+ GtkWidget *widget);
+
void _gtk_window_set_is_active (GtkWindow *window,
gboolean is_active);