summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2012-06-18 01:17:04 +0000
committerKai Huuhko <kai.huuhko@gmail.com>2012-06-18 01:17:04 +0000
commit87b4803d4d4ba0d1e7a1d5404548859272718b4a (patch)
treebb7e9967fb14ba18e452b6e90251915359cc09aa /include
parent783c116269844453388ddc240a5ddb18d663d8be (diff)
downloadpython-elementary-87b4803d4d4ba0d1e7a1d5404548859272718b4a.tar.gz
python-elementary-87b4803d4d4ba0d1e7a1d5404548859272718b4a.tar.bz2
python-elementary-87b4803d4d4ba0d1e7a1d5404548859272718b4a.zip
python-elementary: Add Popup.
SVN revision: 72330
Diffstat (limited to 'include')
-rw-r--r--include/elementary/c_elementary.pxd24
1 files changed, 23 insertions, 1 deletions
diff --git a/include/elementary/c_elementary.pxd b/include/elementary/c_elementary.pxd
index 3e7f843..604649c 100644
--- a/include/elementary/c_elementary.pxd
+++ b/include/elementary/c_elementary.pxd
@@ -341,6 +341,18 @@ cdef extern from "Elementary.h":
ELM_POLICY_QUIT_NONE
ELM_POLICY_QUIT_LAST_WINDOW_CLOSED
+ ctypedef enum Elm_Popup_Orient:
+ ELM_POPUP_ORIENT_TOP
+ ELM_POPUP_ORIENT_CENTER
+ ELM_POPUP_ORIENT_BOTTOM
+ ELM_POPUP_ORIENT_LEFT
+ ELM_POPUP_ORIENT_RIGHT
+ ELM_POPUP_ORIENT_TOP_LEFT
+ ELM_POPUP_ORIENT_TOP_RIGHT
+ ELM_POPUP_ORIENT_BOTTOM_LEFT
+ ELM_POPUP_ORIENT_BOTTOM_RIGHT
+ ELM_POPUP_ORIENT_LAST
+
ctypedef enum Elm_Scroller_Policy:
ELM_SCROLLER_POLICY_AUTO
ELM_SCROLLER_POLICY_ON
@@ -1816,7 +1828,17 @@ cdef extern from "Elementary.h":
# Plug (XXX)
- # Popup (XXX)
+ # Popup (api:DONE cb:DONE test:TODO doc:DONE py3:DONE)
+ Evas_Object *elm_popup_add(Evas_Object *parent)
+ Elm_Object_Item *elm_popup_item_append(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Smart_Cb func, void *data)
+ void elm_popup_content_text_wrap_type_set(Evas_Object *obj, Elm_Wrap_Type wrap)
+ Elm_Wrap_Type elm_popup_content_text_wrap_type_get(Evas_Object *obj)
+ void elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient)
+ Elm_Popup_Orient elm_popup_orient_get(Evas_Object *obj)
+ void elm_popup_timeout_set(Evas_Object *obj, double timeout)
+ double elm_popup_timeout_get(Evas_Object *obj)
+ void elm_popup_allow_events_set(Evas_Object *obj, Eina_Bool allow)
+ Eina_Bool elm_popup_allow_events_get(Evas_Object *obj)
# Progressbar (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
Evas_Object *elm_progressbar_add(Evas_Object *parent)