diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-10-28 15:43:43 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-10-28 15:43:43 +0000 |
commit | 097c3fe625f3a63c9a1a5cb071085fb1c8db4bc2 (patch) | |
tree | 811070dac3a2c105d2f29939b6c42cba5bfdd3c4 /gtk/gtkwindow.h | |
parent | 6ccf2d2d09ad77f736ed827f34b6695804e882fe (diff) | |
download | gtk+-097c3fe625f3a63c9a1a5cb071085fb1c8db4bc2.tar.gz |
Add getters corresponding to the is_active and has_toplevel_focus
Tue Oct 28 10:34:24 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.[ch] (gtk_window_is_active,
gtk_has_toplevel_focus): Add getters corresponding to
the is_active and has_toplevel_focus properties.
(#122531)
Diffstat (limited to 'gtk/gtkwindow.h')
-rw-r--r-- | gtk/gtkwindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index c0d984cf2f..544aef2e5f 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -225,6 +225,11 @@ void gtk_window_set_screen (GtkWindow *window, GdkScreen *screen); GdkScreen* gtk_window_get_screen (GtkWindow *window); +gboolean gtk_window_is_active (GtkWindow *window); +gboolean gtk_window_has_toplevel_focus (GtkWindow *window); + + + /* gtk_window_set_has_frame () must be called before realizing the window_*/ void gtk_window_set_has_frame (GtkWindow *window, gboolean setting); |