tasn pushed a commit to branch master.

http://git.enlightenment.org/bindings/cxx/eflxx.git/commit/?id=61e8f0e61e055a8081915f40c75b62a4f5d03c18

commit 61e8f0e61e055a8081915f40c75b62a4f5d03c18
Author: Andreas Volz <[email protected]>
Date:   Sat May 29 22:37:18 2010 +0000

    wrappers added for new C API functions
    
    SVN revision: 49314
---
 evasxx/include/evasxx/Object.h |  7 +++++++
 evasxx/src/Object.cpp          | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/evasxx/include/evasxx/Object.h b/evasxx/include/evasxx/Object.h
index 99e7151..47fb1d0 100644
--- a/evasxx/include/evasxx/Object.h
+++ b/evasxx/include/evasxx/Object.h
@@ -159,6 +159,13 @@ public:
   /* Focus */
   virtual void setFocus( bool focus );
   virtual bool hasFocus() const;
+
+  void setEventsPass (bool pass);
+  bool getEventsPass () const;
+  void setEventsRepeat (bool repeat);
+  bool getEventsRepeat () const;
+  void setEventsPropagate (bool prop);
+  bool getEventsPropagate () const;
   
   /*!
    * @brief Gets the smart parent.
diff --git a/evasxx/src/Object.cpp b/evasxx/src/Object.cpp
index 41f6b1f..a3d80f1 100644
--- a/evasxx/src/Object.cpp
+++ b/evasxx/src/Object.cpp
@@ -317,6 +317,38 @@ bool Object::hasFocus() const
   return evas_object_focus_get( o );
 }
 
+void Object::setEventsPass (bool pass)
+{
+  evas_object_pass_events_set (o, pass);
+
+}
+
+bool Object::getEventsPass () const
+{
+  return evas_object_pass_events_get (o);
+
+}
+
+void Object::setEventsRepeat (bool repeat)
+{
+   evas_object_repeat_events_set (o, repeat);
+}
+
+bool Object::getEventsRepeat () const
+{
+  return evas_object_repeat_events_get (o);
+}
+
+void Object::setEventsPropagate (bool prop)
+{
+  evas_object_propagate_events_set (o, prop);
+}
+
+bool Object::getEventsPropagate () const
+{
+  return evas_object_propagate_events_get (o);
+}
+
 Object *Object::getParent (const Object &obj)
 {
   Evas_Object *eo = evas_object_smart_parent_get (o);

-- 


Reply via email to