diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-04-24 15:45:49 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-01-13 23:13:37 -0500 |
commit | 197785744b3a74e70086fa91306c824de2c3f54c (patch) | |
tree | dde6362d1bde1415280a53689da85fe7ee6b85a8 /gtk/gtkwindow.h | |
parent | 1691bb741d50c90ee938f0b73fe81b0ca9bfd6d4 (diff) | |
download | gtk+-197785744b3a74e70086fa91306c824de2c3f54c.tar.gz |
window: add an is-maximized property to GtkWindow
With proper notifications, plus an accessor method for that state. This
allows client to just listen to notify::is-maximized instead of tracking
window-state-event.
https://bugzilla.gnome.org/show_bug.cgi?id=698786
Diffstat (limited to 'gtk/gtkwindow.h')
-rw-r--r-- | gtk/gtkwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index 4324cb7f5b..0be0c9fbc3 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -467,6 +467,9 @@ GDK_AVAILABLE_IN_3_10 void gtk_window_set_titlebar (GtkWindow *window, GtkWidget *titlebar); +GDK_AVAILABLE_IN_3_12 +gboolean gtk_window_is_maximized (GtkWindow *window); + G_END_DECLS #endif /* __GTK_WINDOW_H__ */ |