summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-04-15 00:33:47 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2015-04-15 00:33:47 +0300
commit0c170c5bb322ae33c981edb046043c9b411fb10e (patch)
tree900c6f2a6909daafd0e9ba68fb7b0a207190c53e
parent278fe321107aa6d37e9a14ec957ed2360e09a69f (diff)
Elm: Add object layer enums
-rw-r--r--efl/elementary/general.pxd10
-rw-r--r--efl/elementary/general.pyx32
2 files changed, 42 insertions, 0 deletions
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":
55 ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED 55 ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED
56 56
57 #enums 57 #enums
58 cpdef enum Elm_Object_Layer:
59 ELM_OBJECT_LAYER_BACKGROUND # where to place backgrounds
60 ELM_OBJECT_LAYER_DEFAULT # Evas_Object default layer (and thus for Elementary)
61 ELM_OBJECT_LAYER_FOCUS # where focus object visualization is
62 ELM_OBJECT_LAYER_TOOLTIP # where to show tooltips
63 ELM_OBJECT_LAYER_CURSOR # where to show cursors
64 ELM_OBJECT_LAYER_LAST # last layer known by Elementary
65 ctypedef enum Elm_Object_Layer:
66 pass
67
58 cpdef enum Elm_Policy: 68 cpdef enum Elm_Policy:
59 ELM_POLICY_QUIT 69 ELM_POLICY_QUIT
60 ELM_POLICY_EXIT 70 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.
52Enumerations 52Enumerations
53============ 53============
54 54
55.. _Elm_Object_Layer:
56
57Object layers
58-------------
59
60.. versionadded:: 1.14
61
62.. data:: ELM_OBJECT_LAYER_BACKGROUND
63
64 where to place backgrounds
65
66.. data:: ELM_OBJECT_LAYER_DEFAULT
67
68 Evas_Object default layer (and thus for Elementary)
69
70.. data:: ELM_OBJECT_LAYER_FOCUS
71
72 where focus object visualization is
73
74.. data:: ELM_OBJECT_LAYER_TOOLTIP
75
76 where to show tooltips
77
78.. data:: ELM_OBJECT_LAYER_CURSOR
79
80 where to show cursors
81
82.. data:: ELM_OBJECT_LAYER_LAST
83
84 last layer known by Elementary
85
86
55.. _Elm_Policy: 87.. _Elm_Policy:
56 88
57Policy types 89Policy types