Elm: Add object layer enums

This commit is contained in:
Kai Huuhko 2015-04-15 00:33:47 +03:00
parent 278fe32110
commit 0c170c5bb3
2 changed files with 42 additions and 0 deletions

View File

@ -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

View File

@ -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