kuuko pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=0c170c5bb322ae33c981edb046043c9b411fb10e

commit 0c170c5bb322ae33c981edb046043c9b411fb10e
Author: Kai Huuhko <kai.huu...@gmail.com>
Date:   Wed Apr 15 00:33:47 2015 +0300

    Elm: Add object layer enums
---
 efl/elementary/general.pxd | 10 ++++++++++
 efl/elementary/general.pyx | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/efl/elementary/general.pxd b/efl/elementary/general.pxd
index 63b653d..e38bcb0 100644
--- a/efl/elementary/general.pxd
+++ b/efl/elementary/general.pxd
@@ -55,6 +55,16 @@ cdef extern from "Elementary.h":
         ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED
 
     #enums
+    cpdef enum Elm_Object_Layer:
+        ELM_OBJECT_LAYER_BACKGROUND # where to place backgrounds
+        ELM_OBJECT_LAYER_DEFAULT # Evas_Object default layer (and thus for 
Elementary)
+        ELM_OBJECT_LAYER_FOCUS # where focus object visualization is
+        ELM_OBJECT_LAYER_TOOLTIP # where to show tooltips
+        ELM_OBJECT_LAYER_CURSOR # where to show cursors
+        ELM_OBJECT_LAYER_LAST # last layer known by Elementary
+    ctypedef enum Elm_Object_Layer:
+        pass
+
     cpdef enum Elm_Policy:
         ELM_POLICY_QUIT
         ELM_POLICY_EXIT
diff --git a/efl/elementary/general.pyx b/efl/elementary/general.pyx
index 12e2ae6..8795e56 100644
--- a/efl/elementary/general.pyx
+++ b/efl/elementary/general.pyx
@@ -52,6 +52,38 @@ Different profiles may have pre-set values for finger sizes.
 Enumerations
 ============
 
+.. _Elm_Object_Layer:
+
+Object layers
+-------------
+
+.. versionadded:: 1.14
+
+.. data:: ELM_OBJECT_LAYER_BACKGROUND
+
+    where to place backgrounds
+
+.. data:: ELM_OBJECT_LAYER_DEFAULT
+
+    Evas_Object default layer (and thus for Elementary)
+
+.. data:: ELM_OBJECT_LAYER_FOCUS
+
+    where focus object visualization is
+
+.. data:: ELM_OBJECT_LAYER_TOOLTIP
+
+    where to show tooltips
+
+.. data:: ELM_OBJECT_LAYER_CURSOR
+
+    where to show cursors
+
+.. data:: ELM_OBJECT_LAYER_LAST
+
+    last layer known by Elementary
+
+
 .. _Elm_Policy:
 
 Policy types

-- 


Reply via email to