[gtkmm] Popover: Add get/set_transitions_enabled() and the property.



commit f3f7a11a411478b8ec74e75703eb5ee386b99d0b
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Mar 6 10:13:36 2015 +0100

    Popover: Add get/set_transitions_enabled() and the property.

 gtk/src/popover.hg |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/popover.hg b/gtk/src/popover.hg
index 81bfc82..4fcd711 100644
--- a/gtk/src/popover.hg
+++ b/gtk/src/popover.hg
@@ -119,6 +119,9 @@ public:
 
   _WRAP_METHOD(void bind_model(const Glib::RefPtr<Gio::MenuModel>& model, const Glib::ustring& 
action_namespace{?}), gtk_popover_bind_model)
 
+  _WRAP_METHOD(void set_transitions_enabled(bool transitions_enabled = true), 
gtk_popover_set_transitions_enabled)
+  _WRAP_METHOD(bool get_transitions_enabled() const, gtk_popover_get_transitions_enabled)
+
   //Ignore private methods.
   _IGNORE(gtk_popover_update_position)
 
@@ -127,6 +130,7 @@ public:
 //  _WRAP_PROPERTY("pointing-to", Gdk::Rectangle)
   _WRAP_PROPERTY("position", PositionType)
   _WRAP_PROPERTY("modal", bool)
+  _WRAP_PROPERTY("transitions-enabled", bool)
 
   _WRAP_SIGNAL(void closed(), "closed")
 };


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