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
This commit is contained in:
committed by
Matthias Clasen
parent
1691bb741d
commit
197785744b
@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user