[gtkmm] Window: Add ::is-maximized property



commit 5c55dad3f11af3de061bb72f1b2e560989abec48
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Wed Feb 26 22:48:39 2014 +0100

    Window: Add ::is-maximized property
    
        * Wrap ::is-maximzed property
        * Wrap gtk_window_is_maximized() accessor method

 gtk/src/window.hg |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/window.hg b/gtk/src/window.hg
index 247bd63..139041b 100644
--- a/gtk/src/window.hg
+++ b/gtk/src/window.hg
@@ -141,6 +141,7 @@ public:
   _WRAP_PROPERTY("application", Glib::RefPtr<Application>)
   _WRAP_PROPERTY("focus-visible", bool)
   _WRAP_PROPERTY("attached-to", Widget*)
+  _WRAP_PROPERTY("is-maximized", bool)
 
   _WRAP_SIGNAL(void set_focus(Widget* focus), "set_focus")
 
@@ -419,6 +420,8 @@ dnl
 
   _WRAP_METHOD(void set_titlebar(Widget& titlebar), gtk_window_set_titlebar)
 
+  _WRAP_METHOD(bool is_maximized() const, gtk_window_is_maximized)
+
   /** Returns a default accel group for this window
    * This is a gtkmm-specific function.  This accel group can not
    * be removed.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]