summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2016-08-16 09:54:59 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2016-08-16 10:11:34 +0300
commitb2af779d7d416df654c690f2de077f5eeb6e72b9 (patch)
tree1ff847124c16fbd1f48603c677ecf43b1e3ebf51 /include
parent4bd421562d2c2403ef2000ce3d903b991eae7f6e (diff)
Switch enums to use the old system we had previously
This allows us to support Cython 0.23+
Diffstat (limited to 'include')
-rw-r--r--include/efl.c_ethumb.pxd17
-rw-r--r--include/efl.ecore.enums.pxd88
-rw-r--r--include/efl.ecore.pxd102
-rw-r--r--include/efl.ecore_con.enums.pxd28
-rw-r--r--include/efl.ecore_con.pxd147
-rw-r--r--include/efl.ecore_input.enums.pxd17
-rw-r--r--include/efl.ecore_input.pxd225
-rw-r--r--include/efl.ecore_x.pxd1629
-rw-r--r--include/efl.edje.enums.pxd140
-rw-r--r--include/efl.edje.pxd163
-rw-r--r--include/efl.edje_edit.enums.pxd9
-rw-r--r--include/efl.edje_edit.pxd12
-rw-r--r--include/efl.elementary.enums.pxd742
-rw-r--r--include/efl.emotion.enums.pxd86
-rw-r--r--include/efl.emotion.pxd99
-rw-r--r--include/efl.ethumb.enums.pxd29
-rw-r--r--include/efl.ethumb.pxd28
-rw-r--r--include/efl.ethumb_client.pxd38
-rw-r--r--include/efl.evas.enums.pxd251
-rw-r--r--include/efl.evas.pxd320
20 files changed, 3417 insertions, 753 deletions
diff --git a/include/efl.c_ethumb.pxd b/include/efl.c_ethumb.pxd
index bb586c2..f1f96b7 100644
--- a/include/efl.c_ethumb.pxd
+++ b/include/efl.c_ethumb.pxd
@@ -17,25 +17,12 @@
17 17
18from efl.eina cimport Eina_Bool, Eina_Free_Cb 18from efl.eina cimport Eina_Bool, Eina_Free_Cb
19 19
20from efl.ethumb.enums cimport Ethumb_Thumb_Orientation, \
21 Ethumb_Thumb_FDO_Size, Ethumb_Thumb_Format, Ethumb_Thumb_Aspect
20 22
21cdef extern from "Ethumb.h": 23cdef extern from "Ethumb.h":
22 24
23 #################################################################### 25 ####################################################################
24 # Enums
25 #
26 ctypedef enum Ethumb_Thumb_Orientation:
27 pass
28
29 ctypedef enum Ethumb_Thumb_FDO_Size:
30 pass
31
32 ctypedef enum Ethumb_Thumb_Format:
33 pass
34
35 ctypedef enum Ethumb_Thumb_Aspect:
36 pass
37
38 ####################################################################
39 # Structs 26 # Structs
40 # 27 #
41 ctypedef struct Ethumb 28 ctypedef struct Ethumb
diff --git a/include/efl.ecore.enums.pxd b/include/efl.ecore.enums.pxd
new file mode 100644
index 0000000..1c0e4a5
--- /dev/null
+++ b/include/efl.ecore.enums.pxd
@@ -0,0 +1,88 @@
1cdef extern from "Ecore.h":
2
3 ####################################################################
4 # Define (this are not really correct, but works)
5 #
6 cdef enum:
7 ECORE_EVENT_NONE
8 ECORE_EVENT_SIGNAL_USER
9 ECORE_EVENT_SIGNAL_HUP
10 ECORE_EVENT_SIGNAL_EXIT
11 ECORE_EVENT_SIGNAL_POWER
12 ECORE_EVENT_SIGNAL_REALTIME
13 ECORE_EVENT_MEMORY_STATE
14 ECORE_EVENT_POWER_STATE
15 ECORE_EVENT_LOCALE_CHANGED
16 ECORE_EVENT_HOSTNAME_CHANGED
17 ECORE_EVENT_SYSTEM_TIMEDATE_CHANGED
18 ECORE_EVENT_COUNT
19
20 ECORE_CALLBACK_CANCEL
21 ECORE_CALLBACK_RENEW
22
23 ECORE_CALLBACK_PASS_ON
24 ECORE_CALLBACK_DONE
25
26 ECORE_EXE_PRIORITY_INHERIT
27
28 int ECORE_EXE_EVENT_ADD
29 int ECORE_EXE_EVENT_DEL
30 int ECORE_EXE_EVENT_DATA
31 int ECORE_EXE_EVENT_ERROR
32
33 ####################################################################
34 # Enums
35 #
36 ctypedef enum Ecore_Fd_Handler_Flags:
37 ECORE_FD_READ
38 ECORE_FD_WRITE
39 ECORE_FD_ERROR
40
41 ctypedef enum Ecore_Exe_Flags:
42 ECORE_EXE_NONE
43 ECORE_EXE_PIPE_READ
44 ECORE_EXE_PIPE_WRITE
45 ECORE_EXE_PIPE_ERROR
46 ECORE_EXE_PIPE_READ_LINE_BUFFERED
47 ECORE_EXE_PIPE_ERROR_LINE_BUFFERED
48 ECORE_EXE_PIPE_AUTO
49 ECORE_EXE_RESPAWN
50 ECORE_EXE_USE_SH
51 ECORE_EXE_NOT_LEADER
52 ECORE_EXE_TERM_WITH_PARENT
53
54 ctypedef enum Ecore_Pos_Map:
55 ECORE_POS_MAP_LINEAR
56 ECORE_POS_MAP_ACCELERATE
57 ECORE_POS_MAP_DECELERATE
58 ECORE_POS_MAP_SINUSOIDAL
59 ECORE_POS_MAP_ACCELERATE_FACTOR
60 ECORE_POS_MAP_DECELERATE_FACTOR
61 ECORE_POS_MAP_SINUSOIDAL_FACTOR
62 ECORE_POS_MAP_DIVISOR_INTERP
63 ECORE_POS_MAP_BOUNCE
64 ECORE_POS_MAP_SPRING
65 ECORE_POS_MAP_CUBIC_BEZIER
66
67 ctypedef enum Ecore_Animator_Source:
68 ECORE_ANIMATOR_SOURCE_TIMER
69 ECORE_ANIMATOR_SOURCE_CUSTOM
70
71 ctypedef enum Ecore_Poller_Type:
72 ECORE_POLLER_CORE
73
74
75cdef extern from "Ecore_File.h":
76 ctypedef enum Ecore_File_Event:
77 ECORE_FILE_EVENT_NONE
78 ECORE_FILE_EVENT_CREATED_FILE
79 ECORE_FILE_EVENT_CREATED_DIRECTORY
80 ECORE_FILE_EVENT_DELETED_FILE
81 ECORE_FILE_EVENT_DELETED_DIRECTORY
82 ECORE_FILE_EVENT_DELETED_SELF
83 ECORE_FILE_EVENT_MODIFIED
84 ECORE_FILE_EVENT_CLOSED
85
86 ctypedef enum Ecore_File_Progress_Return:
87 ECORE_FILE_PROGRESS_CONTINUE
88 ECORE_FILE_PROGRESS_ABORT
diff --git a/include/efl.ecore.pxd b/include/efl.ecore.pxd
index b192778..7e0a02b 100644
--- a/include/efl.ecore.pxd
+++ b/include/efl.ecore.pxd
@@ -18,92 +18,14 @@
18from efl.eina cimport * 18from efl.eina cimport *
19from efl.c_eo cimport Eo as cEo 19from efl.c_eo cimport Eo as cEo
20from efl.eo cimport Eo 20from efl.eo cimport Eo
21from efl.ecore.enums cimport Ecore_Fd_Handler_Flags, Ecore_Exe_Flags, \
22 Ecore_Pos_Map, Ecore_Animator_Source, Ecore_Poller_Type, \
23 Ecore_File_Event, Ecore_File_Progress_Return
21 24
22 25
23cdef extern from "Ecore.h": 26cdef extern from "Ecore.h":
24 27
25 #################################################################### 28 ####################################################################
26 # Define (this are not really correct, but works)
27 #
28 cpdef enum:
29 ECORE_EVENT_NONE
30 ECORE_EVENT_SIGNAL_USER
31 ECORE_EVENT_SIGNAL_HUP
32 ECORE_EVENT_SIGNAL_EXIT
33 ECORE_EVENT_SIGNAL_POWER
34 ECORE_EVENT_SIGNAL_REALTIME
35 ECORE_EVENT_MEMORY_STATE
36 ECORE_EVENT_POWER_STATE
37 ECORE_EVENT_LOCALE_CHANGED
38 ECORE_EVENT_HOSTNAME_CHANGED
39 ECORE_EVENT_SYSTEM_TIMEDATE_CHANGED
40 ECORE_EVENT_COUNT
41
42 ECORE_CALLBACK_CANCEL
43 ECORE_CALLBACK_RENEW
44
45 ECORE_CALLBACK_PASS_ON
46 ECORE_CALLBACK_DONE
47
48 ECORE_EXE_PRIORITY_INHERIT
49
50 int ECORE_EXE_EVENT_ADD
51 int ECORE_EXE_EVENT_DEL
52 int ECORE_EXE_EVENT_DATA
53 int ECORE_EXE_EVENT_ERROR
54
55 ####################################################################
56 # Enums
57 #
58 cpdef enum Ecore_Fd_Handler_Flags:
59 ECORE_FD_READ
60 ECORE_FD_WRITE
61 ECORE_FD_ERROR
62 ctypedef enum Ecore_Fd_Handler_Flags:
63 pass
64
65 cpdef enum Ecore_Exe_Flags:
66 ECORE_EXE_NONE
67 ECORE_EXE_PIPE_READ
68 ECORE_EXE_PIPE_WRITE
69 ECORE_EXE_PIPE_ERROR
70 ECORE_EXE_PIPE_READ_LINE_BUFFERED
71 ECORE_EXE_PIPE_ERROR_LINE_BUFFERED
72 ECORE_EXE_PIPE_AUTO
73 ECORE_EXE_RESPAWN
74 ECORE_EXE_USE_SH
75 ECORE_EXE_NOT_LEADER
76 ECORE_EXE_TERM_WITH_PARENT
77 ctypedef enum Ecore_Exe_Flags:
78 pass
79
80 cpdef enum Ecore_Pos_Map:
81 ECORE_POS_MAP_LINEAR
82 ECORE_POS_MAP_ACCELERATE
83 ECORE_POS_MAP_DECELERATE
84 ECORE_POS_MAP_SINUSOIDAL
85 ECORE_POS_MAP_ACCELERATE_FACTOR
86 ECORE_POS_MAP_DECELERATE_FACTOR
87 ECORE_POS_MAP_SINUSOIDAL_FACTOR
88 ECORE_POS_MAP_DIVISOR_INTERP
89 ECORE_POS_MAP_BOUNCE
90 ECORE_POS_MAP_SPRING
91 ECORE_POS_MAP_CUBIC_BEZIER
92 ctypedef enum Ecore_Pos_Map:
93 pass
94
95 cpdef enum Ecore_Animator_Source:
96 ECORE_ANIMATOR_SOURCE_TIMER
97 ECORE_ANIMATOR_SOURCE_CUSTOM
98 ctypedef enum Ecore_Animator_Source:
99 pass
100
101 cpdef enum Ecore_Poller_Type:
102 ECORE_POLLER_CORE
103 ctypedef enum Ecore_Poller_Type:
104 pass
105
106 ####################################################################
107 # Basic Types 29 # Basic Types
108 # 30 #
109 ctypedef cEo Ecore_Timer 31 ctypedef cEo Ecore_Timer
@@ -252,24 +174,6 @@ cdef extern from "Ecore.h":
252 174
253cdef extern from "Ecore_File.h": 175cdef extern from "Ecore_File.h":
254 176
255 cpdef enum Ecore_File_Event:
256 ECORE_FILE_EVENT_NONE
257 ECORE_FILE_EVENT_CREATED_FILE
258 ECORE_FILE_EVENT_CREATED_DIRECTORY
259 ECORE_FILE_EVENT_DELETED_FILE
260 ECORE_FILE_EVENT_DELETED_DIRECTORY
261 ECORE_FILE_EVENT_DELETED_SELF
262 ECORE_FILE_EVENT_MODIFIED
263 ECORE_FILE_EVENT_CLOSED
264 ctypedef enum Ecore_File_Event:
265 pass
266
267 cpdef enum Ecore_File_Progress_Return:
268 ECORE_FILE_PROGRESS_CONTINUE
269 ECORE_FILE_PROGRESS_ABORT
270 ctypedef enum Ecore_File_Progress_Return:
271 pass
272
273 ctypedef struct Ecore_File_Download_Job 177 ctypedef struct Ecore_File_Download_Job
274 ctypedef struct Ecore_File_Monitor 178 ctypedef struct Ecore_File_Monitor
275 179
diff --git a/include/efl.ecore_con.enums.pxd b/include/efl.ecore_con.enums.pxd
new file mode 100644
index 0000000..5b5ac7d
--- /dev/null
+++ b/include/efl.ecore_con.enums.pxd
@@ -0,0 +1,28 @@
1cdef extern from "Ecore_Con.h":
2 # enums
3 ctypedef enum Ecore_Con_Type:
4 ECORE_CON_LOCAL_USER
5 ECORE_CON_LOCAL_SYSTEM
6 ECORE_CON_LOCAL_ABSTRACT
7 ECORE_CON_REMOTE_TCP
8 ECORE_CON_REMOTE_MCAST
9 ECORE_CON_REMOTE_UDP
10 ECORE_CON_REMOTE_BROADCAST
11 ECORE_CON_REMOTE_NODELAY
12 ECORE_CON_REMOTE_CORK
13 ECORE_CON_USE_SSL2
14 ECORE_CON_USE_SSL3
15 ECORE_CON_USE_TLS
16 ECORE_CON_USE_MIXED
17 ECORE_CON_LOAD_CERT
18 ECORE_CON_NO_PROXY
19 ECORE_CON_SOCKET_ACTIVATE
20
21 ctypedef enum Ecore_Con_Url_Time:
22 ECORE_CON_URL_TIME_NONE
23 ECORE_CON_URL_TIME_IFMODSINCE
24 ECORE_CON_URL_TIME_IFUNMODSINCE
25
26 ctypedef enum Ecore_Con_Url_Http_Version:
27 ECORE_CON_URL_HTTP_VERSION_1_0
28 ECORE_CON_URL_HTTP_VERSION_1_1
diff --git a/include/efl.ecore_con.pxd b/include/efl.ecore_con.pxd
new file mode 100644
index 0000000..3617c6d
--- /dev/null
+++ b/include/efl.ecore_con.pxd
@@ -0,0 +1,147 @@
1# Copyright (C) 2007-2016 various contributors (see AUTHORS)
2#
3# This file is part of Python-EFL.
4#
5# Python-EFL is free software; you can redistribute it and/or
6# modify it under the terms of the GNU Lesser General Public
7# License as published by the Free Software Foundation; either
8# version 3 of the License, or (at your option) any later version.
9#
10# Python-EFL is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# Lesser General Public License for more details.
14#
15# You should have received a copy of the GNU Lesser General Public License
16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
17
18
19from efl.eina cimport *
20from efl.c_eo cimport Eo as cEo
21from efl.eo cimport Eo, object_from_instance
22from efl.ecore cimport Ecore_Event_Handler, Event
23from efl.utils.conversions cimport _ctouni, eina_list_strings_to_python_list
24
25from efl.ecore_con.enums cimport Ecore_Con_Type, Ecore_Con_Url_Time, \
26 Ecore_Con_Url_Http_Version
27
28cdef extern from "Ecore_Con.h":
29
30 # where is this defined in real ?
31 cdef struct sockaddr:
32 pass
33
34 # defines
35 int ECORE_CON_EVENT_URL_COMPLETE
36 int ECORE_CON_EVENT_URL_PROGRESS
37 int ECORE_CON_EVENT_URL_DATA
38
39 # typedefs
40 ctypedef cEo Ecore_Con_Url
41
42 ctypedef struct Ecore_Con_Event_Url_Progress_SubParam:
43 double total
44 double now
45
46 ctypedef struct Ecore_Con_Event_Url_Progress:
47 Ecore_Con_Url *url_con
48 Ecore_Con_Event_Url_Progress_SubParam down
49 Ecore_Con_Event_Url_Progress_SubParam up
50
51 ctypedef struct Ecore_Con_Event_Url_Data:
52 Ecore_Con_Url *url_con
53 int size
54 unsigned char *data
55
56 ctypedef struct Ecore_Con_Event_Url_Complete:
57 Ecore_Con_Url *url_con
58 int status
59
60 ctypedef void (*Ecore_Con_Dns_Cb)(const char *canonname, const char *ip,
61 sockaddr *addr, int addrlen, void *data)
62
63
64 # functions
65 int ecore_con_init()
66 int ecore_con_shutdown()
67# Ecore_Con_Server *ecore_con_server_connect(Ecore_Con_Type type, const char *name, int port, const void *data)
68
69 int ecore_con_url_init()
70 int ecore_con_url_shutdown()
71 void ecore_con_url_pipeline_set(Eina_Bool enable)
72 Eina_Bool ecore_con_url_pipeline_get()
73 Eina_Bool ecore_con_lookup(const char *name, Ecore_Con_Dns_Cb done_cb, const void *data)
74
75 Ecore_Con_Url *ecore_con_url_new(const char *url)
76 void ecore_con_url_free(Ecore_Con_Url *url_obj)
77 Ecore_Con_Url * ecore_con_url_custom_new(const char *url, const char *custom_request)
78 void ecore_con_url_verbose_set(Ecore_Con_Url *url_con, Eina_Bool verbose)
79 Eina_Bool ecore_con_url_http_version_set(Ecore_Con_Url *url_con, Ecore_Con_Url_Http_Version version)
80 void ecore_con_url_timeout_set(Ecore_Con_Url *url_con, double timeout)
81 int ecore_con_url_status_code_get(Ecore_Con_Url *url_con)
82 Eina_Bool ecore_con_url_get(Ecore_Con_Url *url_con)
83 Eina_Bool ecore_con_url_head(Ecore_Con_Url *url_con)
84 Eina_Bool ecore_con_url_post(Ecore_Con_Url *url_con, const void *data, long length, const char *content_type)
85 Eina_Bool ecore_con_url_ftp_upload(Ecore_Con_Url *url_con, const char *filename, const char *user, const char *passwd, const char *upload_dir)
86 void ecore_con_url_ftp_use_epsv_set(Ecore_Con_Url *url_con, Eina_Bool use_epsv)
87
88 Eina_Bool ecore_con_url_url_set(Ecore_Con_Url *obj, const char *url)
89 const char *ecore_con_url_url_get(const Ecore_Con_Url *obj)
90 void ecore_con_url_fd_set(Ecore_Con_Url *url_con, int fd)
91
92 void ecore_con_url_additional_header_add(Ecore_Con_Url *url_con, const char *key, const char *value)
93 void ecore_con_url_additional_headers_clear(Ecore_Con_Url *url_con)
94 const Eina_List *ecore_con_url_response_headers_get(Ecore_Con_Url *url_con)
95 int ecore_con_url_received_bytes_get(Ecore_Con_Url *url_con)
96 Eina_Bool ecore_con_url_httpauth_set(Ecore_Con_Url *url_con, const char *username, const char *password, Eina_Bool safe)
97 void ecore_con_url_time(Ecore_Con_Url *url_con, Ecore_Con_Url_Time time_condition, double timestamp)
98
99 void ecore_con_url_cookies_init(Ecore_Con_Url *url_con)
100 void ecore_con_url_cookies_clear(Ecore_Con_Url *url_con)
101 void ecore_con_url_cookies_session_clear(Ecore_Con_Url *url_con)
102 void ecore_con_url_cookies_ignore_old_session_set(Ecore_Con_Url *url_con, Eina_Bool ignore)
103 void ecore_con_url_cookies_file_add(Ecore_Con_Url *url_con, const char *file_name)
104 Eina_Bool ecore_con_url_cookies_jar_file_set(Ecore_Con_Url *url_con, const char *cookiejar_file)
105 void ecore_con_url_cookies_jar_write(Ecore_Con_Url *url_con)
106
107 void ecore_con_url_ssl_verify_peer_set(Ecore_Con_Url *url_con, Eina_Bool verify)
108 int ecore_con_url_ssl_ca_set(Ecore_Con_Url *url_con, const char *ca_path)
109
110 Eina_Bool ecore_con_url_proxy_set(Ecore_Con_Url *url_con, const char *proxy)
111 Eina_Bool ecore_con_url_proxy_username_set(Ecore_Con_Url *url_con, const char *username)
112 Eina_Bool ecore_con_url_proxy_password_set(Ecore_Con_Url *url_con, const char *password)
113
114
115cdef class Url(Eo):
116 pass
117
118cdef class Lookup(object):
119 cdef object done_cb
120 cdef tuple args
121 cdef dict kargs
122
123cdef class EventUrlComplete(Event):
124 cdef readonly Url url
125 cdef readonly int status
126
127
128cdef class EventUrlProgress(Event):
129 cdef readonly Url url
130 cdef readonly double down_total
131 cdef readonly double down_now
132 cdef readonly double up_total
133 cdef readonly double up_now
134
135
136cdef class EventUrlData(Event):
137 cdef readonly Url url
138 cdef readonly int size
139 cdef readonly bytes data
140
141
142cdef class ConEventFilter(object):
143 cdef dict callbacks
144 cdef dict handlers
145 cdef callback_add(self, int ev_type, Eo obj, object func, tuple args, dict kargs)
146 cdef callback_del(self, int ev_type, Eo obj, object func, tuple args, dict kargs)
147 cdef callback_del_full(self, Eo obj)
diff --git a/include/efl.ecore_input.enums.pxd b/include/efl.ecore_input.enums.pxd
new file mode 100644
index 0000000..78f8b24
--- /dev/null
+++ b/include/efl.ecore_input.enums.pxd
@@ -0,0 +1,17 @@
1cdef extern from "Ecore_Input.h":
2 ####################################################################
3 # Enums
4 #
5 ctypedef enum Ecore_Event_Modifier: # this is not really an enum
6 ECORE_EVENT_MODIFIER_SHIFT
7 ECORE_EVENT_MODIFIER_CTRL
8 ECORE_EVENT_MODIFIER_ALT
9 ECORE_EVENT_MODIFIER_WIN
10 ECORE_EVENT_MODIFIER_SCROLL
11 ECORE_EVENT_MODIFIER_NUM
12 ECORE_EVENT_MODIFIER_CAPS
13 ECORE_EVENT_LOCK_SCROLL
14 ECORE_EVENT_LOCK_NUM
15 ECORE_EVENT_LOCK_CAPS
16 ECORE_EVENT_LOCK_SHIFT
17 ECORE_EVENT_MODIFIER_ALTGR
diff --git a/include/efl.ecore_input.pxd b/include/efl.ecore_input.pxd
new file mode 100644
index 0000000..ea6d3c5
--- /dev/null
+++ b/include/efl.ecore_input.pxd
@@ -0,0 +1,225 @@
1# Copyright (C) 2007-2016 various contributors (see AUTHORS)
2#
3# This file is part of Python-EFL.
4#
5# Python-EFL is free software; you can redistribute it and/or
6# modify it under the terms of the GNU Lesser General Public
7# License as published by the Free Software Foundation; either
8# version 3 of the License, or (at your option) any later version.
9#
10# Python-EFL is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# Lesser General Public License for more details.
14#
15# You should have received a copy of the GNU Lesser General Public License
16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
17
18from efl.eina cimport Eina_Bool
19from efl.ecore cimport Ecore_Event_Handler, ecore_event_handler_add, \
20 ecore_event_handler_del
21
22
23cdef extern from "Ecore_Input.h":
24
25 ####################################################################
26 # events (not exposed to python)
27 #
28 int ECORE_EVENT_KEY_DOWN
29 int ECORE_EVENT_KEY_UP
30 int ECORE_EVENT_MOUSE_BUTTON_DOWN
31 int ECORE_EVENT_MOUSE_BUTTON_UP
32 int ECORE_EVENT_MOUSE_MOVE
33 int ECORE_EVENT_MOUSE_IN
34 int ECORE_EVENT_MOUSE_OUT
35 int ECORE_EVENT_MOUSE_WHEEL
36
37 ####################################################################
38 # Data Types
39 #
40 ctypedef void *Ecore_Window
41
42 ctypedef struct _EventPoint:
43 int x
44 int y
45
46 ctypedef struct _EventMulti:
47 int device
48 double radius
49 double radius_x
50 double radius_y
51 double pressure
52 double angle
53 double x
54 double y
55 _EventPoint root
56
57 ctypedef struct Ecore_Event_Key:
58 const char *keyname
59 const char *key
60 const char *string
61 const char *compose
62 Ecore_Window window
63 Ecore_Window root_window
64 Ecore_Window event_window
65 unsigned int timestamp
66 unsigned int modifiers
67 int same_screen
68 unsigned int keycode
69 void *data
70
71 ctypedef struct Ecore_Event_Mouse_Button:
72 Ecore_Window window
73 Ecore_Window root_window
74 Ecore_Window event_window
75 unsigned int timestamp
76 unsigned int modifiers
77 unsigned int buttons
78 unsigned int double_click
79 unsigned int triple_click
80 int same_screen
81 int x
82 int y
83 _EventPoint root
84 _EventMulti multi
85
86 ctypedef struct Ecore_Event_Mouse_Wheel:
87 Ecore_Window window
88 Ecore_Window root_window
89 Ecore_Window event_window
90 unsigned int timestamp
91 unsigned int modifiers
92 int same_screen
93 int direction
94 int z
95 int x
96 int y
97 _EventPoint root
98
99 ctypedef struct Ecore_Event_Mouse_Move:
100 Ecore_Window window
101 Ecore_Window root_window
102 Ecore_Window event_window
103 unsigned int timestamp
104 unsigned int modifiers
105 int same_screen
106 int x
107 int y
108 _EventPoint root
109 _EventMulti multi
110
111 ctypedef struct Ecore_Event_Mouse_IO:
112 Ecore_Window window
113 Ecore_Window event_window
114 unsigned int timestamp
115 unsigned int modifiers
116 int x
117 int y
118
119
120 ####################################################################
121 # Functions
122 #
123 int ecore_event_init()
124 int ecore_event_shutdown()
125
126
127####################################################################
128# Python classes
129#
130from efl.ecore cimport Event, EventHandler
131
132
133cdef class Window:
134 # Can we do something with this opaque stuct ?
135 pass
136
137
138cdef class InputEventHandler(EventHandler):
139 pass
140
141
142cdef class EventPoint:
143 cdef readonly int x
144 cdef readonly int y
145
146
147cdef class EventMulti:
148 cdef readonly int device
149 cdef readonly double radius
150 cdef readonly double radius_x
151 cdef readonly double radius_y
152 cdef readonly double pressure
153 cdef readonly double angle
154 cdef readonly double x
155 cdef readonly double y
156 cdef readonly double root_x
157 cdef readonly double root_y
158
159
160cdef class EventKey(Event):
161 cdef readonly object keyname
162 cdef readonly object key
163 cdef readonly object string
164 cdef readonly object compose
165 ## Can we do something with this Window opaque struct ?
166 # cdef readonly Window window
167 # cdef readonly Window root_window
168 # cdef readonly Window event_window
169 cdef readonly unsigned int modifiers
170 cdef readonly unsigned int timestamp
171 cdef readonly unsigned int keycode
172 cdef readonly object same_screen
173
174
175cdef class EventMouseButton(Event):
176 # cdef readonly Window window
177 # cdef readonly Window root_window
178 # cdef readonly Window event_window
179 cdef readonly unsigned int modifiers
180 cdef readonly unsigned int timestamp
181 cdef readonly unsigned int buttons
182 cdef readonly object double_click
183 cdef readonly object triple_click
184 cdef readonly object same_screen
185 cdef readonly int x
186 cdef readonly int y
187 cdef readonly EventPoint root
188 cdef readonly EventMulti multi
189
190
191cdef class EventMouseMove(Event):
192 # cdef readonly Window window
193 # cdef readonly Window root_window
194 # cdef readonly Window event_window
195 cdef readonly unsigned int modifiers
196 cdef readonly unsigned int timestamp
197 cdef readonly object same_screen
198 cdef readonly int x
199 cdef readonly int y
200 cdef readonly EventPoint root
201 cdef readonly EventMulti multi
202
203
204cdef class EventMouseIO(Event):
205 # cdef readonly Window window
206 # cdef readonly Window event_window
207 cdef readonly unsigned int modifiers
208 cdef readonly unsigned int timestamp
209 cdef readonly int x
210 cdef readonly int y
211
212
213cdef class EventMouseWheel(Event):
214 # cdef readonly Window window
215 # cdef readonly Window root_window
216 # cdef readonly Window event_window
217 cdef readonly unsigned int modifiers
218 cdef readonly unsigned int timestamp
219 cdef readonly object same_screen
220 cdef readonly int direction
221 cdef readonly int z
222 cdef readonly int x
223 cdef readonly int y
224 cdef readonly EventPoint root
225
diff --git a/include/efl.ecore_x.pxd b/include/efl.ecore_x.pxd
new file mode 100644
index 0000000..2e69be8
--- /dev/null
+++ b/include/efl.ecore_x.pxd
@@ -0,0 +1,1629 @@
1# Copyright (C) 2007-2016 various contributors (see AUTHORS)
2#
3# This file is part of Python-EFL.
4#
5# Python-EFL is free software; you can redistribute it and/or
6# modify it under the terms of the GNU Lesser General Public
7# License as published by the Free Software Foundation; either
8# version 3 of the License, or (at your option) any later version.
9#
10# Python-EFL is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# Lesser General Public License for more details.
14#
15# You should have received a copy of the GNU Lesser General Public License
16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
17
18cdef extern from "sys/types.h":
19 ctypedef long pid_t
20
21cdef extern from "Eina.h":
22 ctypedef unsigned char Eina_Bool
23
24cdef extern from "Ecore_Input.h":
25 int ECORE_EVENT_KEY_DOWN
26 int ECORE_EVENT_KEY_UP
27 int ECORE_EVENT_MOUSE_BUTTON_DOWN
28 int ECORE_EVENT_MOUSE_BUTTON_UP
29 int ECORE_EVENT_MOUSE_MOVE
30 int ECORE_EVENT_MOUSE_IN
31 int ECORE_EVENT_MOUSE_OUT
32 int ECORE_EVENT_MOUSE_WHEEL
33
34 ctypedef void *Ecore_Window
35
36 ctypedef struct _Ecore_Point:
37 int x
38 int y
39
40 ctypedef struct Ecore_Event_Key:
41 char *keyname
42 char *key
43 char *string
44 char *compose
45 Ecore_Window window
46 Ecore_Window root_window
47 Ecore_Window event_window
48 unsigned int timestamp
49 unsigned int modifiers
50 int same_screen
51
52
53 ctypedef struct Ecore_Event_Mouse_Button:
54 Ecore_Window window
55 Ecore_Window root_window
56 Ecore_Window event_window
57 unsigned int timestamp
58 unsigned int modifiers
59 unsigned int buttons
60 unsigned int double_click
61 unsigned int triple_click
62 int same_screen
63 int x
64 int y
65 _Ecore_Point root
66
67
68 ctypedef struct Ecore_Event_Mouse_Move:
69 Ecore_Window window
70 Ecore_Window root_window
71 Ecore_Window event_window
72 unsigned int timestamp
73 unsigned int modifiers
74 int same_screen
75 int x
76 int y
77 _Ecore_Point root
78
79
80 ctypedef struct Ecore_Event_Mouse_IO:
81 Ecore_Window window
82 Ecore_Window event_window
83 unsigned int timestamp
84 unsigned int modifiers
85 int x
86 int y
87
88
89 ctypedef struct Ecore_Event_Mouse_Wheel:
90 Ecore_Window window
91 Ecore_Window root_window
92 Ecore_Window event_window
93 unsigned int timestamp
94 unsigned int modifiers
95 int same_screen
96 int direction
97 int z
98 int x
99 int y
100 _Ecore_Point root
101
102
103cdef extern from "Ecore_X.h":
104 ####################################################################
105 # Data Types
106 #
107 ctypedef unsigned int Ecore_X_ID
108 ctypedef Ecore_X_ID Ecore_X_Window
109 ctypedef void *Ecore_X_Visual
110 ctypedef Ecore_X_ID Ecore_X_Pixmap
111 ctypedef Ecore_X_ID Ecore_X_Drawable
112 ctypedef void *Ecore_X_GC
113 ctypedef Ecore_X_ID Ecore_X_Atom
114 ctypedef Ecore_X_ID Ecore_X_Colormap
115 ctypedef Ecore_X_ID Ecore_X_Time
116 ctypedef Ecore_X_ID Ecore_X_Cursor
117 ctypedef void Ecore_X_Display
118 ctypedef void Ecore_X_Connection
119 ctypedef void Ecore_X_Screen
120 ctypedef Ecore_X_ID Ecore_X_Sync_Counter
121 ctypedef Ecore_X_ID Ecore_X_Sync_Alarm
122 ctypedef unsigned short Ecore_X_Randr_Size_ID
123
124 ctypedef struct Ecore_X_Rectangle:
125 int x
126 int y
127 unsigned int width
128 unsigned int height
129
130 ctypedef struct Ecore_X_Icon:
131 unsigned int width
132 unsigned int height
133 unsigned int *data
134
135 ctypedef enum Ecore_X_Randr_Orientation:
136 ECORE_X_RANDR_ORIENTATION_ROT_0
137 ECORE_X_RANDR_ORIENTATION_ROT_90
138 ECORE_X_RANDR_ORIENTATION_ROT_180
139 ECORE_X_RANDR_ORIENTATION_ROT_270
140 ECORE_X_RANDR_ORIENTATION_FLIP_X
141 ECORE_X_RANDR_ORIENTATION_FLIP_Y
142
143 ctypedef enum Ecore_X_Render_Subpixel_Order:
144 ECORE_X_RENDER_SUBPIXEL_ORDER_UNKNOWN
145 ECORE_X_RENDER_SUBPIXEL_ORDER_HORIZONTAL_RGB
146 ECORE_X_RENDER_SUBPIXEL_ORDER_HORIZONTAL_BGR
147 ECORE_X_RENDER_SUBPIXEL_ORDER_VERTICAL_RGB
148 ECORE_X_RENDER_SUBPIXEL_ORDER_VERTICAL_BGR
149 ECORE_X_RENDER_SUBPIXEL_ORDER_NONE
150
151 ctypedef enum Ecore_X_Window_State:
152 ECORE_X_WINDOW_STATE_UNKNOWN
153 ECORE_X_WINDOW_STATE_ICONIFIED
154 ECORE_X_WINDOW_STATE_MODAL
155 ECORE_X_WINDOW_STATE_STICKY
156 ECORE_X_WINDOW_STATE_MAXIMIZED_VERT
157 ECORE_X_WINDOW_STATE_MAXIMIZED_HORZ
158 ECORE_X_WINDOW_STATE_SHADED
159 ECORE_X_WINDOW_STATE_SKIP_TASKBAR
160 ECORE_X_WINDOW_STATE_SKIP_PAGER
161 ECORE_X_WINDOW_STATE_HIDDEN
162 ECORE_X_WINDOW_STATE_FULLSCREEN
163 ECORE_X_WINDOW_STATE_ABOVE
164 ECORE_X_WINDOW_STATE_BELOW
165 ECORE_X_WINDOW_STATE_DEMANDS_ATTENTION
166
167 ctypedef enum Ecore_X_Window_State_Action:
168 ECORE_X_WINDOW_STATE_ACTION_REMOVE
169 ECORE_X_WINDOW_STATE_ACTION_ADD
170 ECORE_X_WINDOW_STATE_ACTION_TOGGLE
171
172 ctypedef enum Ecore_X_Window_Stack_Mode:
173 ECORE_X_WINDOW_STACK_ABOVE
174 ECORE_X_WINDOW_STACK_BELOW
175 ECORE_X_WINDOW_STACK_TOP_IF
176 ECORE_X_WINDOW_STACK_BOTTOM_IF
177 ECORE_X_WINDOW_STACK_OPPOSITE
178
179 ctypedef enum Ecore_X_Randr_Rotation:
180 ECORE_X_RANDR_ROT_0
181 ECORE_X_RANDR_ROT_90
182 ECORE_X_RANDR_ROT_180
183 ECORE_X_RANDR_ROT_270
184 ECORE_X_RANDR_FLIP_X
185 ECORE_X_RANDR_FLIP_Y
186
187 char *ECORE_X_SELECTION_TARGET_TARGETS
188 char *ECORE_X_SELECTION_TARGET_TEXT
189 char *ECORE_X_SELECTION_TARGET_COMPOUND_TEXT
190 char *ECORE_X_SELECTION_TARGET_STRING
191 char *ECORE_X_SELECTION_TARGET_UTF8_STRING
192 char *ECORE_X_SELECTION_TARGET_FILENAME
193
194 int ECORE_X_DND_VERSION
195
196 Ecore_X_Atom ECORE_X_DND_ACTION_COPY
197 Ecore_X_Atom ECORE_X_DND_ACTION_MOVE
198 Ecore_X_Atom ECORE_X_DND_ACTION_LINK
199 Ecore_X_Atom ECORE_X_DND_ACTION_ASK
200 Ecore_X_Atom ECORE_X_DND_ACTION_PRIVATE
201
202 ctypedef enum Ecore_X_Selection:
203 ECORE_X_SELECTION_PRIMARY
204 ECORE_X_SELECTION_SECONDARY
205 ECORE_X_SELECTION_XDND
206 ECORE_X_SELECTION_CLIPBOARD
207
208 ctypedef enum Ecore_X_Event_Mode:
209 ECORE_X_EVENT_MODE_NORMAL
210 ECORE_X_EVENT_MODE_WHILE_GRABBED
211 ECORE_X_EVENT_MODE_GRAB
212 ECORE_X_EVENT_MODE_UNGRAB
213
214 ctypedef enum Ecore_X_Event_Detail:
215 ECORE_X_EVENT_DETAIL_ANCESTOR
216 ECORE_X_EVENT_DETAIL_VIRTUAL
217 ECORE_X_EVENT_DETAIL_INFERIOR
218 ECORE_X_EVENT_DETAIL_NON_LINEAR
219 ECORE_X_EVENT_DETAIL_NON_LINEAR_VIRTUAL
220 ECORE_X_EVENT_DETAIL_POINTER
221 ECORE_X_EVENT_DETAIL_POINTER_ROOT
222 ECORE_X_EVENT_DETAIL_DETAIL_NONE
223
224 ctypedef enum Ecore_X_Event_Mask:
225 ECORE_X_EVENT_MASK_NONE
226 ECORE_X_EVENT_MASK_KEY_DOWN
227 ECORE_X_EVENT_MASK_KEY_UP
228 ECORE_X_EVENT_MASK_MOUSE_DOWN
229 ECORE_X_EVENT_MASK_MOUSE_UP
230 ECORE_X_EVENT_MASK_MOUSE_IN
231 ECORE_X_EVENT_MASK_MOUSE_OUT
232 ECORE_X_EVENT_MASK_MOUSE_MOVE
233 ECORE_X_EVENT_MASK_WINDOW_DAMAGE
234 ECORE_X_EVENT_MASK_WINDOW_VISIBILITY
235 ECORE_X_EVENT_MASK_WINDOW_CONFIGURE
236 ECORE_X_EVENT_MASK_WINDOW_RESIZE_MANAGE
237 ECORE_X_EVENT_MASK_WINDOW_MANAGE
238 ECORE_X_EVENT_MASK_WINDOW_CHILD_CONFIGURE
239 ECORE_X_EVENT_MASK_WINDOW_FOCUS_CHANGE
240 ECORE_X_EVENT_MASK_WINDOW_PROPERTY
241 ECORE_X_EVENT_MASK_WINDOW_COLORMAP
242 ECORE_X_EVENT_MASK_WINDOW_GRAB
243 ECORE_X_EVENT_MASK_MOUSE_WHEEL
244 ECORE_X_EVENT_MASK_WINDOW_FOCUS_IN
245 ECORE_X_EVENT_MASK_WINDOW_FOCUS_OUT
246
247 ctypedef enum Ecore_X_Gravity:
248 ECORE_X_GRAVITY_FORGET
249 ECORE_X_GRAVITY_UNMAP
250 ECORE_X_GRAVITY_NW
251 ECORE_X_GRAVITY_N
252 ECORE_X_GRAVITY_NE
253 ECORE_X_GRAVITY_W
254 ECORE_X_GRAVITY_CENTER
255 ECORE_X_GRAVITY_E
256 ECORE_X_GRAVITY_SW
257 ECORE_X_GRAVITY_S
258 ECORE_X_GRAVITY_SE
259 ECORE_X_GRAVITY_STATIC
260
261 ctypedef enum Ecore_X_Shape_Type:
262 ECORE_X_SHAPE_BOUNDING
263 ECORE_X_SHAPE_CLIP
264
265 ctypedef struct Ecore_X_Event_Window_Focus_In:
266 Ecore_X_Window win
267 Ecore_X_Event_Mode mode
268 Ecore_X_Event_Detail detail
269 Ecore_X_Time time
270
271
272 ctypedef struct Ecore_X_Event_Window_Focus_Out:
273 Ecore_X_Window win
274 Ecore_X_Event_Mode mode
275 Ecore_X_Event_Detail detail
276 Ecore_X_Time time
277
278
279 ctypedef struct Ecore_X_Event_Window_Keymap:
280 Ecore_X_Window win
281
282
283 ctypedef struct Ecore_X_Event_Window_Damage:
284 Ecore_X_Window win
285 int x
286 int y
287 int w
288 int h
289 int count
290 Ecore_X_Time time
291
292
293 ctypedef struct Ecore_X_Event_Window_Visibility_Change:
294 Ecore_X_Window win
295 int fully_obscured
296 Ecore_X_Time time
297
298
299 ctypedef struct Ecore_X_Event_Window_Create:
300 Ecore_X_Window win
301 int override
302 Ecore_X_Time time
303
304
305 ctypedef struct Ecore_X_Event_Window_Destroy:
306 Ecore_X_Window win
307 Ecore_X_Time time
308
309
310 ctypedef struct Ecore_X_Event_Window_Hide:
311 Ecore_X_Window win
312 Ecore_X_Time time
313
314
315 ctypedef struct Ecore_X_Event_Window_Show:
316 Ecore_X_Window win
317 Ecore_X_Time time
318
319
320 ctypedef struct Ecore_X_Event_Window_Show_Request:
321 Ecore_X_Window win
322 Ecore_X_Window parent
323 Ecore_X_Time time
324
325
326 ctypedef struct Ecore_X_Event_Window_Reparent:
327 Ecore_X_Window win
328 Ecore_X_Window parent
329 Ecore_X_Time time
330
331
332 ctypedef struct Ecore_X_Event_Window_Configure:
333 Ecore_X_Window win
334 Ecore_X_Window abovewin
335 int x
336 int y
337 int w
338 int h
339 int border
340 unsigned int override
341 unsigned int from_wm
342 Ecore_X_Time time
343
344
345 ctypedef struct Ecore_X_Event_Window_Configure_Request:
346 Ecore_X_Window win
347 Ecore_X_Window abovewin
348 int x
349 int y
350 int w
351 int h
352 int border
353 Ecore_X_Window_Stack_Mode detail
354 unsigned long value_mask
355 Ecore_X_Time time
356
357
358 ctypedef struct Ecore_X_Event_Window_Gravity:
359 Ecore_X_Window win
360 Ecore_X_Time time
361
362
363 ctypedef struct Ecore_X_Event_Window_Resize_Request:
364 Ecore_X_Window win
365 int w
366 int h
367 Ecore_X_Time time
368
369
370 ctypedef struct Ecore_X_Event_Window_Stack:
371 Ecore_X_Window win
372 Ecore_X_Window event_win
373 Ecore_X_Window_Stack_Mode detail
374 Ecore_X_Time time
375
376
377 ctypedef struct Ecore_X_Event_Window_Stack_Request:
378 Ecore_X_Window win
379 Ecore_X_Window parent
380 Ecore_X_Window_Stack_Mode detail
381 Ecore_X_Time time
382
383
384 ctypedef struct Ecore_X_Event_Window_Property:
385 Ecore_X_Window win
386 Ecore_X_Atom atom
387 Ecore_X_Time time
388
389
390 ctypedef struct Ecore_X_Event_Window_Colormap:
391 Ecore_X_Window win
392 Ecore_X_Colormap cmap
393 int installed
394 Ecore_X_Time time
395
396
397 ctypedef struct Ecore_X_Event_Selection_Clear:
398 Ecore_X_Window win
399 Ecore_X_Selection selection
400 Ecore_X_Time time
401
402
403 ctypedef struct Ecore_X_Event_Selection_Request:
404 Ecore_X_Window owner
405 Ecore_X_Window requestor
406 Ecore_X_Time time
407 Ecore_X_Atom selection
408 Ecore_X_Atom target
409 Ecore_X_Atom property
410
411
412 ctypedef struct Ecore_X_Event_Selection_Notify:
413 Ecore_X_Window win
414 Ecore_X_Time time
415 Ecore_X_Selection selection
416 char *target
417 void *data
418
419
420 ctypedef enum _Ecore_X_Selection_Data_Content:
421 ECORE_X_SELECTION_CONTENT_NONE
422 ECORE_X_SELECTION_CONTENT_TEXT
423 ECORE_X_SELECTION_CONTENT_FILES
424 ECORE_X_SELECTION_CONTENT_TARGETS
425 ECORE_X_SELECTION_CONTENT_CUSTOM
426
427
428 ctypedef struct Ecore_X_Selection_Data:
429 _Ecore_X_Selection_Data_Content content
430 unsigned char *data
431 int length
432 int format
433 int (*free)(void *data)
434
435
436 ctypedef struct Ecore_X_Selection_Data_Files:
437 Ecore_X_Selection_Data data
438 char **files
439 int num_files
440
441
442 ctypedef struct Ecore_X_Selection_Data_Text:
443 Ecore_X_Selection_Data data
444 char *text
445
446
447 ctypedef struct Ecore_X_Selection_Data_Targets:
448 Ecore_X_Selection_Data data
449 char **targets
450 int num_targets
451
452
453 ctypedef struct Ecore_X_Event_Xdnd_Enter:
454 Ecore_X_Window win
455 Ecore_X_Window source
456 char **types
457 int num_types
458
459
460 ctypedef struct Ecore_X_Event_Xdnd_Position:
461 Ecore_X_Window win
462 Ecore_X_Window source
463 _Ecore_Point position
464 Ecore_X_Atom action
465
466
467 ctypedef struct Ecore_X_Event_Xdnd_Status:
468 Ecore_X_Window win
469 Ecore_X_Window target
470 int will_accept
471 Ecore_X_Rectangle rectangle
472 Ecore_X_Atom action
473
474
475 ctypedef struct Ecore_X_Event_Xdnd_Leave:
476 Ecore_X_Window win
477 Ecore_X_Window source
478
479
480 ctypedef struct Ecore_X_Event_Xdnd_Drop:
481 Ecore_X_Window win
482 Ecore_X_Window source
483 Ecore_X_Atom action
484 _Ecore_Point position
485
486
487 ctypedef struct Ecore_X_Event_Xdnd_Finished:
488 Ecore_X_Window win
489 Ecore_X_Window target
490 int completed
491 Ecore_X_Atom action
492
493
494 ctypedef union _Ecore_X_Event_Client_Message_Data:
495 char b[20]
496 short s[10]
497 long l[5]
498
499 ctypedef struct Ecore_X_Event_Client_Message:
500 Ecore_X_Window win
501 Ecore_X_Atom message_type
502 int format
503 _Ecore_X_Event_Client_Message_Data data
504 Ecore_X_Time time
505
506
507 ctypedef struct Ecore_X_Event_Window_Shape:
508 Ecore_X_Window win
509 Ecore_X_Time time
510
511
512 ctypedef struct Ecore_X_Event_Screensaver_Notify:
513 Ecore_X_Window win
514 int on
515 Ecore_X_Time time
516
517
518 ctypedef struct Ecore_X_Event_Sync_Counter:
519 Ecore_X_Time time
520
521
522 ctypedef struct Ecore_X_Event_Sync_Alarm:
523 Ecore_X_Time time
524 Ecore_X_Sync_Alarm alarm
525
526
527 ctypedef struct Ecore_X_Randr_Screen_Size_MM:
528 int width
529 int height
530 int width_mm
531 int height_mm
532
533
534 ctypedef struct Ecore_X_Event_Screen_Change:
535 Ecore_X_Window win
536 Ecore_X_Window root
537 Ecore_X_Randr_Screen_Size_MM size
538 Ecore_X_Time time
539 Ecore_X_Time config_time
540 Ecore_X_Randr_Orientation orientation
541 Ecore_X_Render_Subpixel_Order subpixel_order
542 Ecore_X_Randr_Size_ID size_id
543
544
545 ctypedef struct Ecore_X_Event_Window_Delete_Request:
546 Ecore_X_Window win
547 Ecore_X_Time time
548
549
550 ctypedef struct Ecore_X_Event_Startup_Sequence:
551 Ecore_X_Window win
552
553
554 ctypedef struct Ecore_X_Event_Window_Move_Resize_Request:
555 Ecore_X_Window win
556 int x
557 int y
558 int direction
559 int button
560 int source
561
562
563 ctypedef struct Ecore_X_Event_Window_State_Request:
564 Ecore_X_Window win
565 Ecore_X_Window_State_Action action
566 Ecore_X_Window_State state[2]
567 int source
568
569
570 ctypedef struct Ecore_X_Event_Frame_Extents_Request:
571 Ecore_X_Window win
572
573
574 ctypedef struct Ecore_X_Event_Ping:
575 Ecore_X_Window win
576 Ecore_X_Window event_win
577 Ecore_X_Time time
578
579
580 ctypedef struct Ecore_X_Event_Desktop_Change:
581 Ecore_X_Window win
582 unsigned int desk
583 int source
584
585
586 ctypedef struct Ecore_X_Event_Startup_Sequence:
587 Ecore_X_Window win
588
589
590 ctypedef struct Ecore_X_Event_Window_Move_Resize_Request:
591 Ecore_X_Window win
592 int x
593 int y
594 int direction
595 int button
596 int source
597
598
599 ctypedef struct Ecore_X_Event_Window_State_Request:
600 Ecore_X_Window win
601 Ecore_X_Window_State_Action action
602 Ecore_X_Window_State state[2]
603 int source
604
605
606 ctypedef struct Ecore_X_Event_Frame_Extents_Request:
607 Ecore_X_Window win
608
609
610 ctypedef struct Ecore_X_Event_Ping:
611 Ecore_X_Window win
612 Ecore_X_Window event_win
613 Ecore_X_Time time
614
615
616 ctypedef struct Ecore_X_Event_Desktop_Change:
617 Ecore_X_Window win
618 unsigned int desk
619 int source
620
621 int ECORE_X_EVENT_MOUSE_IN
622 int ECORE_X_EVENT_MOUSE_OUT
623 int ECORE_X_EVENT_WINDOW_FOCUS_IN
624 int ECORE_X_EVENT_WINDOW_FOCUS_OUT
625 int ECORE_X_EVENT_WINDOW_KEYMAP
626 int ECORE_X_EVENT_WINDOW_DAMAGE
627 int ECORE_X_EVENT_WINDOW_VISIBILITY_CHANGE
628 int ECORE_X_EVENT_WINDOW_CREATE
629 int ECORE_X_EVENT_WINDOW_DESTROY
630 int ECORE_X_EVENT_WINDOW_HIDE
631 int ECORE_X_EVENT_WINDOW_SHOW
632 int ECORE_X_EVENT_WINDOW_SHOW_REQUEST
633 int ECORE_X_EVENT_WINDOW_REPARENT
634 int ECORE_X_EVENT_WINDOW_CONFIGURE
635 int ECORE_X_EVENT_WINDOW_CONFIGURE_REQUEST
636 int ECORE_X_EVENT_WINDOW_GRAVITY
637 int ECORE_X_EVENT_WINDOW_RESIZE_REQUEST
638 int ECORE_X_EVENT_WINDOW_STACK
639 int ECORE_X_EVENT_WINDOW_STACK_REQUEST
640 int ECORE_X_EVENT_WINDOW_PROPERTY
641 int ECORE_X_EVENT_WINDOW_COLORMAP
642 int ECORE_X_EVENT_WINDOW_MAPPING
643 int ECORE_X_EVENT_SELECTION_CLEAR
644 int ECORE_X_EVENT_SELECTION_REQUEST
645 int ECORE_X_EVENT_SELECTION_NOTIFY
646 int ECORE_X_EVENT_CLIENT_MESSAGE
647 int ECORE_X_EVENT_WINDOW_SHAPE
648 int ECORE_X_EVENT_SCREENSAVER_NOTIFY
649 int ECORE_X_EVENT_SYNC_COUNTER
650 int ECORE_X_EVENT_SYNC_ALARM
651 int ECORE_X_EVENT_SCREEN_CHANGE
652 int ECORE_X_EVENT_RANDR_CRTC_CHANGE
653 int ECORE_X_EVENT_RANDR_OUTPUT_CHANGE
654 int ECORE_X_EVENT_RANDR_OUTPUT_PROPERTY_NOTIFY
655 int ECORE_X_EVENT_DAMAGE_NOTIFY
656
657 int ECORE_X_EVENT_WINDOW_DELETE_REQUEST
658
659 int ECORE_X_EVENT_WINDOW_MOVE_RESIZE_REQUEST
660 int ECORE_X_EVENT_WINDOW_STATE_REQUEST
661 int ECORE_X_EVENT_FRAME_EXTENTS_REQUEST
662 int ECORE_X_EVENT_PING
663 int ECORE_X_EVENT_DESKTOP_CHANGE
664
665 int ECORE_X_EVENT_STARTUP_SEQUENCE_NEW
666 int ECORE_X_EVENT_STARTUP_SEQUENCE_CHANGE
667 int ECORE_X_EVENT_STARTUP_SEQUENCE_REMOVE
668
669 int ECORE_X_EVENT_XDND_ENTER
670 int ECORE_X_EVENT_XDND_POSITION
671 int ECORE_X_EVENT_XDND_STATUS
672 int ECORE_X_EVENT_XDND_LEAVE
673 int ECORE_X_EVENT_XDND_DROP
674 int ECORE_X_EVENT_XDND_FINISHED
675
676 int ECORE_X_MODIFIER_SHIFT
677 int ECORE_X_MODIFIER_CTRL
678 int ECORE_X_MODIFIER_ALT
679 int ECORE_X_MODIFIER_WIN
680
681 int ECORE_X_LOCK_SCROLL
682 int ECORE_X_LOCK_NUM
683 int ECORE_X_LOCK_CAPS
684
685 ctypedef enum Ecore_X_WM_Protocol:
686 ECORE_X_WM_PROTOCOL_DELETE_REQUEST
687 ECORE_X_WM_PROTOCOL_TAKE_FOCUS
688 ECORE_X_NET_WM_PROTOCOL_PING
689 ECORE_X_NET_WM_PROTOCOL_SYNC_REQUEST
690 ECORE_X_WM_PROTOCOL_NUM
691
692 ctypedef enum Ecore_X_Window_Input_Mode:
693 ECORE_X_WINDOW_INPUT_MODE_NONE
694 ECORE_X_WINDOW_INPUT_MODE_PASSIVE
695 ECORE_X_WINDOW_INPUT_MODE_ACTIVE_LOCAL
696 ECORE_X_WINDOW_INPUT_MODE_ACTIVE_GLOBAL
697
698 ctypedef enum Ecore_X_Window_State_Hint:
699 ECORE_X_WINDOW_STATE_HINT_NONE
700 ECORE_X_WINDOW_STATE_HINT_WITHDRAWN
701 ECORE_X_WINDOW_STATE_HINT_NORMAL
702 ECORE_X_WINDOW_STATE_HINT_ICONIC
703
704 ctypedef enum Ecore_X_Window_Type:
705 ECORE_X_WINDOW_TYPE_UNKNOWN
706 ECORE_X_WINDOW_TYPE_DESKTOP
707 ECORE_X_WINDOW_TYPE_DOCK
708 ECORE_X_WINDOW_TYPE_TOOLBAR
709 ECORE_X_WINDOW_TYPE_MENU
710 ECORE_X_WINDOW_TYPE_UTILITY
711 ECORE_X_WINDOW_TYPE_SPLASH
712 ECORE_X_WINDOW_TYPE_DIALOG
713 ECORE_X_WINDOW_TYPE_NORMAL
714
715 ctypedef enum Ecore_X_Action:
716 ECORE_X_ACTION_MOVE
717 ECORE_X_ACTION_RESIZE
718 ECORE_X_ACTION_MINIMIZE
719 ECORE_X_ACTION_SHADE
720 ECORE_X_ACTION_STICK
721 ECORE_X_ACTION_MAXIMIZE_HORZ
722 ECORE_X_ACTION_MAXIMIZE_VERT
723 ECORE_X_ACTION_FULLSCREEN
724 ECORE_X_ACTION_CHANGE_DESKTOP
725 ECORE_X_ACTION_CLOSE
726
727 ctypedef enum Ecore_X_Window_Configure_Mask:
728 ECORE_X_WINDOW_CONFIGURE_MASK_X
729 ECORE_X_WINDOW_CONFIGURE_MASK_Y
730 ECORE_X_WINDOW_CONFIGURE_MASK_W
731 ECORE_X_WINDOW_CONFIGURE_MASK_H
732 ECORE_X_WINDOW_CONFIGURE_MASK_BORDER_WIDTH
733 ECORE_X_WINDOW_CONFIGURE_MASK_SIBLING
734 ECORE_X_WINDOW_CONFIGURE_MASK_STACK_MODE
735
736 int ECORE_X_WINDOW_LAYER_BELOW
737 int ECORE_X_WINDOW_LAYER_NORMAL
738 int ECORE_X_WINDOW_LAYER_ABOVE
739 int ECORE_X_PROP_LIST_REMOVE
740 int ECORE_X_PROP_LIST_ADD
741 int ECORE_X_PROP_LIST_TOGGLE
742
743 ctypedef enum Ecore_X_MWM_Hint_Func:
744 ECORE_X_MWM_HINT_FUNC_ALL
745 ECORE_X_MWM_HINT_FUNC_RESIZE
746 ECORE_X_MWM_HINT_FUNC_MOVE
747 ECORE_X_MWM_HINT_FUNC_MINIMIZE
748 ECORE_X_MWM_HINT_FUNC_MAXIMIZE
749 ECORE_X_MWM_HINT_FUNC_CLOSE
750
751 ctypedef enum Ecore_X_MWM_Hint_Decor:
752 ECORE_X_MWM_HINT_DECOR_ALL
753 ECORE_X_MWM_HINT_DECOR_BORDER
754 ECORE_X_MWM_HINT_DECOR_RESIZEH
755 ECORE_X_MWM_HINT_DECOR_TITLE
756 ECORE_X_MWM_HINT_DECOR_MENU
757 ECORE_X_MWM_HINT_DECOR_MINIMIZE
758 ECORE_X_MWM_HINT_DECOR_MAXIMIZE
759
760 ctypedef enum Ecore_X_MWM_Hint_Input:
761 ECORE_X_MWM_HINT_INPUT_MODELESS
762 ECORE_X_MWM_HINT_INPUT_PRIMARY_APPLICATION_MODAL
763 ECORE_X_MWM_HINT_INPUT_SYSTEM_MODAL
764 ECORE_X_MWM_HINT_INPUT_FULL_APPLICATION_MODAL
765
766 ctypedef struct _Ecore_X_Window_Attributes_Event_Mask:
767 Ecore_X_Event_Mask mine
768 Ecore_X_Event_Mask all
769 Ecore_X_Event_Mask no_propagate
770
771 ctypedef struct Ecore_X_Window_Attributes:
772 Ecore_X_Window root
773 int x
774 int y
775 int w
776 int h
777 int border
778 int depth
779 unsigned char visible
780 unsigned char viewable
781 unsigned char override
782 unsigned char input_only
783 unsigned char save_under
784 _Ecore_X_Window_Attributes_Event_Mask event_mask
785 Ecore_X_Gravity window_gravity
786 Ecore_X_Gravity pixel_gravity
787 Ecore_X_Colormap colormap
788 Ecore_X_Visual visual
789
790 ctypedef struct Ecore_X_Screen_Size:
791 int width
792 int height
793
794 ctypedef struct Ecore_X_Screen_Refresh_Rate:
795 int rate
796
797 ctypedef Ecore_X_ID Ecore_X_Picture
798 ctypedef Ecore_X_ID Ecore_X_Region
799 ctypedef enum Ecore_X_Region_Type:
800 ECORE_X_REGION_BOUNDING
801 ECORE_X_REGION_CLIP
802
803 ctypedef Ecore_X_ID Ecore_X_Picture
804 ctypedef Ecore_X_ID Ecore_X_Region
805 ctypedef enum Ecore_X_Region_Type:
806 ECORE_X_REGION_BOUNDING
807 ECORE_X_REGION_CLIP
808
809 ctypedef Ecore_X_ID Ecore_X_Damage
810
811 ctypedef enum Ecore_X_Damage_Report_Level:
812 ECORE_X_DAMAGE_REPORT_RAW_RECTANGLES
813 ECORE_X_DAMAGE_REPORT_DELTA_RECTANGLES
814 ECORE_X_DAMAGE_REPORT_BOUNDING_BOX
815 ECORE_X_DAMAGE_REPORT_NON_EMPTY
816
817 ctypedef struct Ecore_X_Event_Damage:
818 Ecore_X_Damage_Report_Level level
819 Ecore_X_Drawable drawable
820 Ecore_X_Damage damage
821 int more
822 Ecore_X_Time time
823 Ecore_X_Rectangle area
824 Ecore_X_Rectangle geometry
825
826
827 ####################################################################
828 # Functions
829 #
830 int ecore_x_init(char *name)
831 int ecore_x_shutdown()
832 int ecore_x_disconnect()
833 Ecore_X_Display *ecore_x_display_get()
834 Ecore_X_Connection *ecore_x_connection_get()
835 int ecore_x_fd_get()
836 Ecore_X_Screen *ecore_x_default_screen_get()
837 void ecore_x_double_click_time_set(double t)
838 double ecore_x_double_click_time_get()
839 void ecore_x_flush()
840 void ecore_x_sync()
841 void ecore_x_killall(Ecore_X_Window root)
842 void ecore_x_kill(Ecore_X_Window win)
843
844 Ecore_X_Time ecore_x_current_time_get()
845
846 void ecore_x_error_handler_set(void (*func) (void *data), void *data)
847 void ecore_x_io_error_handler_set(void (*func) (void *data), void *data)
848 int ecore_x_error_request_get()
849 int ecore_x_error_code_get()
850
851 void ecore_x_event_mask_set(Ecore_X_Window w, Ecore_X_Event_Mask mask)
852 void ecore_x_event_mask_unset(Ecore_X_Window w, Ecore_X_Event_Mask mask)
853
854 int ecore_x_selection_notify_send(Ecore_X_Window requestor, Ecore_X_Atom selection, Ecore_X_Atom target, Ecore_X_Atom property, Ecore_X_Time time)
855 void ecore_x_selection_primary_prefetch()
856 void ecore_x_selection_primary_fetch()
857 int ecore_x_selection_primary_set(Ecore_X_Window w, void *data, int size)
858 int ecore_x_selection_primary_clear()
859 void ecore_x_selection_secondary_prefetch()
860 void ecore_x_selection_secondary_fetch()
861 int ecore_x_selection_secondary_set(Ecore_X_Window w, void *data, int size)
862 int ecore_x_selection_secondary_clear()
863 void ecore_x_selection_xdnd_prefetch()
864 void ecore_x_selection_xdnd_fetch()
865 int ecore_x_selection_xdnd_set(Ecore_X_Window w, void *data, int size)
866 int ecore_x_selection_xdnd_clear()
867 void ecore_x_selection_clipboard_prefetch()
868 void ecore_x_selection_clipboard_fetch()
869 int ecore_x_selection_clipboard_set(Ecore_X_Window w, void *data, int size)
870 int ecore_x_selection_clipboard_clear()
871 void ecore_x_selection_primary_request(Ecore_X_Window w, char *target)
872 void ecore_x_selection_secondary_request(Ecore_X_Window w, char *target)
873 void ecore_x_selection_xdnd_request(Ecore_X_Window w, char *target)
874 void ecore_x_selection_clipboard_request(Ecore_X_Window w, char *target)
875 int ecore_x_selection_convert(Ecore_X_Atom selection, Ecore_X_Atom target, void **data_ret)
876 void ecore_x_selection_converter_add(char *target, int (*func)(char *target, void *data, int size, void **data_ret, int *size_ret))
877 void ecore_x_selection_converter_atom_add(Ecore_X_Atom target, int (*func)(char *target, void *data, int size, void **data_ret, int *size_ret))
878 void ecore_x_selection_converter_del(char *target)
879 void ecore_x_selection_converter_atom_del(Ecore_X_Atom target)
880 void ecore_x_selection_parser_add(char *target, void *(*func)(char *target, void *data, int size, int format))
881 void ecore_x_selection_parser_del(char *target)
882
883 void ecore_x_dnd_aware_set(Ecore_X_Window win, int on)
884 void ecore_x_dnd_version_get_prefetch(Ecore_X_Window window)
885 void ecore_x_dnd_version_get_fetch()
886 int ecore_x_dnd_version_get(Ecore_X_Window win)
887 void ecore_x_dnd_type_get_prefetch(Ecore_X_Window window)
888 void ecore_x_dnd_type_get_fetch()
889 int ecore_x_dnd_type_isset(Ecore_X_Window win, char *type)
890 void ecore_x_dnd_type_set(Ecore_X_Window win, char *type, int on)
891 void ecore_x_dnd_types_set(Ecore_X_Window win, char **types, unsigned int num_types)
892 void ecore_x_dnd_actions_set(Ecore_X_Window win, Ecore_X_Atom *actions, unsigned int num_actions)
893 void ecore_x_dnd_begin_prefetch(Ecore_X_Window source)
894 void ecore_x_dnd_begin_fetch()
895 int ecore_x_dnd_begin(Ecore_X_Window source, unsigned char *data, int size)
896 int ecore_x_dnd_drop()
897 void ecore_x_dnd_send_status(int will_accept, int suppress, Ecore_X_Rectangle rectangle, Ecore_X_Atom action)
898 void ecore_x_dnd_send_finished()
899
900 Ecore_X_Window ecore_x_window_new(Ecore_X_Window parent, int x, int y, int w, int h)
901 Ecore_X_Window ecore_x_window_override_new(Ecore_X_Window parent, int x, int y, int w, int h)
902 int ecore_x_window_argb_get(Ecore_X_Window win)
903 Ecore_X_Window ecore_x_window_manager_argb_new(Ecore_X_Window parent, int x, int y, int w, int h)
904 Ecore_X_Window ecore_x_window_argb_new(Ecore_X_Window parent, int x, int y, int w, int h)
905 Ecore_X_Window ecore_x_window_override_argb_new(Ecore_X_Window parent, int x, int y, int w, int h)
906 Ecore_X_Window ecore_x_window_input_new(Ecore_X_Window parent, int x, int y, int w, int h)
907 void ecore_x_window_configure(Ecore_X_Window win, Ecore_X_Window_Configure_Mask mask, int x, int y, int w, int h, int border_width, Ecore_X_Window sibling, int stack_mode)
908 void ecore_x_window_cursor_set(Ecore_X_Window win, Ecore_X_Cursor c)
909 void ecore_x_window_free(Ecore_X_Window win)
910 void ecore_x_window_ignore_set(Ecore_X_Window win, int ignore)
911 Ecore_X_Window *ecore_x_window_ignore_list(int *num)
912
913 void ecore_x_window_delete_request_send(Ecore_X_Window win)
914 void ecore_x_window_show(Ecore_X_Window win)
915 void ecore_x_window_hide(Ecore_X_Window win)
916 void ecore_x_window_move(Ecore_X_Window win, int x, int y)
917 void ecore_x_window_resize(Ecore_X_Window win, int w, int h)
918 void ecore_x_window_move_resize(Ecore_X_Window win, int x, int y, int w, int h)
919 void ecore_x_window_focus(Ecore_X_Window win)
920 void ecore_x_window_focus_at_time(Ecore_X_Window win, Ecore_X_Time t)
921 void ecore_x_get_input_focus_prefetch()
922 void ecore_x_get_input_focus_fetch()
923 Ecore_X_Window ecore_x_window_focus_get()
924 void ecore_x_window_raise(Ecore_X_Window win)
925 void ecore_x_window_lower(Ecore_X_Window win)
926 void ecore_x_window_reparent(Ecore_X_Window win, Ecore_X_Window new_parent, int x, int y)
927 void ecore_x_window_size_get(Ecore_X_Window win, int *w, int *h)
928 void ecore_x_window_geometry_get(Ecore_X_Window win, int *x, int *y, int *w, int *h)
929 int ecore_x_window_border_width_get(Ecore_X_Window win)
930 void ecore_x_window_border_width_set(Ecore_X_Window win, int width)
931 int ecore_x_window_depth_get(Ecore_X_Window win)
932 void ecore_x_window_cursor_show(Ecore_X_Window win, int show)
933 void ecore_x_window_defaults_set(Ecore_X_Window win)
934 int ecore_x_window_visible_get(Ecore_X_Window win)
935 Ecore_X_Window ecore_x_window_shadow_tree_at_xy_with_skip_get(Ecore_X_Window base, int x, int y, Ecore_X_Window *skip, int skip_num)
936 void ecore_x_window_shadow_tree_flush()
937 Ecore_X_Window ecore_x_window_root_get(Ecore_X_Window win)
938 Ecore_X_Window ecore_x_window_at_xy_get(int x, int y)
939 Ecore_X_Window ecore_x_window_at_xy_with_skip_get(int x, int y, Ecore_X_Window *skip, int skip_num)
940 Ecore_X_Window ecore_x_window_at_xy_begin_get(Ecore_X_Window begin, int x, int y)
941 void ecore_x_query_tree_prefetch(Ecore_X_Window window)
942 void ecore_x_query_tree_fetch()
943 Ecore_X_Window ecore_x_window_parent_get(Ecore_X_Window win)
944
945 void ecore_x_window_background_color_set(Ecore_X_Window win, unsigned short r, unsigned short g, unsigned short b)
946 void ecore_x_window_gravity_set(Ecore_X_Window win, Ecore_X_Gravity grav)
947 void ecore_x_window_pixel_gravity_set(Ecore_X_Window win, Ecore_X_Gravity grav)
948 void ecore_x_window_pixmap_set(Ecore_X_Window win, Ecore_X_Pixmap pmap)
949 void ecore_x_window_area_clear(Ecore_X_Window win, int x, int y, int w, int h)
950 void ecore_x_window_area_expose(Ecore_X_Window win, int x, int y, int w, int h)
951 void ecore_x_window_override_set(Ecore_X_Window win, int override)
952
953 void ecore_x_window_prop_card32_set(Ecore_X_Window win, Ecore_X_Atom atom, unsigned int *val, unsigned int num)
954 void ecore_x_window_prop_card32_get_prefetch(Ecore_X_Window window, Ecore_X_Atom atom)
955 void ecore_x_window_prop_card32_get_fetch()
956 int ecore_x_window_prop_card32_get(Ecore_X_Window win, Ecore_X_Atom atom, unsigned int *val, unsigned int len)
957 int ecore_x_window_prop_card32_list_get(Ecore_X_Window win, Ecore_X_Atom atom, unsigned int **plst)
958
959 void ecore_x_window_prop_xid_set(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom type, Ecore_X_ID * lst, unsigned int num)
960 void ecore_x_window_prop_xid_get_prefetch(Ecore_X_Window window, Ecore_X_Atom atom, Ecore_X_Atom type)
961 void ecore_x_window_prop_xid_get_fetch()
962 int ecore_x_window_prop_xid_get(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom type, Ecore_X_ID * lst, unsigned int len)
963 int ecore_x_window_prop_xid_list_get(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom type, Ecore_X_ID ** plst)
964 void ecore_x_window_prop_xid_list_change(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom type, Ecore_X_ID item, int op)
965 void ecore_x_window_prop_atom_set(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom * val, unsigned int num)
966 void ecore_x_window_prop_atom_get_prefetch(Ecore_X_Window window, Ecore_X_Atom atom)
967 void ecore_x_window_prop_atom_get_fetch()
968 int ecore_x_window_prop_atom_get(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom * val, unsigned int len)
969 int ecore_x_window_prop_atom_list_get(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom ** plst)
970 void ecore_x_window_prop_atom_list_change(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom item, int op)
971 void ecore_x_window_prop_window_set(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Window * val, unsigned int num)
972 void ecore_x_window_prop_window_get_prefetch(Ecore_X_Window window, Ecore_X_Atom atom)
973 void ecore_x_window_prop_window_get_fetch()
974 int ecore_x_window_prop_window_get(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Window * val, unsigned int len)
975 int ecore_x_window_prop_window_list_get(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Window ** plst)
976
977 Ecore_X_Atom ecore_x_window_prop_any_type()
978 void ecore_x_window_prop_property_set(Ecore_X_Window win, Ecore_X_Atom type, Ecore_X_Atom format, int size, void *data, int number)
979 void ecore_x_window_prop_property_get_prefetch(Ecore_X_Window window, Ecore_X_Atom property, Ecore_X_Atom type)
980 void ecore_x_window_prop_property_get_fetch()
981 int ecore_x_window_prop_property_get(Ecore_X_Window win, Ecore_X_Atom property, Ecore_X_Atom type, int size, unsigned char **data, int *num)
982 void ecore_x_window_prop_property_del(Ecore_X_Window win, Ecore_X_Atom property)
983 void ecore_x_window_prop_list_prefetch(Ecore_X_Window window)
984 void ecore_x_window_prop_list_fetch()
985 Ecore_X_Atom *ecore_x_window_prop_list(Ecore_X_Window win, int *num_ret)
986 void ecore_x_window_prop_string_set(Ecore_X_Window win, Ecore_X_Atom type, char *str)
987 void ecore_x_window_prop_string_get_prefetch(Ecore_X_Window window, Ecore_X_Atom type)
988 void ecore_x_window_prop_string_get_fetch()
989 char *ecore_x_window_prop_string_get(Ecore_X_Window win, Ecore_X_Atom type)
990 int ecore_x_window_prop_protocol_isset(Ecore_X_Window win, Ecore_X_WM_Protocol protocol)
991 Ecore_X_WM_Protocol *ecore_x_window_prop_protocol_list_get(Ecore_X_Window win, int *num_ret)
992
993 void ecore_x_window_shape_mask_set(Ecore_X_Window win, Ecore_X_Pixmap mask)
994 void ecore_x_window_shape_window_set(Ecore_X_Window win, Ecore_X_Window shape_win)
995 void ecore_x_window_shape_window_set_xy(Ecore_X_Window win, Ecore_X_Window shape_win, int x, int y)
996 void ecore_x_window_shape_rectangle_set(Ecore_X_Window win, int x, int y, int w, int h)
997 void ecore_x_window_shape_rectangles_set(Ecore_X_Window win, Ecore_X_Rectangle *rects, int num)
998 void ecore_x_window_shape_window_add(Ecore_X_Window win, Ecore_X_Window shape_win)
999 void ecore_x_window_shape_window_add_xy(Ecore_X_Window win, Ecore_X_Window shape_win, int x, int y)
1000 void ecore_x_window_shape_rectangle_add(Ecore_X_Window win, int x, int y, int w, int h)
1001 void ecore_x_window_shape_rectangle_clip(Ecore_X_Window win, int x, int y, int w, int h)
1002 void ecore_x_window_shape_rectangles_add(Ecore_X_Window win, Ecore_X_Rectangle *rects, int num)
1003 void ecore_x_window_shape_rectangles_get_prefetch(Ecore_X_Window window)
1004 void ecore_x_window_shape_rectangles_get_fetch()
1005 Ecore_X_Rectangle *ecore_x_window_shape_rectangles_get(Ecore_X_Window win, int *num_ret)
1006 void ecore_x_window_shape_events_select(Ecore_X_Window win, int on)
1007
1008 Ecore_X_Pixmap ecore_x_pixmap_new(Ecore_X_Window win, int w, int h, int dep)
1009 void ecore_x_pixmap_del(Ecore_X_Pixmap pmap)
1010 void ecore_x_pixmap_paste(Ecore_X_Pixmap pmap, Ecore_X_Drawable dest, Ecore_X_GC gc, int sx, int sy, int w, int h, int dx, int dy)
1011 void ecore_x_pixmap_geometry_get(Ecore_X_Pixmap pmap, int *x, int *y, int *w, int *h)
1012 int ecore_x_pixmap_depth_get(Ecore_X_Pixmap pmap)
1013
1014 Ecore_X_GC ecore_x_gc_new(Ecore_X_Drawable draw)
1015 void ecore_x_gc_del(Ecore_X_GC gc)
1016
1017 int ecore_x_client_message32_send(Ecore_X_Window win, Ecore_X_Atom type, Ecore_X_Event_Mask mask, long d0, long d1, long d2, long d3, long d4)
1018 int ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_Atom type, void *data, int len)
1019 int ecore_x_mouse_move_send(Ecore_X_Window win, int x, int y)
1020 int ecore_x_mouse_down_send(Ecore_X_Window win, int x, int y, int b)
1021 int ecore_x_mouse_up_send(Ecore_X_Window win, int x, int y, int b)
1022
1023 void ecore_x_drawable_geometry_get_prefetch(Ecore_X_Drawable drawable)
1024 void ecore_x_drawable_geometry_get_fetch()
1025 void ecore_x_drawable_geometry_get(Ecore_X_Drawable d, int *x, int *y, int *w, int *h)
1026 int ecore_x_drawable_border_width_get(Ecore_X_Drawable d)
1027 int ecore_x_drawable_depth_get(Ecore_X_Drawable d)
1028
1029 int ecore_x_cursor_color_supported_get()
1030 Ecore_X_Cursor ecore_x_cursor_new(Ecore_X_Window win, int *pixels, int w, int h, int hot_x, int hot_y)
1031 void ecore_x_cursor_free(Ecore_X_Cursor c)
1032 Ecore_X_Cursor ecore_x_cursor_shape_get(int shape)
1033 void ecore_x_cursor_size_set(int size)
1034 int ecore_x_cursor_size_get()
1035
1036 Ecore_X_Window *ecore_x_window_root_list(int *num_ret)
1037 Ecore_X_Window ecore_x_window_root_first_get()
1038 int ecore_x_window_manage(Ecore_X_Window win)
1039 void ecore_x_window_container_manage(Ecore_X_Window win)
1040 void ecore_x_window_client_manage(Ecore_X_Window win)
1041 void ecore_x_window_sniff(Ecore_X_Window win)
1042 void ecore_x_window_client_sniff(Ecore_X_Window win)
1043 void ecore_x_atom_get_prefetch(char *name)
1044 void ecore_x_atom_get_fetch()
1045 Ecore_X_Atom ecore_x_atom_get(char *name)
1046
1047 void ecore_x_icccm_init()
1048 void ecore_x_icccm_state_set(Ecore_X_Window win, Ecore_X_Window_State_Hint state)
1049 Ecore_X_Window_State_Hint ecore_x_icccm_state_get(Ecore_X_Window win)
1050 void ecore_x_icccm_delete_window_send(Ecore_X_Window win, Ecore_X_Time t)
1051 void ecore_x_icccm_take_focus_send(Ecore_X_Window win, Ecore_X_Time t)
1052 void ecore_x_icccm_save_yourself_send(Ecore_X_Window win, Ecore_X_Time t)
1053 void ecore_x_icccm_move_resize_send(Ecore_X_Window win, int x, int y, int w, int h)
1054 void ecore_x_icccm_hints_set(Ecore_X_Window win, int accepts_focus, Ecore_X_Window_State_Hint initial_state, Ecore_X_Pixmap icon_pixmap, Ecore_X_Pixmap icon_mask, Ecore_X_Window icon_window, Ecore_X_Window window_group, int is_urgent)
1055 int ecore_x_icccm_hints_get(Ecore_X_Window win, Eina_Bool *accepts_focus, Ecore_X_Window_State_Hint *initial_state, Ecore_X_Pixmap *icon_pixmap, Ecore_X_Pixmap *icon_mask, Ecore_X_Window *icon_window, Ecore_X_Window *window_group, Eina_Bool *is_urgent)
1056 void ecore_x_icccm_size_pos_hints_set(Ecore_X_Window win, int request_pos, Ecore_X_Gravity gravity, int min_w, int min_h, int max_w, int max_h, int base_w, int base_h, int step_x, int step_y, double min_aspect, double max_aspect)
1057 int ecore_x_icccm_size_pos_hints_get(Ecore_X_Window win, int *request_pos, Ecore_X_Gravity *gravity, int *min_w, int *min_h, int *max_w, int *max_h, int *base_w, int *base_h, int *step_x, int *step_y, double *min_aspect, double *max_aspect)
1058 void ecore_x_icccm_title_set(Ecore_X_Window win, char *t)
1059 char *ecore_x_icccm_title_get(Ecore_X_Window win)
1060 void ecore_x_icccm_protocol_set(Ecore_X_Window win, Ecore_X_WM_Protocol protocol, int on)
1061 int ecore_x_icccm_protocol_isset(Ecore_X_Window win, Ecore_X_WM_Protocol protocol)
1062 void ecore_x_icccm_name_class_set(Ecore_X_Window win, char *n, char *c)
1063 void ecore_x_icccm_name_class_get(Ecore_X_Window win, char **n, char **c)
1064 char *ecore_x_icccm_client_machine_get(Ecore_X_Window win)
1065 void ecore_x_icccm_command_set(Ecore_X_Window win, int argc, char **argv)
1066 void ecore_x_icccm_command_get(Ecore_X_Window win, int *argc, char ***argv)
1067 char *ecore_x_icccm_icon_name_get(Ecore_X_Window win)
1068 void ecore_x_icccm_icon_name_set(Ecore_X_Window win, char *t)
1069 void ecore_x_icccm_colormap_window_set(Ecore_X_Window win, Ecore_X_Window subwin)
1070 void ecore_x_icccm_colormap_window_unset(Ecore_X_Window win, Ecore_X_Window subwin)
1071 void ecore_x_icccm_transient_for_set(Ecore_X_Window win, Ecore_X_Window forwin)
1072 void ecore_x_icccm_transient_for_unset(Ecore_X_Window win)
1073 Ecore_X_Window ecore_x_icccm_transient_for_get(Ecore_X_Window win)
1074 void ecore_x_icccm_window_role_set(Ecore_X_Window win, char *role)
1075 char *ecore_x_icccm_window_role_get(Ecore_X_Window win)
1076 void ecore_x_icccm_client_leader_set(Ecore_X_Window win, Ecore_X_Window l)
1077 Ecore_X_Window ecore_x_icccm_client_leader_get(Ecore_X_Window win)
1078 void ecore_x_icccm_iconic_request_send(Ecore_X_Window win, Ecore_X_Window root)
1079
1080 void ecore_x_mwm_hints_get_prefetch(Ecore_X_Window window)
1081 void ecore_x_mwm_hints_get_fetch()
1082 int ecore_x_mwm_hints_get(Ecore_X_Window win, Ecore_X_MWM_Hint_Func *fhint, Ecore_X_MWM_Hint_Decor *dhint, Ecore_X_MWM_Hint_Input *ihint)
1083 void ecore_x_mwm_borderless_set(Ecore_X_Window win, int borderless)
1084
1085 void ecore_x_netwm_init()
1086 void ecore_x_netwm_shutdown()
1087 void ecore_x_netwm_wm_identify(Ecore_X_Window root, Ecore_X_Window check, char *wm_name)
1088 void ecore_x_netwm_supported_set(Ecore_X_Window root, Ecore_X_Atom *supported, int num)
1089 void ecore_x_netwm_supported_get_prefetch(Ecore_X_Window root)
1090 void ecore_x_netwm_supported_get_fetch()
1091 int ecore_x_netwm_supported_get(Ecore_X_Window root, Ecore_X_Atom **supported, int *num)
1092 void ecore_x_netwm_desk_count_set(Ecore_X_Window root, unsigned int n_desks)
1093 void ecore_x_netwm_desk_roots_set(Ecore_X_Window root, Ecore_X_Window *vroots, unsigned int n_desks)
1094 void ecore_x_netwm_desk_names_set(Ecore_X_Window root, char **names, unsigned int n_desks)
1095 void ecore_x_netwm_desk_size_set(Ecore_X_Window root, unsigned int width, unsigned int height)
1096 void ecore_x_netwm_desk_workareas_set(Ecore_X_Window root, unsigned int *areas, unsigned int n_desks)
1097 void ecore_x_netwm_desk_current_set(Ecore_X_Window root, unsigned int desk)
1098 void ecore_x_netwm_desk_viewports_set(Ecore_X_Window root, unsigned int *origins, unsigned int n_desks)
1099 void ecore_x_netwm_desk_layout_set(Ecore_X_Window root, int orientation, int columns, int rows, int starting_corner)
1100 void ecore_x_netwm_showing_desktop_set(Ecore_X_Window root, int on)
1101 void ecore_x_netwm_client_list_set(Ecore_X_Window root, Ecore_X_Window *p_clients, unsigned int n_clients)
1102 void ecore_x_netwm_client_list_stacking_set(Ecore_X_Window root, Ecore_X_Window *p_clients, unsigned int n_clients)
1103 void ecore_x_netwm_client_active_set(Ecore_X_Window root, Ecore_X_Window win)
1104 void ecore_x_netwm_name_set(Ecore_X_Window win, char *name)
1105 void ecore_x_netwm_name_get_prefetch(Ecore_X_Window window)
1106 void ecore_x_netwm_name_get_fetch()
1107 int ecore_x_netwm_name_get(Ecore_X_Window win, char **name)
1108 void ecore_x_netwm_startup_id_set(Ecore_X_Window win, char *id)
1109 void ecore_x_netwm_startup_id_get_prefetch(Ecore_X_Window window)
1110 void ecore_x_netwm_startup_id_get_fetch()
1111 int ecore_x_netwm_startup_id_get(Ecore_X_Window win, char **id)
1112 void ecore_x_netwm_visible_name_set(Ecore_X_Window win, char *name)
1113 void ecore_x_netwm_visible_name_get_prefetch(Ecore_X_Window window)
1114 void ecore_x_netwm_visible_name_get_fetch()
1115 int ecore_x_netwm_visible_name_get(Ecore_X_Window win, char **name)
1116 void ecore_x_netwm_icon_name_set(Ecore_X_Window win, char *name)
1117 void ecore_x_netwm_icon_name_get_prefetch(Ecore_X_Window window)
1118 void ecore_x_netwm_icon_name_get_fetch()
1119 int ecore_x_netwm_icon_name_get(Ecore_X_Window win, char **name)
1120 void ecore_x_netwm_visible_icon_name_set(Ecore_X_Window win, char *name)
1121 void ecore_x_netwm_visible_icon_name_get_prefetch(Ecore_X_Window window)
1122 void ecore_x_netwm_visible_icon_name_get_fetch()
1123 int ecore_x_netwm_visible_icon_name_get(Ecore_X_Window win, char **name)
1124 void ecore_x_netwm_desktop_set(Ecore_X_Window win, unsigned int desk)
1125 void ecore_x_netwm_desktop_get_prefetch(Ecore_X_Window window)
1126 void ecore_x_netwm_desktop_get_fetch()
1127 int ecore_x_netwm_desktop_get(Ecore_X_Window win, unsigned int *desk)
1128 void ecore_x_netwm_strut_set(Ecore_X_Window win, int left, int right, int top, int bottom)
1129 void ecore_x_netwm_strut_get_prefetch(Ecore_X_Window window)
1130 void ecore_x_netwm_strut_get_fetch()
1131 int ecore_x_netwm_strut_get(Ecore_X_Window win, int *left, int *right, int *top, int *bottom)
1132 void ecore_x_netwm_strut_partial_set(Ecore_X_Window win, int left, int right, int top, int bottom, int left_start_y, int left_end_y, int right_start_y, int right_end_y, int top_start_x, int top_end_x, int bottom_start_x, int bottom_end_x)
1133 void ecore_x_netwm_strut_partial_get_prefetch(Ecore_X_Window window)
1134 void ecore_x_netwm_strut_partial_get_fetch()
1135 int ecore_x_netwm_strut_partial_get(Ecore_X_Window win, int *left, int *right, int *top, int *bottom, int *left_start_y, int *left_end_y, int *right_start_y, int *right_end_y, int *top_start_x, int *top_end_x, int *bottom_start_x, int *bottom_end_x)
1136 void ecore_x_netwm_icons_get_prefetch(Ecore_X_Window window)
1137 void ecore_x_netwm_icons_get_fetch()
1138 int ecore_x_netwm_icons_get(Ecore_X_Window win, Ecore_X_Icon **icon, int *num)
1139 void ecore_x_netwm_icon_geometry_set(Ecore_X_Window win, int x, int y, int width, int height)
1140 void ecore_x_netwm_icon_geometry_get_prefetch(Ecore_X_Window window)
1141 void ecore_x_netwm_icon_geometry_get_fetch()
1142 int ecore_x_netwm_icon_geometry_get(Ecore_X_Window win, int *x, int *y, int *width, int *height)
1143 void ecore_x_netwm_pid_set(Ecore_X_Window win, int pid)
1144 void ecore_x_netwm_pid_get_prefetch(Ecore_X_Window window)
1145 void ecore_x_netwm_pid_get_fetch()
1146 int ecore_x_netwm_pid_get(Ecore_X_Window win, int *pid)
1147 void ecore_x_netwm_handled_icons_set(Ecore_X_Window win)
1148 void ecore_x_netwm_handled_icons_get_prefetch(Ecore_X_Window window)
1149 void ecore_x_netwm_handled_icons_get_fetch()
1150 int ecore_x_netwm_handled_icons_get(Ecore_X_Window win)
1151 void ecore_x_netwm_user_time_set(Ecore_X_Window win, unsigned int time)
1152 void ecore_x_netwm_user_time_get_prefetch(Ecore_X_Window window)
1153 void ecore_x_netwm_user_time_get_fetch()
1154 int ecore_x_netwm_user_time_get(Ecore_X_Window win, unsigned int *time)
1155 void ecore_x_netwm_window_state_set(Ecore_X_Window win, Ecore_X_Window_State *state, unsigned int num)
1156 void ecore_x_netwm_window_state_get_prefetch(Ecore_X_Window window)
1157 void ecore_x_netwm_window_state_get_fetch()
1158 int ecore_x_netwm_window_state_get(Ecore_X_Window win, Ecore_X_Window_State **state, unsigned int *num)
1159 void ecore_x_netwm_window_type_set(Ecore_X_Window win, Ecore_X_Window_Type type)
1160 void ecore_x_netwm_window_type_get_prefetch(Ecore_X_Window window)
1161 void ecore_x_netwm_window_type_get_fetch()
1162 int ecore_x_netwm_window_type_get(Ecore_X_Window win, Ecore_X_Window_Type *type)
1163 int ecore_x_netwm_allowed_action_isset(Ecore_X_Window win, Ecore_X_Action action)
1164 void ecore_x_netwm_allowed_action_set(Ecore_X_Window win, Ecore_X_Action *action, unsigned int num)
1165 void ecore_x_netwm_allowed_action_get_prefetch(Ecore_X_Window window)
1166 void ecore_x_netwm_allowed_action_get_fetch()
1167 int ecore_x_netwm_allowed_action_get(Ecore_X_Window win, Ecore_X_Action **action, unsigned int *num)
1168 void ecore_x_netwm_opacity_set(Ecore_X_Window win, unsigned int opacity)
1169 void ecore_x_netwm_opacity_get_prefetch(Ecore_X_Window window)
1170 void ecore_x_netwm_opacity_get_fetch()
1171 int ecore_x_netwm_opacity_get(Ecore_X_Window win, unsigned int *opacity)
1172 void ecore_x_netwm_frame_size_set(Ecore_X_Window win, int fl, int fr, int ft, int fb)
1173 void ecore_x_netwm_frame_size_get_prefetch(Ecore_X_Window window)
1174 void ecore_x_netwm_frame_size_get_fetch()
1175 int ecore_x_netwm_frame_size_get(Ecore_X_Window win, int *fl, int *fr, int *ft, int *fb)
1176 void ecore_x_netwm_sync_counter_get_prefetch(Ecore_X_Window window)
1177 void ecore_x_netwm_sync_counter_get_fetch()
1178 int ecore_x_netwm_sync_counter_get(Ecore_X_Window win, Ecore_X_Sync_Counter *counter)
1179 void ecore_x_netwm_ping_send(Ecore_X_Window win)
1180 void ecore_x_netwm_sync_request_send(Ecore_X_Window win, unsigned int serial)
1181 void ecore_x_netwm_state_request_send(Ecore_X_Window win, Ecore_X_Window root, Ecore_X_Window_State s1, Ecore_X_Window_State s2, int set)
1182 void ecore_x_netwm_desktop_request_send(Ecore_X_Window win, Ecore_X_Window root, unsigned int desktop)
1183
1184 void ecore_x_e_init()
1185 void ecore_x_e_frame_size_set(Ecore_X_Window win, int fl, int fr, int ft, int fb)
1186
1187 void ecore_x_xinerama_query_screens_prefetch()
1188 void ecore_x_xinerama_query_screens_fetch()
1189 int ecore_x_xinerama_screen_count_get()
1190 int ecore_x_xinerama_screen_geometry_get(int screen, int *x, int *y, int *w, int *h)
1191
1192 void ecore_x_get_window_attributes_prefetch(Ecore_X_Window window)
1193 void ecore_x_get_window_attributes_fetch()
1194 int ecore_x_window_attributes_get(Ecore_X_Window win, Ecore_X_Window_Attributes *att_ret)
1195 void ecore_x_window_save_set_add(Ecore_X_Window win)
1196 void ecore_x_window_save_set_del(Ecore_X_Window win)
1197 Ecore_X_Window *ecore_x_window_children_get(Ecore_X_Window win, int *num)
1198
1199 int ecore_x_pointer_control_set(int accel_num, int accel_denom, int threshold)
1200 void ecore_x_pointer_control_get_prefetch()
1201 void ecore_x_pointer_control_get_fetch()
1202 int ecore_x_pointer_control_get(int *accel_num, int *accel_denom, int *threshold)
1203 int ecore_x_pointer_grab(Ecore_X_Window win)
1204 int ecore_x_pointer_confine_grab(Ecore_X_Window win)
1205 void ecore_x_pointer_ungrab()
1206 int ecore_x_pointer_warp(Ecore_X_Window win, int x, int y)
1207 int ecore_x_keyboard_grab(Ecore_X_Window win)
1208 void ecore_x_keyboard_ungrab()
1209 void ecore_x_grab()
1210 void ecore_x_ungrab()
1211 void ecore_x_passive_grab_replay_func_set(int (*func) (void *data, int event_type, void *event), void *data)
1212 void ecore_x_window_button_grab(Ecore_X_Window win, int button, Ecore_X_Event_Mask event_mask, int mod, int any_mod)
1213 void ecore_x_window_button_ungrab(Ecore_X_Window win, int button, int mod, int any_mod)
1214 void ecore_x_window_key_grab(Ecore_X_Window win, char *key, int mod, int any_mod)
1215 void ecore_x_window_key_ungrab(Ecore_X_Window win, char *key, int mod, int any_mod)
1216
1217 void ecore_x_focus_reset()
1218 void ecore_x_events_allow_all()
1219 void ecore_x_pointer_last_xy_get(int *x, int *y)
1220 void ecore_x_pointer_xy_get_prefetch(Ecore_X_Window window)
1221 void ecore_x_pointer_xy_get_fetch()
1222 void ecore_x_pointer_xy_get(Ecore_X_Window win, int *x, int *y)
1223
1224 Ecore_X_Sync_Alarm ecore_x_sync_alarm_new(Ecore_X_Sync_Counter counter)
1225 int ecore_x_sync_alarm_free(Ecore_X_Sync_Alarm alarm)
1226
1227 int ecore_x_randr_events_select(Ecore_X_Window win, int on)
1228 void ecore_x_randr_get_screen_info_prefetch(Ecore_X_Window window)
1229 void ecore_x_randr_get_screen_info_fetch()
1230 Ecore_X_Randr_Rotation ecore_x_randr_screen_rotations_get(Ecore_X_Window root)
1231 Ecore_X_Randr_Rotation ecore_x_randr_screen_rotation_get(Ecore_X_Window root)
1232 void ecore_x_randr_screen_rotation_set(Ecore_X_Window root, Ecore_X_Randr_Rotation rot)
1233 Ecore_X_Screen_Size *ecore_x_randr_screen_sizes_get(Ecore_X_Window root, int *num)
1234 Ecore_X_Screen_Size ecore_x_randr_current_screen_size_get(Ecore_X_Window root)
1235 int ecore_x_randr_screen_size_set(Ecore_X_Window root, Ecore_X_Screen_Size size)
1236
1237 Ecore_X_Screen_Refresh_Rate *ecore_x_randr_screen_refresh_rates_get(Ecore_X_Window root, int size_id, int *num)
1238 Ecore_X_Screen_Refresh_Rate ecore_x_randr_current_screen_refresh_rate_get(Ecore_X_Window root)
1239
1240 int ecore_x_randr_screen_refresh_rate_set(Ecore_X_Window root, Ecore_X_Screen_Size size, Ecore_X_Screen_Refresh_Rate rate)
1241
1242 Ecore_X_Region ecore_x_region_new(Ecore_X_Rectangle *rects, int num)
1243 Ecore_X_Region ecore_x_region_new_from_bitmap(Ecore_X_Pixmap bitmap)
1244 Ecore_X_Region ecore_x_region_new_from_window(Ecore_X_Window win, Ecore_X_Region_Type type)
1245 Ecore_X_Region ecore_x_region_new_from_gc(Ecore_X_GC gc)
1246 Ecore_X_Region ecore_x_region_new_from_picture(Ecore_X_Picture picture)
1247 void ecore_x_region_del(Ecore_X_Region region)
1248 void ecore_x_region_set(Ecore_X_Region region, Ecore_X_Rectangle *rects, int num)
1249 void ecore_x_region_copy(Ecore_X_Region dest, Ecore_X_Region source)
1250 void ecore_x_region_combine(Ecore_X_Region dest, Ecore_X_Region source1, Ecore_X_Region source2)
1251 void ecore_x_region_intersect(Ecore_X_Region dest, Ecore_X_Region source1, Ecore_X_Region source2)
1252 void ecore_x_region_subtract(Ecore_X_Region dest, Ecore_X_Region source1, Ecore_X_Region source2)
1253 void ecore_x_region_invert(Ecore_X_Region dest, Ecore_X_Rectangle *bounds, Ecore_X_Region source)
1254 void ecore_x_region_translate(Ecore_X_Region region, int dx, int dy)
1255 void ecore_x_region_extents(Ecore_X_Region dest, Ecore_X_Region source)
1256 void ecore_x_region_fetch_prefetch(Ecore_X_Region region)
1257 void ecore_x_region_fetch_fetch()
1258 Ecore_X_Rectangle * ecore_x_region_fetch(Ecore_X_Region region, int *num, Ecore_X_Rectangle *bounds)
1259 void ecore_x_region_expand(Ecore_X_Region dest, Ecore_X_Region source, unsigned int left, unsigned int right, unsigned int top, unsigned int bottom)
1260 void ecore_x_region_gc_clip_set(Ecore_X_Region region, Ecore_X_GC gc, int x_origin, int y_origin)
1261 void ecore_x_region_window_shape_set(Ecore_X_Region region, Ecore_X_Window win, Ecore_X_Shape_Type type, int x_offset, int y_offset)
1262 void ecore_x_region_picture_clip_set(Ecore_X_Region region, Ecore_X_Picture picture, int x_origin, int y_origin)
1263
1264 int ecore_x_composite_query()
1265
1266 int ecore_x_damage_query()
1267 Ecore_X_Damage ecore_x_damage_new(Ecore_X_Drawable d, Ecore_X_Damage_Report_Level level)
1268 void ecore_x_damage_del(Ecore_X_Damage damage)
1269 void ecore_x_damage_subtract(Ecore_X_Damage damage, Ecore_X_Region repair, Ecore_X_Region parts)
1270
1271 int ecore_x_screen_is_composited(int screen)
1272
1273 int ecore_x_dpms_query()
1274 void ecore_x_dpms_capable_get_prefetch()
1275 void ecore_x_dpms_capable_get_fetch()
1276 int ecore_x_dpms_capable_get()
1277 void ecore_x_dpms_enable_get_prefetch()
1278 void ecore_x_dpms_enable_get_fetch()
1279 int ecore_x_dpms_enabled_get()
1280 void ecore_x_dpms_enabled_set(int enabled)
1281 void ecore_x_dpms_timeouts_get_prefetch()
1282 void ecore_x_dpms_timeouts_get_fetch()
1283 void ecore_x_dpms_timeouts_get(unsigned int *standby, unsigned int *suspend, unsigned int *off)
1284 int ecore_x_dpms_timeouts_set(unsigned int standby, unsigned int suspend, unsigned int off)
1285 unsigned int ecore_x_dpms_timeout_standby_get()
1286 unsigned int ecore_x_dpms_timeout_suspend_get()
1287 unsigned int ecore_x_dpms_timeout_off_get()
1288 void ecore_x_dpms_timeout_standby_set(unsigned int new_timeout)
1289 void ecore_x_dpms_timeout_suspend_set(unsigned int new_timeout)
1290 void ecore_x_dpms_timeout_off_set(unsigned int new_timeout)
1291
1292 ctypedef enum Ecore_X_Virtual_Keyboard_State:
1293 ECORE_X_VIRTUAL_KEYBOARD_STATE_UNKNOWN
1294 ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF
1295 ECORE_X_VIRTUAL_KEYBOARD_STATE_ON
1296 ECORE_X_VIRTUAL_KEYBOARD_STATE_ALPHA
1297 ECORE_X_VIRTUAL_KEYBOARD_STATE_NUMERIC
1298 ECORE_X_VIRTUAL_KEYBOARD_STATE_PIN
1299 ECORE_X_VIRTUAL_KEYBOARD_STATE_PHONE_NUMBER
1300 ECORE_X_VIRTUAL_KEYBOARD_STATE_HEX
1301 ECORE_X_VIRTUAL_KEYBOARD_STATE_TERMINAL
1302 ECORE_X_VIRTUAL_KEYBOARD_STATE_PASSWORD
1303
1304 void ecore_x_e_virtual_keyboard_state_set(Ecore_X_Window win, Ecore_X_Virtual_Keyboard_State state)
1305
1306 Eina_Bool ecore_x_screensaver_event_available_get()
1307 int ecore_x_screensaver_idle_time_get()
1308 void ecore_x_screensaver_set(int timeout, int interval, int prefer_blanking, int allow_exposures)
1309 void ecore_x_screensaver_timeout_set(int timeout)
1310 int ecore_x_screensaver_timeout_get()
1311 void ecore_x_screensaver_blank_set(int timeout)
1312 int ecore_x_screensaver_blank_get()
1313 void ecore_x_screensaver_expose_set(int timeout)
1314 int ecore_x_screensaver_expose_get()
1315 void ecore_x_screensaver_interval_set(int timeout)
1316 int ecore_x_screensaver_interval_get()
1317 void ecore_x_screensaver_event_listen_set(Eina_Bool on)
1318 Eina_Bool ecore_x_screensaver_custom_blanking_enable()
1319 Eina_Bool ecore_x_screensaver_custom_blanking_disable()
1320 void ecore_x_screensaver_suspend()
1321 void ecore_x_screensaver_resume()
1322
1323
1324from efl.ecore cimport Event
1325
1326
1327cdef class Window:
1328 cdef readonly Ecore_X_Window xid
1329
1330 cdef int _set_xid(self, Ecore_X_Window xid) except 0
1331
1332
1333cdef class EventKey(Event):
1334 cdef readonly object keyname
1335 cdef readonly object key
1336 cdef readonly object string
1337 cdef readonly object compose
1338 cdef readonly Window window
1339 cdef readonly Window root_window
1340 cdef readonly Window event_window
1341 cdef readonly unsigned int modifiers
1342 cdef readonly unsigned int timestamp
1343 cdef readonly int same_screen
1344
1345
1346cdef class EventPoint:
1347 cdef readonly int x
1348 cdef readonly int y
1349
1350
1351cdef class EventMouseButton(Event):
1352 cdef readonly Window window
1353 cdef readonly Window root_window
1354 cdef readonly Window event_window
1355 cdef readonly unsigned int modifiers
1356 cdef readonly unsigned int timestamp
1357 cdef readonly unsigned int buttons
1358 cdef readonly unsigned int double_click
1359 cdef readonly unsigned int triple_click
1360 cdef readonly int same_screen
1361 cdef readonly int x
1362 cdef readonly int y
1363 cdef readonly EventPoint root
1364
1365
1366cdef class EventMouseMove(Event):
1367 cdef readonly Window window
1368 cdef readonly Window root_window
1369 cdef readonly Window event_window
1370 cdef readonly unsigned int modifiers
1371 cdef readonly unsigned int timestamp
1372 cdef readonly int same_screen
1373 cdef readonly int x
1374 cdef readonly int y
1375 cdef readonly EventPoint root
1376
1377
1378cdef class EventMouseIO(Event):
1379 cdef readonly Window window
1380 cdef readonly Window event_window
1381 cdef readonly unsigned int modifiers
1382 cdef readonly unsigned int timestamp
1383 cdef readonly int x
1384 cdef readonly int y
1385
1386
1387cdef class EventMouseWheel(Event):
1388 cdef readonly Window window
1389 cdef readonly Window root_window
1390 cdef readonly Window event_window
1391 cdef readonly unsigned int modifiers
1392 cdef readonly unsigned int timestamp
1393 cdef readonly int same_screen
1394 cdef readonly int direction
1395 cdef readonly int z
1396 cdef readonly int x
1397 cdef readonly int y
1398 cdef readonly EventPoint root
1399
1400
1401cdef class EventWindowFocusIn(Event):
1402 cdef readonly Window win
1403 cdef readonly int mode
1404 cdef readonly int detail
1405 cdef readonly unsigned int time
1406
1407
1408cdef class EventWindowFocusOut(Event):
1409 cdef readonly Window win
1410 cdef readonly int mode
1411 cdef readonly int detail
1412 cdef readonly unsigned int time
1413
1414
1415cdef class EventWindowKeymap(Event):
1416 cdef readonly Window win
1417
1418
1419cdef class EventWindowDamage(Event):
1420 cdef readonly Window win
1421 cdef readonly int x
1422 cdef readonly int y
1423 cdef readonly int w
1424 cdef readonly int h
1425 cdef readonly int count
1426 cdef readonly unsigned int time
1427
1428
1429cdef class EventWindowVisibilityChange(Event):
1430 cdef readonly Window win
1431 cdef readonly int fully_obscured
1432 cdef readonly unsigned int time
1433
1434
1435cdef class EventWindowCreate(Event):
1436 cdef readonly Window win
1437 cdef readonly int override
1438 cdef readonly unsigned int time
1439
1440
1441cdef class EventWindowDestroy(Event):
1442 cdef readonly Window win
1443 cdef readonly unsigned int time
1444
1445
1446cdef class EventWindowHide(Event):
1447 cdef readonly Window win
1448 cdef readonly unsigned int time
1449
1450
1451cdef class EventWindowShow(Event):
1452 cdef readonly Window win
1453 cdef readonly unsigned int time
1454
1455
1456cdef class EventWindowShowRequest(Event):
1457 cdef readonly Window win
1458 cdef readonly Window parent
1459 cdef readonly unsigned int time
1460
1461
1462cdef class EventWindowReparent(Event):
1463 cdef readonly Window win
1464 cdef readonly Window parent
1465 cdef readonly unsigned int time
1466
1467
1468cdef class EventWindowConfigure(Event):
1469 cdef readonly Window win
1470 cdef readonly Window above_win
1471 cdef readonly int x
1472 cdef readonly int y
1473 cdef readonly int w
1474 cdef readonly int h
1475 cdef readonly int border
1476 cdef readonly unsigned int override
1477 cdef readonly unsigned int from_wm
1478 cdef readonly unsigned int time
1479
1480
1481cdef class EventWindowConfigureRequest(Event):
1482 cdef readonly Window win
1483 cdef readonly Window above_win
1484 cdef readonly int x
1485 cdef readonly int y
1486 cdef readonly int w
1487 cdef readonly int h
1488 cdef readonly int border
1489 cdef readonly int stack_mode
1490 cdef readonly unsigned long value_mask
1491 cdef readonly unsigned int time
1492
1493
1494cdef class EventWindowGravity(Event):
1495 cdef readonly Window win
1496 cdef readonly unsigned int time
1497
1498
1499cdef class EventWindowResizeRequest(Event):
1500 cdef readonly Window win
1501 cdef readonly int w
1502 cdef readonly int h
1503 cdef readonly unsigned int time
1504
1505
1506cdef class EventWindowStack(Event):
1507 cdef readonly Window win
1508 cdef readonly Window event_win
1509 cdef readonly int stack_mode
1510 cdef readonly unsigned int time
1511
1512
1513cdef class EventWindowStackRequest(Event):
1514 cdef readonly Window win
1515 cdef readonly Window parent
1516 cdef readonly int stack_mode
1517 cdef readonly unsigned int time
1518
1519
1520cdef class EventDesktopChange(Event):
1521 cdef readonly Window win
1522 cdef readonly long desktop
1523 cdef readonly unsigned int time
1524
1525
1526cdef class EventPing(Event):
1527 cdef readonly Window win
1528 cdef readonly Window event_win
1529 cdef readonly unsigned int time
1530
1531
1532cdef class EventWindowStateRequest(Event):
1533 cdef readonly Window win
1534 cdef readonly int action
1535 cdef readonly int state1
1536 cdef readonly int state2
1537 cdef readonly int source
1538
1539
1540cdef class EventFrameExtentsRequest(Event):
1541 cdef readonly Window win
1542
1543
1544cdef class EventWindowShape(Event):
1545 cdef readonly Window win
1546 cdef readonly unsigned int time
1547
1548
1549cdef class EventScreensaverNotify(Event):
1550 cdef readonly Window win
1551 cdef readonly int on
1552 cdef readonly unsigned int time
1553
1554
1555cdef class EventSyncCounter(Event):
1556 cdef readonly unsigned int time
1557
1558
1559cdef class EventSyncAlarm(Event):
1560 cdef readonly unsigned int time
1561 cdef readonly unsigned int alarm
1562
1563
1564cdef class EventScreenChange(Event):
1565 cdef readonly Window win
1566 cdef readonly Window root
1567 cdef readonly int width
1568 cdef readonly int height
1569
1570
1571cdef class EventWindowDeleteRequest(Event):
1572 cdef readonly Window win
1573 cdef readonly unsigned int time
1574
1575
1576cdef class EventWindowMoveResizeRequest(Event):
1577 cdef readonly Window win
1578 cdef readonly int x
1579 cdef readonly int y
1580 cdef readonly int button
1581 cdef readonly int source
1582
1583
1584
1585
1586## cdef class EventWindowProperty(Event):
1587## cdef readonly Window win
1588## Atom atom
1589## cdef readonly unsigned int time
1590
1591
1592## cdef class EventWindowColormap(Event):
1593## cdef readonly Window win
1594## Colormap cmap
1595## cdef readonly int installed
1596## cdef readonly unsigned int time
1597
1598
1599## cdef class EventSelectionClear(Event):
1600## cdef readonly Window win
1601## Selection selection
1602## cdef readonly unsigned int time
1603
1604
1605## cdef class EventSelectionRequest(Event):
1606## cdef readonly Window owner
1607## cdef readonly Window requestor
1608## cdef readonly unsigned int time
1609## Atom selection
1610## Atom target
1611## Atom property
1612
1613
1614## cdef class EventSelectionNotify(Event):
1615## cdef readonly Window win
1616## cdef readonly unsigned int time
1617## Selection selection
1618## cdef readonly object target
1619## void *data
1620
1621
1622## cdef class EventDamage(Event):
1623## cdef readonly int level
1624## Ecore_X_Drawable drawable
1625## Ecore_X_Damage damage
1626## cdef readonly int more
1627## cdef readonly unsigned int time
1628## cdef readonly EventRectangle area
1629## cdef readonly EventRectangle geometry
diff --git a/include/efl.edje.enums.pxd b/include/efl.edje.enums.pxd
new file mode 100644
index 0000000..0fada55
--- /dev/null
+++ b/include/efl.edje.enums.pxd
@@ -0,0 +1,140 @@
1cdef extern from "Edje.h":
2 ####################################################################
3 # Enums
4 #
5 ctypedef enum Edje_Message_Type:
6 EDJE_MESSAGE_NONE
7 EDJE_MESSAGE_SIGNAL
8 EDJE_MESSAGE_STRING
9 EDJE_MESSAGE_INT
10 EDJE_MESSAGE_FLOAT
11 EDJE_MESSAGE_STRING_SET
12 EDJE_MESSAGE_INT_SET
13 EDJE_MESSAGE_FLOAT_SET
14 EDJE_MESSAGE_STRING_INT
15 EDJE_MESSAGE_STRING_FLOAT
16 EDJE_MESSAGE_STRING_INT_SET
17 EDJE_MESSAGE_STRING_FLOAT_SET
18
19 ctypedef enum Edje_Aspect_Control:
20 EDJE_ASPECT_CONTROL_NONE
21 EDJE_ASPECT_CONTROL_NEITHER
22 EDJE_ASPECT_CONTROL_HORIZONTAL
23 EDJE_ASPECT_CONTROL_VERTICAL
24 EDJE_ASPECT_CONTROL_BOTH
25
26 ctypedef enum Edje_Drag_Dir:
27 EDJE_DRAG_DIR_NONE
28 EDJE_DRAG_DIR_X
29 EDJE_DRAG_DIR_Y
30 EDJE_DRAG_DIR_XY
31
32 ctypedef enum Edje_Load_Error:
33 EDJE_LOAD_ERROR_NONE
34 EDJE_LOAD_ERROR_GENERIC
35 EDJE_LOAD_ERROR_DOES_NOT_EXIST
36 EDJE_LOAD_ERROR_PERMISSION_DENIED
37 EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED
38 EDJE_LOAD_ERROR_CORRUPT_FILE
39 EDJE_LOAD_ERROR_UNKNOWN_FORMAT
40 EDJE_LOAD_ERROR_INCOMPATIBLE_FILE
41 EDJE_LOAD_ERROR_UNKNOWN_COLLECTION
42 EDJE_LOAD_ERROR_RECURSIVE_REFERENCE
43
44 ctypedef enum Edje_Part_Type:
45 EDJE_PART_TYPE_NONE
46 EDJE_PART_TYPE_RECTANGLE
47 EDJE_PART_TYPE_TEXT
48 EDJE_PART_TYPE_IMAGE
49 EDJE_PART_TYPE_SWALLOW
50 EDJE_PART_TYPE_TEXTBLOCK
51 EDJE_PART_TYPE_GRADIENT
52 EDJE_PART_TYPE_GROUP
53 EDJE_PART_TYPE_BOX
54 EDJE_PART_TYPE_TABLE
55 EDJE_PART_TYPE_EXTERNAL
56 EDJE_PART_TYPE_SPACER
57 EDJE_PART_TYPE_MESH_NODE
58 EDJE_PART_TYPE_LIGHT
59 EDJE_PART_TYPE_CAMERA
60 EDJE_PART_TYPE_LAST
61
62 ctypedef enum Edje_Text_Effect:
63 EDJE_TEXT_EFFECT_NONE
64 EDJE_TEXT_EFFECT_PLAIN
65 EDJE_TEXT_EFFECT_OUTLINE
66 EDJE_TEXT_EFFECT_SOFT_OUTLINE
67 EDJE_TEXT_EFFECT_SHADOW
68 EDJE_TEXT_EFFECT_SOFT_SHADOW
69 EDJE_TEXT_EFFECT_OUTLINE_SHADOW
70 EDJE_TEXT_EFFECT_OUTLINE_SOFT_SHADOW
71 EDJE_TEXT_EFFECT_FAR_SHADOW
72 EDJE_TEXT_EFFECT_FAR_SOFT_SHADOW
73 EDJE_TEXT_EFFECT_GLOW
74 EDJE_TEXT_EFFECT_LAST
75 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_RIGHT
76 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM
77 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_LEFT
78 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_LEFT
79 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_LEFT
80 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP
81 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_RIGHT
82 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_RIGHT
83
84 ctypedef enum Edje_Action_Type:
85 EDJE_ACTION_TYPE_NONE
86 EDJE_ACTION_TYPE_STATE_SET
87 EDJE_ACTION_TYPE_ACTION_STOP
88 EDJE_ACTION_TYPE_SIGNAL_EMIT
89 EDJE_ACTION_TYPE_DRAG_VAL_SET
90 EDJE_ACTION_TYPE_DRAG_VAL_STEP
91 EDJE_ACTION_TYPE_DRAG_VAL_PAGE
92 EDJE_ACTION_TYPE_SCRIPT
93 EDJE_ACTION_TYPE_FOCUS_SET
94 EDJE_ACTION_TYPE_RESERVED00
95 EDJE_ACTION_TYPE_FOCUS_OBJECT
96 EDJE_ACTION_TYPE_PARAM_COPY
97 EDJE_ACTION_TYPE_PARAM_SET
98 EDJE_ACTION_TYPE_SOUND_SAMPLE
99 EDJE_ACTION_TYPE_SOUND_TONE
100 EDJE_ACTION_TYPE_PHYSICS_IMPULSE
101 EDJE_ACTION_TYPE_PHYSICS_TORQUE_IMPULSE
102 EDJE_ACTION_TYPE_PHYSICS_FORCE
103 EDJE_ACTION_TYPE_PHYSICS_TORQUE
104 EDJE_ACTION_TYPE_PHYSICS_FORCES_CLEAR
105 EDJE_ACTION_TYPE_PHYSICS_VEL_SET
106 EDJE_ACTION_TYPE_PHYSICS_ANG_VEL_SET
107 EDJE_ACTION_TYPE_PHYSICS_STOP
108 EDJE_ACTION_TYPE_PHYSICS_ROT_SET
109 EDJE_ACTION_TYPE_VIBRATION_SAMPLE
110 EDJE_ACTION_TYPE_LAST
111
112 ctypedef enum Edje_Tween_Mode:
113 EDJE_TWEEN_MODE_NONE
114 EDJE_TWEEN_MODE_LINEAR
115 EDJE_TWEEN_MODE_SINUSOIDAL
116 EDJE_TWEEN_MODE_ACCELERATE
117 EDJE_TWEEN_MODE_DECELERATE
118 EDJE_TWEEN_MODE_ACCELERATE_FACTOR
119 EDJE_TWEEN_MODE_DECELERATE_FACTOR
120 EDJE_TWEEN_MODE_SINUSOIDAL_FACTOR
121 EDJE_TWEEN_MODE_DIVISOR_INTERP
122 EDJE_TWEEN_MODE_BOUNCE
123 EDJE_TWEEN_MODE_SPRING
124 EDJE_TWEEN_MODE_CUBIC_BEZIER
125 EDJE_TWEEN_MODE_LAST
126 EDJE_TWEEN_MODE_MASK
127 EDJE_TWEEN_MODE_OPT_FROM_CURRENT
128
129 ctypedef enum Edje_External_Param_Type:
130 EDJE_EXTERNAL_PARAM_TYPE_INT
131 EDJE_EXTERNAL_PARAM_TYPE_DOUBLE
132 EDJE_EXTERNAL_PARAM_TYPE_STRING
133 EDJE_EXTERNAL_PARAM_TYPE_BOOL
134 EDJE_EXTERNAL_PARAM_TYPE_CHOICE
135 EDJE_EXTERNAL_PARAM_TYPE_MAX
136
137 ctypedef enum Edje_Input_Hints:
138 EDJE_INPUT_HINT_NONE
139 EDJE_INPUT_HINT_AUTO_COMPLETE
140 EDJE_INPUT_HINT_SENSITIVE_DATA
diff --git a/include/efl.edje.pxd b/include/efl.edje.pxd
index f131b69..de6fa7a 100644
--- a/include/efl.edje.pxd
+++ b/include/efl.edje.pxd
@@ -18,6 +18,10 @@
18from efl.eina cimport Eina_Bool, Eina_List, Eina_Iterator 18from efl.eina cimport Eina_Bool, Eina_List, Eina_Iterator
19from efl.evas cimport Object, Evas_Object, Evas, Evas_Font_Size, Evas_Coord 19from efl.evas cimport Object, Evas_Object, Evas, Evas_Font_Size, Evas_Coord
20 20
21from efl.edje.enums cimport Edje_Message_Type, Edje_Aspect_Control, \
22 Edje_Drag_Dir, Edje_Load_Error, Edje_Part_Type, Edje_Text_Effect, \
23 Edje_Action_Type, Edje_Tween_Mode, Edje_External_Param_Type, \
24 Edje_Input_Hints
21 25
22cdef extern from "Edje.h": 26cdef extern from "Edje.h":
23 #################################################################### 27 ####################################################################
@@ -27,165 +31,6 @@ cdef extern from "Edje.h":
27 cdef double EDJE_EXTERNAL_DOUBLE_UNSET 31 cdef double EDJE_EXTERNAL_DOUBLE_UNSET
28 cdef unsigned int EDJE_EXTERNAL_TYPE_ABI_VERSION 32 cdef unsigned int EDJE_EXTERNAL_TYPE_ABI_VERSION
29 33
30 ####################################################################
31 # Enums
32 #
33 cpdef enum Edje_Message_Type:
34 EDJE_MESSAGE_NONE
35 EDJE_MESSAGE_SIGNAL
36 EDJE_MESSAGE_STRING
37 EDJE_MESSAGE_INT
38 EDJE_MESSAGE_FLOAT
39 EDJE_MESSAGE_STRING_SET
40 EDJE_MESSAGE_INT_SET
41 EDJE_MESSAGE_FLOAT_SET
42 EDJE_MESSAGE_STRING_INT
43 EDJE_MESSAGE_STRING_FLOAT
44 EDJE_MESSAGE_STRING_INT_SET
45 EDJE_MESSAGE_STRING_FLOAT_SET
46 ctypedef enum Edje_Message_Type:
47 pass
48
49 cpdef enum Edje_Aspect_Control:
50 EDJE_ASPECT_CONTROL_NONE
51 EDJE_ASPECT_CONTROL_NEITHER
52 EDJE_ASPECT_CONTROL_HORIZONTAL
53 EDJE_ASPECT_CONTROL_VERTICAL
54 EDJE_ASPECT_CONTROL_BOTH
55 ctypedef enum Edje_Aspect_Control:
56 pass
57
58 cpdef enum Edje_Drag_Dir:
59 EDJE_DRAG_DIR_NONE
60 EDJE_DRAG_DIR_X
61 EDJE_DRAG_DIR_Y
62 EDJE_DRAG_DIR_XY
63 ctypedef enum Edje_Drag_Dir:
64 pass
65
66 cpdef enum Edje_Load_Error:
67 EDJE_LOAD_ERROR_NONE
68 EDJE_LOAD_ERROR_GENERIC
69 EDJE_LOAD_ERROR_DOES_NOT_EXIST
70 EDJE_LOAD_ERROR_PERMISSION_DENIED
71 EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED
72 EDJE_LOAD_ERROR_CORRUPT_FILE
73 EDJE_LOAD_ERROR_UNKNOWN_FORMAT
74 EDJE_LOAD_ERROR_INCOMPATIBLE_FILE
75 EDJE_LOAD_ERROR_UNKNOWN_COLLECTION
76 EDJE_LOAD_ERROR_RECURSIVE_REFERENCE
77 ctypedef enum Edje_Load_Error:
78 pass
79
80 cpdef enum Edje_Part_Type:
81 EDJE_PART_TYPE_NONE
82 EDJE_PART_TYPE_RECTANGLE
83 EDJE_PART_TYPE_TEXT
84 EDJE_PART_TYPE_IMAGE
85 EDJE_PART_TYPE_SWALLOW
86 EDJE_PART_TYPE_TEXTBLOCK
87 EDJE_PART_TYPE_GRADIENT
88 EDJE_PART_TYPE_GROUP
89 EDJE_PART_TYPE_BOX
90 EDJE_PART_TYPE_TABLE
91 EDJE_PART_TYPE_EXTERNAL
92 EDJE_PART_TYPE_SPACER
93 EDJE_PART_TYPE_MESH_NODE
94 EDJE_PART_TYPE_LIGHT
95 EDJE_PART_TYPE_CAMERA
96 EDJE_PART_TYPE_LAST
97 ctypedef enum Edje_Part_Type:
98 pass
99
100 cpdef enum Edje_Text_Effect:
101 EDJE_TEXT_EFFECT_NONE
102 EDJE_TEXT_EFFECT_PLAIN
103 EDJE_TEXT_EFFECT_OUTLINE
104 EDJE_TEXT_EFFECT_SOFT_OUTLINE
105 EDJE_TEXT_EFFECT_SHADOW
106 EDJE_TEXT_EFFECT_SOFT_SHADOW
107 EDJE_TEXT_EFFECT_OUTLINE_SHADOW
108 EDJE_TEXT_EFFECT_OUTLINE_SOFT_SHADOW
109 EDJE_TEXT_EFFECT_FAR_SHADOW
110 EDJE_TEXT_EFFECT_FAR_SOFT_SHADOW
111 EDJE_TEXT_EFFECT_GLOW
112 EDJE_TEXT_EFFECT_LAST
113 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_RIGHT
114 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM
115 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_LEFT
116 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_LEFT
117 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_LEFT
118 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP
119 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_RIGHT
120 EDJE_TEXT_EFFECT_SHADOW_DIRECTION_RIGHT
121 ctypedef enum Edje_Text_Effect:
122 pass
123
124 cpdef enum Edje_Action_Type:
125 EDJE_ACTION_TYPE_NONE
126 EDJE_ACTION_TYPE_STATE_SET
127 EDJE_ACTION_TYPE_ACTION_STOP
128 EDJE_ACTION_TYPE_SIGNAL_EMIT
129 EDJE_ACTION_TYPE_DRAG_VAL_SET
130 EDJE_ACTION_TYPE_DRAG_VAL_STEP
131 EDJE_ACTION_TYPE_DRAG_VAL_PAGE
132 EDJE_ACTION_TYPE_SCRIPT
133 EDJE_ACTION_TYPE_FOCUS_SET
134 EDJE_ACTION_TYPE_RESERVED00
135 EDJE_ACTION_TYPE_FOCUS_OBJECT
136 EDJE_ACTION_TYPE_PARAM_COPY
137 EDJE_ACTION_TYPE_PARAM_SET
138 EDJE_ACTION_TYPE_SOUND_SAMPLE
139 EDJE_ACTION_TYPE_SOUND_TONE
140 EDJE_ACTION_TYPE_PHYSICS_IMPULSE
141 EDJE_ACTION_TYPE_PHYSICS_TORQUE_IMPULSE
142 EDJE_ACTION_TYPE_PHYSICS_FORCE
143 EDJE_ACTION_TYPE_PHYSICS_TORQUE
144 EDJE_ACTION_TYPE_PHYSICS_FORCES_CLEAR
145 EDJE_ACTION_TYPE_PHYSICS_VEL_SET
146 EDJE_ACTION_TYPE_PHYSICS_ANG_VEL_SET
147 EDJE_ACTION_TYPE_PHYSICS_STOP
148 EDJE_ACTION_TYPE_PHYSICS_ROT_SET
149 EDJE_ACTION_TYPE_VIBRATION_SAMPLE
150 EDJE_ACTION_TYPE_LAST
151 ctypedef enum Edje_Action_Type:
152 pass
153
154 cpdef enum Edje_Tween_Mode:
155 EDJE_TWEEN_MODE_NONE
156 EDJE_TWEEN_MODE_LINEAR
157 EDJE_TWEEN_MODE_SINUSOIDAL
158 EDJE_TWEEN_MODE_ACCELERATE
159 EDJE_TWEEN_MODE_DECELERATE
160 EDJE_TWEEN_MODE_ACCELERATE_FACTOR
161 EDJE_TWEEN_MODE_DECELERATE_FACTOR
162 EDJE_TWEEN_MODE_SINUSOIDAL_FACTOR
163 EDJE_TWEEN_MODE_DIVISOR_INTERP
164 EDJE_TWEEN_MODE_BOUNCE
165 EDJE_TWEEN_MODE_SPRING
166 EDJE_TWEEN_MODE_CUBIC_BEZIER
167 EDJE_TWEEN_MODE_LAST
168 EDJE_TWEEN_MODE_MASK
169 EDJE_TWEEN_MODE_OPT_FROM_CURRENT
170 ctypedef enum Edje_Tween_Mode:
171 pass
172
173 cpdef enum Edje_External_Param_Type:
174 EDJE_EXTERNAL_PARAM_TYPE_INT
175 EDJE_EXTERNAL_PARAM_TYPE_DOUBLE
176 EDJE_EXTERNAL_PARAM_TYPE_STRING
177 EDJE_EXTERNAL_PARAM_TYPE_BOOL
178 EDJE_EXTERNAL_PARAM_TYPE_CHOICE
179 EDJE_EXTERNAL_PARAM_TYPE_MAX
180 ctypedef enum Edje_External_Param_Type:
181 pass
182
183 cpdef enum Edje_Input_Hints:
184 EDJE_INPUT_HINT_NONE
185 EDJE_INPUT_HINT_AUTO_COMPLETE
186 EDJE_INPUT_HINT_SENSITIVE_DATA
187 ctypedef enum Edje_Input_Hints:
188 pass
189 34
190 #################################################################### 35 ####################################################################
191 # Structures 36 # Structures
diff --git a/include/efl.edje_edit.enums.pxd b/include/efl.edje_edit.enums.pxd
new file mode 100644
index 0000000..31522a8
--- /dev/null
+++ b/include/efl.edje_edit.enums.pxd
@@ -0,0 +1,9 @@
1cdef extern from "Edje_Edit.h":
2 ####################################################################
3 # Enums
4 #
5 ctypedef enum Edje_Edit_Image_Comp:
6 EDJE_EDIT_IMAGE_COMP_RAW
7 EDJE_EDIT_IMAGE_COMP_USER
8 EDJE_EDIT_IMAGE_COMP_COMP
9 EDJE_EDIT_IMAGE_COMP_LOSSY
diff --git a/include/efl.edje_edit.pxd b/include/efl.edje_edit.pxd
index 64c6e24..4207897 100644
--- a/include/efl.edje_edit.pxd
+++ b/include/efl.edje_edit.pxd
@@ -21,20 +21,10 @@ from efl.evas cimport Evas_Object, Evas
21from efl.edje cimport Edje_Part_Type, Edje_Text_Effect, Edje_Tween_Mode, \ 21from efl.edje cimport Edje_Part_Type, Edje_Text_Effect, Edje_Tween_Mode, \
22 Edje_Action_Type 22 Edje_Action_Type
23 23
24from efl.edje_edit.enums cimport Edje_Edit_Image_Comp
24 25
25cdef extern from "Edje_Edit.h": 26cdef extern from "Edje_Edit.h":
26 #################################################################### 27 ####################################################################
27 # Enums
28 #
29 cpdef enum Edje_Edit_Image_Comp:
30 EDJE_EDIT_IMAGE_COMP_RAW
31 EDJE_EDIT_IMAGE_COMP_USER
32 EDJE_EDIT_IMAGE_COMP_COMP
33 EDJE_EDIT_IMAGE_COMP_LOSSY
34 ctypedef enum Edje_Edit_Image_Comp:
35 pass
36
37 ####################################################################
38 # Structures 28 # Structures
39 # 29 #
40 ctypedef struct Edje_Edit_Script_Error: 30 ctypedef struct Edje_Edit_Script_Error:
diff --git a/include/efl.elementary.enums.pxd b/include/efl.elementary.enums.pxd
new file mode 100644
index 0000000..77833f4
--- /dev/null
+++ b/include/efl.elementary.enums.pxd
@@ -0,0 +1,742 @@
1cdef extern from "Edje.h":
2 # used in configuration
3 ctypedef enum Edje_Channel:
4 EDJE_CHANNEL_EFFECT
5 EDJE_CHANNEL_BACKGROUND
6 EDJE_CHANNEL_MUSIC
7 EDJE_CHANNEL_FOREGROUND
8 EDJE_CHANNEL_INTERFACE
9 EDJE_CHANNEL_INPUT
10 EDJE_CHANNEL_ALERT
11 EDJE_CHANNEL_ALL
12
13
14cdef extern from "Elementary.h":
15 #define
16 cdef enum:
17 ELM_ECORE_EVENT_ETHUMB_CONNECT
18 ELM_EVENT_CONFIG_ALL_CHANGED
19 ELM_EVENT_POLICY_CHANGED
20 ELM_EVENT_PROCESS_BACKGROUND
21 ELM_EVENT_PROCESS_FOREGROUND
22 ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED
23 ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED
24 ELM_EVENT_SYSTRAY_READY
25
26 #enums
27 ctypedef enum Elm_Focus_Direction:
28 ELM_FOCUS_PREVIOUS
29 ELM_FOCUS_NEXT
30 ELM_FOCUS_UP
31 ELM_FOCUS_DOWN
32 ELM_FOCUS_RIGHT
33 ELM_FOCUS_LEFT
34
35 ctypedef enum Elm_Focus_Move_Policy:
36 ELM_FOCUS_MOVE_POLICY_CLICK
37 ELM_FOCUS_MOVE_POLICY_IN
38 ELM_FOCUS_MOVE_POLICY_KEY_ONLY
39
40 ctypedef enum Elm_Focus_Region_Show_Mode:
41 ELM_FOCUS_REGION_SHOW_WIDGET
42 ELM_FOCUS_REGION_SHOW_ITEM
43
44 ctypedef enum Elm_Focus_Autoscroll_Mode:
45 ELM_FOCUS_AUTOSCROLL_MODE_SHOW
46 ELM_FOCUS_AUTOSCROLL_MODE_NONE
47 ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN
48
49 ctypedef enum Elm_Sel_Type:
50 ELM_SEL_TYPE_PRIMARY
51 ELM_SEL_TYPE_SECONDARY
52 ELM_SEL_TYPE_XDND
53 ELM_SEL_TYPE_CLIPBOARD
54
55 ctypedef enum Elm_Sel_Format:
56 ELM_SEL_FORMAT_TARGETS
57 ELM_SEL_FORMAT_NONE
58 ELM_SEL_FORMAT_TEXT
59 ELM_SEL_FORMAT_MARKUP
60 ELM_SEL_FORMAT_IMAGE
61 ELM_SEL_FORMAT_VCARD
62 ELM_SEL_FORMAT_HTML
63
64 ctypedef enum Elm_Xdnd_Action:
65 ELM_XDND_ACTION_UNKNOWN
66 ELM_XDND_ACTION_COPY
67 ELM_XDND_ACTION_MOVE
68 ELM_XDND_ACTION_PRIVATE
69 ELM_XDND_ACTION_ASK
70 ELM_XDND_ACTION_LIST
71 ELM_XDND_ACTION_LINK
72 ELM_XDND_ACTION_DESCRIPTION
73
74 ctypedef enum Elm_Tooltip_Orient:
75 ELM_TOOLTIP_ORIENT_NONE
76 ELM_TOOLTIP_ORIENT_TOP_LEFT
77 ELM_TOOLTIP_ORIENT_TOP
78 ELM_TOOLTIP_ORIENT_TOP_RIGHT
79 ELM_TOOLTIP_ORIENT_LEFT
80 ELM_TOOLTIP_ORIENT_CENTER
81 ELM_TOOLTIP_ORIENT_RIGHT
82 ELM_TOOLTIP_ORIENT_BOTTOM_LEFT
83 ELM_TOOLTIP_ORIENT_BOTTOM
84 ELM_TOOLTIP_ORIENT_BOTTOM_RIGHT
85 ELM_TOOLTIP_ORIENT_LAST
86
87 ctypedef enum Elm_Policy:
88 ELM_POLICY_QUIT
89 ELM_POLICY_EXIT
90 ELM_POLICY_THROTTLE
91 ELM_POLICY_LAST
92
93 ctypedef enum Elm_Policy_Quit:
94 ELM_POLICY_QUIT_NONE
95 ELM_POLICY_QUIT_LAST_WINDOW_CLOSED
96 ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN
97
98 ctypedef enum Elm_Policy_Exit:
99 ELM_POLICY_EXIT_NONE
100 ELM_POLICY_EXIT_WINDOWS_DEL
101
102 ctypedef enum Elm_Policy_Throttle:
103 ELM_POLICY_THROTTLE_CONFIG
104 ELM_POLICY_THROTTLE_HIDDEN_ALWAYS
105 ELM_POLICY_THROTTLE_NEVER
106
107 ctypedef enum Elm_Sys_Notify_Urgency:
108 ELM_SYS_NOTIFY_URGENCY_LOW
109 ELM_SYS_NOTIFY_URGENCY_NORMAL
110 ELM_SYS_NOTIFY_URGENCY_CRITICAL
111
112 ctypedef enum Elm_Glob_Match_Flags:
113 ELM_GLOB_MATCH_NO_ESCAPE
114 ELM_GLOB_MATCH_PATH
115 ELM_GLOB_MATCH_PERIOD
116 ELM_GLOB_MATCH_NOCASE
117
118 ctypedef enum Elm_Process_State:
119 ELM_PROCESS_STATE_FOREGROUND
120 ELM_PROCESS_STATE_BACKGROUND
121
122 ctypedef enum Elm_Sys_Notify_Urgency:
123 ELM_SYS_NOTIFY_URGENCY_LOW
124 ELM_SYS_NOTIFY_URGENCY_NORMAL
125 ELM_SYS_NOTIFY_URGENCY_CRITICAL
126
127 # actionslider
128 ctypedef enum Elm_Actionslider_Pos:
129 ELM_ACTIONSLIDER_NONE
130 ELM_ACTIONSLIDER_LEFT
131 ELM_ACTIONSLIDER_CENTER
132 ELM_ACTIONSLIDER_RIGHT
133 ELM_ACTIONSLIDER_ALL
134
135 # background
136 ctypedef enum Elm_Bg_Option:
137 ELM_BG_OPTION_CENTER
138 ELM_BG_OPTION_SCALE
139 ELM_BG_OPTION_STRETCH
140 ELM_BG_OPTION_TILE
141 ELM_BG_OPTION_LAST
142
143 # bubble
144 ctypedef enum Elm_Bubble_Pos:
145 ELM_BUBBLE_POS_TOP_LEFT
146 ELM_BUBBLE_POS_TOP_RIGHT
147 ELM_BUBBLE_POS_BOTTOM_LEFT
148 ELM_BUBBLE_POS_BOTTOM_RIGHT
149
150 # calendar
151 ctypedef enum Elm_Calendar_Mark_Repeat_Type:
152 ELM_CALENDAR_UNIQUE
153 ELM_CALENDAR_DAILY
154 ELM_CALENDAR_WEEKLY
155 ELM_CALENDAR_MONTHLY
156 ELM_CALENDAR_ANNUALLY
157 ELM_CALENDAR_LAST_DAY_OF_MONTH
158
159 ctypedef enum Elm_Calendar_Select_Mode:
160 ELM_CALENDAR_SELECT_MODE_DEFAULT
161 ELM_CALENDAR_SELECT_MODE_ALWAYS
162 ELM_CALENDAR_SELECT_MODE_NONE
163 ELM_CALENDAR_SELECT_MODE_ONDEMAND
164
165 ctypedef enum Elm_Calendar_Selectable:
166 ELM_CALENDAR_SELECTABLE_NONE
167 ELM_CALENDAR_SELECTABLE_YEAR
168 ELM_CALENDAR_SELECTABLE_MONTH
169 ELM_CALENDAR_SELECTABLE_DAY
170
171 ctypedef enum Elm_Calendar_Weekday:
172 ELM_DAY_SUNDAY
173 ELM_DAY_MONDAY
174 ELM_DAY_TUESDAY
175 ELM_DAY_WEDNESDAY
176 ELM_DAY_THURSDAY
177 ELM_DAY_FRIDAY
178 ELM_DAY_SATURDAY
179 ELM_DAY_LAST
180
181 # clock
182 ctypedef enum Elm_Clock_Edit_Mode:
183 ELM_CLOCK_EDIT_DEFAULT
184 ELM_CLOCK_EDIT_HOUR_DECIMAL
185 ELM_CLOCK_EDIT_HOUR_UNIT
186 ELM_CLOCK_EDIT_MIN_DECIMAL
187 ELM_CLOCK_EDIT_MIN_UNIT
188 ELM_CLOCK_EDIT_SEC_DECIMAL
189 ELM_CLOCK_EDIT_SEC_UNIT
190 ELM_CLOCK_EDIT_ALL
191
192 # colorselector
193 ctypedef enum Elm_Colorselector_Mode:
194 ELM_COLORSELECTOR_PALETTE
195 ELM_COLORSELECTOR_COMPONENTS
196 ELM_COLORSELECTOR_BOTH
197
198 # configuration
199 ctypedef enum Elm_Softcursor_Mode:
200 ELM_SOFTCURSOR_MODE_AUTO
201 ELM_SOFTCURSOR_MODE_ON
202 ELM_SOFTCURSOR_MODE_OFF
203
204 ctypedef enum Elm_Slider_Indicator_Visible_Mode:
205 ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT
206 ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS
207 ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS
208 ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE
209
210 # ctxpopup
211 ctypedef enum Elm_Ctxpopup_Direction:
212 ELM_CTXPOPUP_DIRECTION_DOWN
213 ELM_CTXPOPUP_DIRECTION_RIGHT
214 ELM_CTXPOPUP_DIRECTION_LEFT
215 ELM_CTXPOPUP_DIRECTION_UP
216 ELM_CTXPOPUP_DIRECTION_UNKNOWN
217
218 # datetime
219 ctypedef enum Elm_Datetime_Field_Type:
220 ELM_DATETIME_YEAR
221 ELM_DATETIME_MONTH
222 ELM_DATETIME_DATE
223 ELM_DATETIME_HOUR
224 ELM_DATETIME_MINUTE
225 ELM_DATETIME_AMPM
226
227 # dayselector
228 ctypedef enum Elm_Dayselector_Day:
229 ELM_DAYSELECTOR_SUN
230 ELM_DAYSELECTOR_MON
231 ELM_DAYSELECTOR_TUE
232 ELM_DAYSELECTOR_WED
233 ELM_DAYSELECTOR_THU
234 ELM_DAYSELECTOR_FRI
235 ELM_DAYSELECTOR_SAT
236 ELM_DAYSELECTOR_MAX
237
238 # entry
239 ctypedef enum Elm_Autocapital_Type:
240 ELM_AUTOCAPITAL_TYPE_NONE
241 ELM_AUTOCAPITAL_TYPE_WORD
242 ELM_AUTOCAPITAL_TYPE_SENTENCE
243 ELM_AUTOCAPITAL_TYPE_ALLCHARACTER
244
245 ctypedef enum Elm_Cnp_Mode:
246 ELM_CNP_MODE_MARKUP
247 ELM_CNP_MODE_NO_IMAGE
248 ELM_CNP_MODE_PLAINTEXT
249
250 ctypedef enum Elm_Input_Hints:
251 ELM_INPUT_HINT_NONE
252 ELM_INPUT_HINT_AUTO_COMPLETE
253 ELM_INPUT_HINT_SENSITIVE_DATA
254
255 ctypedef enum Elm_Input_Panel_Lang:
256 ELM_INPUT_PANEL_LANG_AUTOMATIC
257 ELM_INPUT_PANEL_LANG_ALPHABET
258
259 ctypedef enum Elm_Input_Panel_Layout:
260 ELM_INPUT_PANEL_LAYOUT_NORMAL
261 ELM_INPUT_PANEL_LAYOUT_NUMBER
262 ELM_INPUT_PANEL_LAYOUT_EMAIL
263 ELM_INPUT_PANEL_LAYOUT_URL
264 ELM_INPUT_PANEL_LAYOUT_PHONENUMBER
265 ELM_INPUT_PANEL_LAYOUT_IP
266 ELM_INPUT_PANEL_LAYOUT_MONTH
267 ELM_INPUT_PANEL_LAYOUT_NUMBERONLY
268 ELM_INPUT_PANEL_LAYOUT_INVALID
269 ELM_INPUT_PANEL_LAYOUT_HEX
270 ELM_INPUT_PANEL_LAYOUT_TERMINAL
271 ELM_INPUT_PANEL_LAYOUT_PASSWORD
272 ELM_INPUT_PANEL_LAYOUT_DATETIME
273 ELM_INPUT_PANEL_LAYOUT_EMOTICON
274
275 cdef enum:
276 ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_NORMAL
277 ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_FILENAME
278 ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_PERSON_NAME
279
280 cdef enum:
281 ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_NORMAL
282 ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED
283 ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_DECIMAL
284 ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED_AND_DECIMAL
285
286 cdef enum:
287 ELM_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NORMAL
288 ELM_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NUMBERONLY
289
290 ctypedef enum Elm_Input_Panel_Return_Key_Type:
291 ELM_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT
292 ELM_INPUT_PANEL_RETURN_KEY_TYPE_DONE
293 ELM_INPUT_PANEL_RETURN_KEY_TYPE_GO
294 ELM_INPUT_PANEL_RETURN_KEY_TYPE_JOIN
295 ELM_INPUT_PANEL_RETURN_KEY_TYPE_LOGIN
296 ELM_INPUT_PANEL_RETURN_KEY_TYPE_NEXT
297 ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEARCH
298 ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEND
299 ELM_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN
300
301 ctypedef enum Elm_Text_Format:
302 ELM_TEXT_FORMAT_PLAIN_UTF8
303 ELM_TEXT_FORMAT_MARKUP_UTF8
304
305 ctypedef enum Elm_Wrap_Type:
306 ELM_WRAP_NONE
307 ELM_WRAP_CHAR
308 ELM_WRAP_WORD
309 ELM_WRAP_MIXED
310
311 # fileselector
312 ctypedef enum Elm_Fileselector_Mode:
313 ELM_FILESELECTOR_LIST
314 ELM_FILESELECTOR_GRID
315
316 ctypedef enum Elm_Fileselector_Sort:
317 ELM_FILESELECTOR_SORT_BY_FILENAME_ASC
318 ELM_FILESELECTOR_SORT_BY_FILENAME_DESC
319 ELM_FILESELECTOR_SORT_BY_TYPE_ASC
320 ELM_FILESELECTOR_SORT_BY_TYPE_DESC
321 ELM_FILESELECTOR_SORT_BY_SIZE_ASC
322 ELM_FILESELECTOR_SORT_BY_SIZE_DESC
323 ELM_FILESELECTOR_SORT_BY_MODIFIED_ASC
324 ELM_FILESELECTOR_SORT_BY_MODIFIED_DESC
325 ELM_FILESELECTOR_SORT_LAST
326
327 # flip
328 ctypedef enum Elm_Flip_Direction:
329 ELM_FLIP_DIRECTION_UP
330 ELM_FLIP_DIRECTION_DOWN
331 ELM_FLIP_DIRECTION_LEFT
332 ELM_FLIP_DIRECTION_RIGHT
333
334 ctypedef enum Elm_Flip_Interaction:
335 ELM_FLIP_INTERACTION_NONE
336 ELM_FLIP_INTERACTION_ROTATE
337 ELM_FLIP_INTERACTION_CUBE
338 ELM_FLIP_INTERACTION_PAGE
339
340 ctypedef enum Elm_Flip_Mode:
341 ELM_FLIP_ROTATE_Y_CENTER_AXIS
342 ELM_FLIP_ROTATE_X_CENTER_AXIS
343 ELM_FLIP_ROTATE_XZ_CENTER_AXIS
344 ELM_FLIP_ROTATE_YZ_CENTER_AXIS
345 ELM_FLIP_CUBE_LEFT
346 ELM_FLIP_CUBE_RIGHT
347 ELM_FLIP_CUBE_UP
348 ELM_FLIP_CUBE_DOWN
349 ELM_FLIP_PAGE_LEFT
350 ELM_FLIP_PAGE_RIGHT
351 ELM_FLIP_PAGE_UP
352 ELM_FLIP_PAGE_DOWN
353
354 # gengrid
355 ctypedef enum Elm_Gengrid_Item_Scrollto_Type:
356 ELM_GENGRID_ITEM_SCROLLTO_NONE
357 ELM_GENGRID_ITEM_SCROLLTO_IN
358 ELM_GENGRID_ITEM_SCROLLTO_TOP
359 ELM_GENGRID_ITEM_SCROLLTO_MIDDLE
360 ELM_GENGRID_ITEM_SCROLLTO_BOTTOM
361
362 ctypedef enum Elm_Gengrid_Reorder_Type:
363 ELM_GENGRID_REORDER_TYPE_NORMAL
364 ELM_GENGRID_REORDER_TYPE_SWAP
365
366 # genlist
367 ctypedef enum Elm_Genlist_Item_Type:
368 ELM_GENLIST_ITEM_NONE
369 ELM_GENLIST_ITEM_TREE
370 ELM_GENLIST_ITEM_GROUP
371 ELM_GENLIST_ITEM_MAX
372
373 ctypedef enum Elm_Genlist_Item_Field_Type:
374 ELM_GENLIST_ITEM_FIELD_ALL
375 ELM_GENLIST_ITEM_FIELD_TEXT
376 ELM_GENLIST_ITEM_FIELD_CONTENT
377 ELM_GENLIST_ITEM_FIELD_STATE
378
379 ctypedef enum Elm_Genlist_Item_Scrollto_Type:
380 ELM_GENLIST_ITEM_SCROLLTO_NONE
381 ELM_GENLIST_ITEM_SCROLLTO_IN
382 ELM_GENLIST_ITEM_SCROLLTO_TOP
383 ELM_GENLIST_ITEM_SCROLLTO_MIDDLE
384 ELM_GENLIST_ITEM_SCROLLTO_BOTTOM
385
386 # gesture_layer
387 ctypedef enum Elm_Gesture_State:
388 ELM_GESTURE_STATE_UNDEFINED
389 ELM_GESTURE_STATE_START
390 ELM_GESTURE_STATE_MOVE
391 ELM_GESTURE_STATE_END
392 ELM_GESTURE_STATE_ABORT
393
394 ctypedef enum Elm_Gesture_Type:
395 ELM_GESTURE_FIRST
396 ELM_GESTURE_N_TAPS
397 ELM_GESTURE_N_LONG_TAPS
398 ELM_GESTURE_N_DOUBLE_TAPS
399 ELM_GESTURE_N_TRIPLE_TAPS
400 ELM_GESTURE_MOMENTUM
401 ELM_GESTURE_N_LINES
402 ELM_GESTURE_N_FLICKS
403 ELM_GESTURE_ZOOM
404 ELM_GESTURE_ROTATE
405 ELM_GESTURE_LAST
406
407 # hover
408 ctypedef enum Elm_Hover_Axis:
409 ELM_HOVER_AXIS_NONE
410 ELM_HOVER_AXIS_HORIZONTAL
411 ELM_HOVER_AXIS_VERTICAL
412 ELM_HOVER_AXIS_BOTH
413
414 # icon
415 ctypedef enum Elm_Icon_Lookup_Order:
416 ELM_ICON_LOOKUP_FDO_THEME
417 ELM_ICON_LOOKUP_THEME_FDO
418 ELM_ICON_LOOKUP_FDO
419 ELM_ICON_LOOKUP_THEME
420
421 ctypedef enum Elm_Icon_Type:
422 ELM_ICON_NONE
423 ELM_ICON_FILE
424 ELM_ICON_STANDARD
425
426 # image
427 ctypedef enum Elm_Image_Orient:
428 ELM_IMAGE_ORIENT_NONE
429 ELM_IMAGE_ORIENT_0
430 ELM_IMAGE_ROTATE_90
431 ELM_IMAGE_ROTATE_180
432 ELM_IMAGE_ROTATE_270
433 ELM_IMAGE_FLIP_HORIZONTAL
434 ELM_IMAGE_FLIP_VERTICAL
435 ELM_IMAGE_FLIP_TRANSPOSE
436 ELM_IMAGE_FLIP_TRANSVERSE
437
438 # label
439 ctypedef enum Elm_Wrap_Type:
440 ELM_WRAP_NONE
441 ELM_WRAP_CHAR
442 ELM_WRAP_WORD
443 ELM_WRAP_MIXED
444
445 ctypedef enum Elm_Label_Slide_Mode:
446 ELM_LABEL_SLIDE_MODE_NONE
447 ELM_LABEL_SLIDE_MODE_AUTO
448 ELM_LABEL_SLIDE_MODE_ALWAYS
449
450 # list
451 ctypedef enum Elm_List_Mode:
452 ELM_LIST_COMPRESS
453 ELM_LIST_SCROLL
454 ELM_LIST_LIMIT
455 ELM_LIST_EXPAND
456
457 # map
458 ctypedef enum Elm_Map_Overlay_Type:
459 ELM_MAP_OVERLAY_TYPE_NONE
460 ELM_MAP_OVERLAY_TYPE_DEFAULT
461 ELM_MAP_OVERLAY_TYPE_CLASS
462 ELM_MAP_OVERLAY_TYPE_GROUP
463 ELM_MAP_OVERLAY_TYPE_BUBBLE
464 ELM_MAP_OVERLAY_TYPE_ROUTE
465 ELM_MAP_OVERLAY_TYPE_LINE
466 ELM_MAP_OVERLAY_TYPE_POLYGON
467 ELM_MAP_OVERLAY_TYPE_CIRCLE
468 ELM_MAP_OVERLAY_TYPE_SCALE
469
470 ctypedef enum Elm_Map_Route_Method:
471 ELM_MAP_ROUTE_METHOD_FASTEST
472 ELM_MAP_ROUTE_METHOD_SHORTEST
473 ELM_MAP_ROUTE_METHOD_LAST
474
475 ctypedef enum Elm_Map_Route_Type:
476 ELM_MAP_ROUTE_TYPE_MOTOCAR
477 ELM_MAP_ROUTE_TYPE_BICYCLE
478 ELM_MAP_ROUTE_TYPE_FOOT
479 ELM_MAP_ROUTE_TYPE_LAST
480
481 ctypedef enum Elm_Map_Source_Type:
482 ELM_MAP_SOURCE_TYPE_TILE
483 ELM_MAP_SOURCE_TYPE_ROUTE
484 ELM_MAP_SOURCE_TYPE_NAME
485 ELM_MAP_SOURCE_TYPE_LAST
486
487 ctypedef enum Elm_Map_Zoom_Mode:
488 ELM_MAP_ZOOM_MODE_MANUAL
489 ELM_MAP_ZOOM_MODE_AUTO_FIT
490 ELM_MAP_ZOOM_MODE_AUTO_FILL
491 ELM_MAP_ZOOM_MODE_LAST
492
493 # need
494 ctypedef enum Elm_Sys_Notify_Closed_Reason:
495 ELM_SYS_NOTIFY_CLOSED_EXPIRED
496 ELM_SYS_NOTIFY_CLOSED_DISMISSED
497 ELM_SYS_NOTIFY_CLOSED_REQUESTED
498 ELM_SYS_NOTIFY_CLOSED_UNDEFINED
499
500 # notify
501 ctypedef enum Elm_Notify_Orient:
502 ELM_NOTIFY_ORIENT_TOP
503 ELM_NOTIFY_ORIENT_CENTER
504 ELM_NOTIFY_ORIENT_BOTTOM
505 ELM_NOTIFY_ORIENT_LEFT
506 ELM_NOTIFY_ORIENT_RIGHT
507 ELM_NOTIFY_ORIENT_TOP_LEFT
508 ELM_NOTIFY_ORIENT_TOP_RIGHT
509 ELM_NOTIFY_ORIENT_BOTTOM_LEFT
510 ELM_NOTIFY_ORIENT_BOTTOM_RIGHT
511 ELM_NOTIFY_ORIENT_LAST
512
513 # object
514 ctypedef enum Elm_Object_Select_Mode:
515 ELM_OBJECT_SELECT_MODE_DEFAULT
516 ELM_OBJECT_SELECT_MODE_ALWAYS
517 ELM_OBJECT_SELECT_MODE_NONE
518 ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY
519 ELM_OBJECT_SELECT_MODE_MAX
520
521 ctypedef enum Elm_Object_Multi_Select_Mode:
522 ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT
523 ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL
524 ELM_OBJECT_MULTI_SELECT_MODE_MAX
525
526 ctypedef enum Elm_Object_Layer:
527 ELM_OBJECT_LAYER_BACKGROUND # where to place backgrounds
528 ELM_OBJECT_LAYER_DEFAULT # Evas_Object default layer (and thus for Elementary)
529 ELM_OBJECT_LAYER_FOCUS # where focus object visualization is
530 ELM_OBJECT_LAYER_TOOLTIP # where to show tooltips
531 ELM_OBJECT_LAYER_CURSOR # where to show cursors
532 ELM_OBJECT_LAYER_LAST # last layer known by Elementary
533
534 # panel
535 ctypedef enum Elm_Panel_Orient:
536 ELM_PANEL_ORIENT_TOP
537 ELM_PANEL_ORIENT_BOTTOM
538 ELM_PANEL_ORIENT_LEFT
539 ELM_PANEL_ORIENT_RIGHT
540
541 # photocam
542 ctypedef enum Elm_Photocam_Zoom_Mode:
543 ELM_PHOTOCAM_ZOOM_MODE_MANUAL
544 ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT
545 ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL
546 ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN
547 ELM_PHOTOCAM_ZOOM_MODE_LAST
548
549 # popup
550 ctypedef enum Elm_Popup_Orient:
551 ELM_POPUP_ORIENT_TOP
552 ELM_POPUP_ORIENT_CENTER
553 ELM_POPUP_ORIENT_BOTTOM
554 ELM_POPUP_ORIENT_LEFT
555 ELM_POPUP_ORIENT_RIGHT
556 ELM_POPUP_ORIENT_TOP_LEFT
557 ELM_POPUP_ORIENT_TOP_RIGHT
558 ELM_POPUP_ORIENT_BOTTOM_LEFT
559 ELM_POPUP_ORIENT_BOTTOM_RIGHT
560 ELM_POPUP_ORIENT_LAST
561
562 # scroller
563 ctypedef enum Elm_Scroller_Policy:
564 ELM_SCROLLER_POLICY_AUTO
565 ELM_SCROLLER_POLICY_ON
566 ELM_SCROLLER_POLICY_OFF
567
568 ctypedef enum Elm_Scroller_Single_Direction:
569 ELM_SCROLLER_SINGLE_DIRECTION_NONE
570 ELM_SCROLLER_SINGLE_DIRECTION_SOFT
571 ELM_SCROLLER_SINGLE_DIRECTION_HARD
572 ELM_SCROLLER_SINGLE_DIRECTION_LAST
573
574 ctypedef enum Elm_Scroller_Movement_Block:
575 ELM_SCROLLER_MOVEMENT_NO_BLOCK
576 ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL
577 ELM_SCROLLER_MOVEMENT_BLOCK_HORIZONTAL
578
579 # slider
580 ctypedef enum Elm_Slider_Indicator_Visible_Mode:
581 ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT
582 ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS
583 ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS
584 ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE
585
586 # systray
587 ctypedef enum:
588 ELM_EVENT_SYSTRAY_READY
589
590 ctypedef enum Elm_Systray_Category:
591 ELM_SYSTRAY_CATEGORY_APP_STATUS
592 ELM_SYSTRAY_CATEGORY_COMMUNICATIONS
593 ELM_SYSTRAY_CATEGORY_SYS_SERVICES
594 ELM_SYSTRAY_CATEGORY_HARDWARE
595 ELM_SYSTRAY_CATEGORY_OTHER
596
597 ctypedef enum Elm_Systray_Status:
598 ELM_SYSTRAY_STATUS_PASSIVE
599 ELM_SYSTRAY_STATUS_ACTIVE
600 ELM_SYSTRAY_STATUS_ATTENTION
601
602 # thumb
603 ctypedef enum Elm_Thumb_Animation_Setting:
604 ELM_THUMB_ANIMATION_START
605 ELM_THUMB_ANIMATION_LOOP
606 ELM_THUMB_ANIMATION_STOP
607 ELM_THUMB_ANIMATION_LAST
608
609 ctypedef enum Ethumb_Thumb_FDO_Size:
610 ETHUMB_THUMB_NORMAL
611 ETHUMB_THUMB_LARGE
612
613 ctypedef enum Ethumb_Thumb_Format:
614 ETHUMB_THUMB_FDO
615 ETHUMB_THUMB_JPEG
616 ETHUMB_THUMB_EET
617
618 ctypedef enum Ethumb_Thumb_Aspect:
619 ETHUMB_THUMB_KEEP_ASPECT
620 ETHUMB_THUMB_IGNORE_ASPECT
621 ETHUMB_THUMB_CROP
622
623 ctypedef enum Ethumb_Thumb_Orientation:
624 ETHUMB_THUMB_ORIENT_NONE
625 ETHUMB_THUMB_ROTATE_90_CW
626 ETHUMB_THUMB_ROTATE_180
627 ETHUMB_THUMB_ROTATE_90_CCW
628 ETHUMB_THUMB_FLIP_HORIZONTAL
629 ETHUMB_THUMB_FLIP_VERTICAL
630 ETHUMB_THUMB_FLIP_TRANSPOSE
631 ETHUMB_THUMB_FLIP_TRANSVERSE
632 ETHUMB_THUMB_ORIENT_ORIGINAL
633
634 # toolbar
635 ctypedef enum Elm_Toolbar_Item_Scrollto_Type:
636 ELM_TOOLBAR_ITEM_SCROLLTO_NONE
637 ELM_TOOLBAR_ITEM_SCROLLTO_IN
638 ELM_TOOLBAR_ITEM_SCROLLTO_FIRST
639 ELM_TOOLBAR_ITEM_SCROLLTO_MIDDLE
640 ELM_TOOLBAR_ITEM_SCROLLTO_LAST
641
642 ctypedef enum Elm_Toolbar_Shrink_Mode:
643 ELM_TOOLBAR_SHRINK_NONE
644 ELM_TOOLBAR_SHRINK_HIDE
645 ELM_TOOLBAR_SHRINK_SCROLL
646 ELM_TOOLBAR_SHRINK_MENU
647 ELM_TOOLBAR_SHRINK_EXPAND
648 ELM_TOOLBAR_SHRINK_LAST
649
650 # transit
651 ctypedef enum Elm_Transit_Effect_Flip_Axis:
652 ELM_TRANSIT_EFFECT_FLIP_AXIS_X
653 ELM_TRANSIT_EFFECT_FLIP_AXIS_Y
654
655 ctypedef enum Elm_Transit_Effect_Wipe_Dir:
656 ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT
657 ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT
658 ELM_TRANSIT_EFFECT_WIPE_DIR_UP
659 ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN
660
661 ctypedef enum Elm_Transit_Effect_Wipe_Type:
662 ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE
663 ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW
664
665 ctypedef enum Elm_Transit_Tween_Mode:
666 ELM_TRANSIT_TWEEN_MODE_LINEAR
667 ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL
668 ELM_TRANSIT_TWEEN_MODE_DECELERATE
669 ELM_TRANSIT_TWEEN_MODE_ACCELERATE
670 ELM_TRANSIT_TWEEN_MODE_DIVISOR_INTERP
671 ELM_TRANSIT_TWEEN_MODE_BOUNCE
672 ELM_TRANSIT_TWEEN_MODE_SPRING
673 ELM_TRANSIT_TWEEN_MODE_BEZIER_CURVE
674
675 # web
676 ctypedef enum Elm_Web_Window_Feature_Flag:
677 ELM_WEB_WINDOW_FEATURE_TOOLBAR
678 ELM_WEB_WINDOW_FEATURE_STATUSBAR
679 ELM_WEB_WINDOW_FEATURE_SCROLLBARS
680 ELM_WEB_WINDOW_FEATURE_MENUBAR
681 ELM_WEB_WINDOW_FEATURE_LOCATIONBAR
682 ELM_WEB_WINDOW_FEATURE_FULLSCREEN
683
684 ctypedef enum Elm_Web_Zoom_Mode:
685 ELM_WEB_ZOOM_MODE_MANUAL
686 ELM_WEB_ZOOM_MODE_AUTO_FIT
687 ELM_WEB_ZOOM_MODE_AUTO_FILL
688
689 # window
690 ctypedef enum Elm_Win_Type:
691 ELM_WIN_UNKNOWN
692 ELM_WIN_BASIC
693 ELM_WIN_DIALOG_BASIC
694 ELM_WIN_DESKTOP
695 ELM_WIN_DOCK
696 ELM_WIN_TOOLBAR
697 ELM_WIN_MENU
698 ELM_WIN_UTILITY
699 ELM_WIN_SPLASH
700 ELM_WIN_DROPDOWN_MENU
701 ELM_WIN_POPUP_MENU
702 ELM_WIN_TOOLTIP
703 ELM_WIN_NOTIFICATION
704 ELM_WIN_COMBO
705 ELM_WIN_DND
706 ELM_WIN_INLINED_IMAGE
707 ELM_WIN_SOCKET_IMAGE
708
709 ctypedef enum Elm_Win_Indicator_Mode:
710 ELM_WIN_INDICATOR_UNKNOWN
711 ELM_WIN_INDICATOR_HIDE
712 ELM_WIN_INDICATOR_SHOW
713
714 ctypedef enum Elm_Win_Indicator_Opacity_Mode:
715 ELM_WIN_INDICATOR_OPACITY_UNKNOWN
716 ELM_WIN_INDICATOR_OPAQUE
717 ELM_WIN_INDICATOR_TRANSLUCENT
718 ELM_WIN_INDICATOR_TRANSPARENT
719
720 ctypedef enum Elm_Win_Keyboard_Mode:
721 ELM_WIN_KEYBOARD_UNKNOWN
722 ELM_WIN_KEYBOARD_OFF
723 ELM_WIN_KEYBOARD_ON
724 ELM_WIN_KEYBOARD_ALPHA
725 ELM_WIN_KEYBOARD_NUMERIC
726 ELM_WIN_KEYBOARD_PIN
727 ELM_WIN_KEYBOARD_PHONE_NUMBER
728 ELM_WIN_KEYBOARD_HEX
729 ELM_WIN_KEYBOARD_TERMINAL
730 ELM_WIN_KEYBOARD_PASSWORD
731 ELM_WIN_KEYBOARD_IP
732 ELM_WIN_KEYBOARD_HOST
733 ELM_WIN_KEYBOARD_FILE
734 ELM_WIN_KEYBOARD_URL
735 ELM_WIN_KEYBOARD_KEYPAD
736 ELM_WIN_KEYBOARD_J2ME
737
738 ctypedef enum Elm_Illume_Command:
739 ELM_ILLUME_COMMAND_FOCUS_BACK
740 ELM_ILLUME_COMMAND_FOCUS_FORWARD
741 ELM_ILLUME_COMMAND_FOCUS_HOME
742 ELM_ILLUME_COMMAND_CLOSE
diff --git a/include/efl.emotion.enums.pxd b/include/efl.emotion.enums.pxd
new file mode 100644
index 0000000..20cad7c
--- /dev/null
+++ b/include/efl.emotion.enums.pxd
@@ -0,0 +1,86 @@
1cdef extern from "Emotion.h":
2 ####################################################################
3 # Define
4 #
5 cdef enum:
6 EMOTION_CHANNEL_AUTO
7 EMOTION_CHANNEL_DEFAULT
8
9 ####################################################################
10 # Enums
11 #
12 ctypedef enum Emotion_Event:
13 EMOTION_EVENT_MENU1
14 EMOTION_EVENT_MENU2
15 EMOTION_EVENT_MENU3
16 EMOTION_EVENT_MENU4
17 EMOTION_EVENT_MENU5
18 EMOTION_EVENT_MENU6
19 EMOTION_EVENT_MENU7
20 EMOTION_EVENT_UP
21 EMOTION_EVENT_DOWN
22 EMOTION_EVENT_LEFT
23 EMOTION_EVENT_RIGHT
24 EMOTION_EVENT_SELECT
25 EMOTION_EVENT_NEXT
26 EMOTION_EVENT_PREV
27 EMOTION_EVENT_ANGLE_NEXT
28 EMOTION_EVENT_ANGLE_PREV
29 EMOTION_EVENT_FORCE
30 EMOTION_EVENT_0
31 EMOTION_EVENT_1
32 EMOTION_EVENT_2
33 EMOTION_EVENT_3
34 EMOTION_EVENT_4
35 EMOTION_EVENT_5
36 EMOTION_EVENT_6
37 EMOTION_EVENT_7
38 EMOTION_EVENT_8
39 EMOTION_EVENT_9
40 EMOTION_EVENT_10
41
42 ctypedef enum Emotion_Meta_Info:
43 EMOTION_META_INFO_TRACK_TITLE
44 EMOTION_META_INFO_TRACK_ARTIST
45 EMOTION_META_INFO_TRACK_ALBUM
46 EMOTION_META_INFO_TRACK_YEAR
47 EMOTION_META_INFO_TRACK_GENRE
48 EMOTION_META_INFO_TRACK_COMMENT
49 EMOTION_META_INFO_TRACK_DISC_ID
50 EMOTION_META_INFO_TRACK_COUNT
51
52 ctypedef enum Emotion_Aspect:
53 EMOTION_ASPECT_KEEP_NONE
54 EMOTION_ASPECT_KEEP_WIDTH
55 EMOTION_ASPECT_KEEP_HEIGHT
56 EMOTION_ASPECT_KEEP_BOTH
57 EMOTION_ASPECT_CROP
58 EMOTION_ASPECT_CUSTOM
59
60 ctypedef enum Emotion_Suspend:
61 EMOTION_WAKEUP
62 EMOTION_SLEEP
63 EMOTION_DEEP_SLEEP
64 EMOTION_HIBERNATE
65
66 ctypedef enum Emotion_Vis:
67 EMOTION_VIS_NONE
68 EMOTION_VIS_GOOM
69 EMOTION_VIS_LIBVISUAL_BUMPSCOPE
70 EMOTION_VIS_LIBVISUAL_CORONA
71 EMOTION_VIS_LIBVISUAL_DANCING_PARTICLES
72 EMOTION_VIS_LIBVISUAL_GDKPIXBUF
73 EMOTION_VIS_LIBVISUAL_G_FORCE
74 EMOTION_VIS_LIBVISUAL_GOOM
75 EMOTION_VIS_LIBVISUAL_INFINITE
76 EMOTION_VIS_LIBVISUAL_JAKDAW
77 EMOTION_VIS_LIBVISUAL_JESS
78 EMOTION_VIS_LIBVISUAL_LV_ANALYSER
79 EMOTION_VIS_LIBVISUAL_LV_FLOWER
80 EMOTION_VIS_LIBVISUAL_LV_GLTEST
81 EMOTION_VIS_LIBVISUAL_LV_SCOPE
82 EMOTION_VIS_LIBVISUAL_MADSPIN
83 EMOTION_VIS_LIBVISUAL_NEBULUS
84 EMOTION_VIS_LIBVISUAL_OINKSIE
85 EMOTION_VIS_LIBVISUAL_PLASMA
86 EMOTION_VIS_LAST
diff --git a/include/efl.emotion.pxd b/include/efl.emotion.pxd
index db1e69f..661ad30 100644
--- a/include/efl.emotion.pxd
+++ b/include/efl.emotion.pxd
@@ -19,103 +19,10 @@ from efl.eina cimport Eina_Bool, Eina_List
19from efl.evas cimport Evas, Evas_Object 19from efl.evas cimport Evas, Evas_Object
20from efl.evas cimport Object as evasObject 20from efl.evas cimport Object as evasObject
21 21
22cdef extern from "Emotion.h": 22from efl.emotion.enums cimport Emotion_Event, Emotion_Meta_Info, \
23 23 Emotion_Aspect, Emotion_Suspend, Emotion_Vis
24 ####################################################################
25 # Define
26 #
27 cpdef enum:
28 EMOTION_CHANNEL_AUTO
29 EMOTION_CHANNEL_DEFAULT
30
31 ####################################################################
32 # Enums
33 #
34 cpdef enum Emotion_Event:
35 EMOTION_EVENT_MENU1
36 EMOTION_EVENT_MENU2
37 EMOTION_EVENT_MENU3
38 EMOTION_EVENT_MENU4
39 EMOTION_EVENT_MENU5
40 EMOTION_EVENT_MENU6
41 EMOTION_EVENT_MENU7
42 EMOTION_EVENT_UP
43 EMOTION_EVENT_DOWN
44 EMOTION_EVENT_LEFT
45 EMOTION_EVENT_RIGHT
46 EMOTION_EVENT_SELECT
47 EMOTION_EVENT_NEXT
48 EMOTION_EVENT_PREV
49 EMOTION_EVENT_ANGLE_NEXT
50 EMOTION_EVENT_ANGLE_PREV
51 EMOTION_EVENT_FORCE
52 EMOTION_EVENT_0
53 EMOTION_EVENT_1
54 EMOTION_EVENT_2
55 EMOTION_EVENT_3
56 EMOTION_EVENT_4
57 EMOTION_EVENT_5
58 EMOTION_EVENT_6
59 EMOTION_EVENT_7
60 EMOTION_EVENT_8
61 EMOTION_EVENT_9
62 EMOTION_EVENT_10
63 ctypedef enum Emotion_Event:
64 pass
65 24
66 cpdef enum Emotion_Meta_Info: 25cdef extern from "Emotion.h":
67 EMOTION_META_INFO_TRACK_TITLE
68 EMOTION_META_INFO_TRACK_ARTIST
69 EMOTION_META_INFO_TRACK_ALBUM
70 EMOTION_META_INFO_TRACK_YEAR
71 EMOTION_META_INFO_TRACK_GENRE
72 EMOTION_META_INFO_TRACK_COMMENT
73 EMOTION_META_INFO_TRACK_DISC_ID
74 EMOTION_META_INFO_TRACK_COUNT
75 ctypedef enum Emotion_Meta_Info:
76 pass
77
78 cpdef enum Emotion_Aspect:
79 EMOTION_ASPECT_KEEP_NONE
80 EMOTION_ASPECT_KEEP_WIDTH
81 EMOTION_ASPECT_KEEP_HEIGHT
82 EMOTION_ASPECT_KEEP_BOTH
83 EMOTION_ASPECT_CROP
84 EMOTION_ASPECT_CUSTOM
85 ctypedef enum Emotion_Aspect:
86 pass
87
88 cpdef enum Emotion_Suspend:
89 EMOTION_WAKEUP
90 EMOTION_SLEEP
91 EMOTION_DEEP_SLEEP
92 EMOTION_HIBERNATE
93 ctypedef enum Emotion_Suspend:
94 pass
95
96 cpdef enum Emotion_Vis:
97 EMOTION_VIS_NONE
98 EMOTION_VIS_GOOM
99 EMOTION_VIS_LIBVISUAL_BUMPSCOPE
100 EMOTION_VIS_LIBVISUAL_CORONA
101 EMOTION_VIS_LIBVISUAL_DANCING_PARTICLES
102 EMOTION_VIS_LIBVISUAL_GDKPIXBUF
103 EMOTION_VIS_LIBVISUAL_G_FORCE
104 EMOTION_VIS_LIBVISUAL_GOOM
105 EMOTION_VIS_LIBVISUAL_INFINITE
106 EMOTION_VIS_LIBVISUAL_JAKDAW
107 EMOTION_VIS_LIBVISUAL_JESS
108 EMOTION_VIS_LIBVISUAL_LV_ANALYSER
109 EMOTION_VIS_LIBVISUAL_LV_FLOWER
110 EMOTION_VIS_LIBVISUAL_LV_GLTEST
111 EMOTION_VIS_LIBVISUAL_LV_SCOPE
112 EMOTION_VIS_LIBVISUAL_MADSPIN
113 EMOTION_VIS_LIBVISUAL_NEBULUS
114 EMOTION_VIS_LIBVISUAL_OINKSIE
115 EMOTION_VIS_LIBVISUAL_PLASMA
116 EMOTION_VIS_LAST
117 ctypedef enum Emotion_Vis:
118 pass
119 26
120 #################################################################### 27 ####################################################################
121 # Structs 28 # Structs
diff --git a/include/efl.ethumb.enums.pxd b/include/efl.ethumb.enums.pxd
new file mode 100644
index 0000000..4d46ab8
--- /dev/null
+++ b/include/efl.ethumb.enums.pxd
@@ -0,0 +1,29 @@
1cdef extern from "Ethumb.h":
2 ####################################################################
3 # Enums
4 #
5
6 ctypedef enum Ethumb_Thumb_Orientation:
7 ETHUMB_THUMB_ORIENT_NONE
8 ETHUMB_THUMB_ROTATE_90_CW
9 ETHUMB_THUMB_ROTATE_180
10 ETHUMB_THUMB_ROTATE_90_CCW
11 ETHUMB_THUMB_FLIP_HORIZONTAL
12 ETHUMB_THUMB_FLIP_VERTICAL
13 ETHUMB_THUMB_FLIP_TRANSPOSE
14 ETHUMB_THUMB_FLIP_TRANSVERSE
15 ETHUMB_THUMB_ORIENT_ORIGINAL
16
17 ctypedef enum Ethumb_Thumb_FDO_Size:
18 ETHUMB_THUMB_NORMAL
19 ETHUMB_THUMB_LARGE
20
21 ctypedef enum Ethumb_Thumb_Format:
22 ETHUMB_THUMB_FDO
23 ETHUMB_THUMB_JPEG
24 ETHUMB_THUMB_EET
25
26 ctypedef enum Ethumb_Thumb_Aspect:
27 ETHUMB_THUMB_KEEP_ASPECT
28 ETHUMB_THUMB_IGNORE_ASPECT
29 ETHUMB_THUMB_CROP
diff --git a/include/efl.ethumb.pxd b/include/efl.ethumb.pxd
index d2a2ecb..aa5e9fc 100644
--- a/include/efl.ethumb.pxd
+++ b/include/efl.ethumb.pxd
@@ -18,33 +18,5 @@
18 18
19from efl.c_ethumb cimport Ethumb as cEthumb 19from efl.c_ethumb cimport Ethumb as cEthumb
20 20
21cdef extern from "Ethumb.h":
22
23 cpdef enum Ethumb_Thumb_Orientation:
24 ETHUMB_THUMB_ORIENT_NONE
25 ETHUMB_THUMB_ROTATE_90_CW
26 ETHUMB_THUMB_ROTATE_180
27 ETHUMB_THUMB_ROTATE_90_CCW
28 ETHUMB_THUMB_FLIP_HORIZONTAL
29 ETHUMB_THUMB_FLIP_VERTICAL
30 ETHUMB_THUMB_FLIP_TRANSPOSE
31 ETHUMB_THUMB_FLIP_TRANSVERSE
32 ETHUMB_THUMB_ORIENT_ORIGINAL
33
34 cpdef enum Ethumb_Thumb_FDO_Size:
35 ETHUMB_THUMB_NORMAL
36 ETHUMB_THUMB_LARGE
37
38 cpdef enum Ethumb_Thumb_Format:
39 ETHUMB_THUMB_FDO
40 ETHUMB_THUMB_JPEG
41 ETHUMB_THUMB_EET
42
43 cpdef enum Ethumb_Thumb_Aspect:
44 ETHUMB_THUMB_KEEP_ASPECT
45 ETHUMB_THUMB_IGNORE_ASPECT
46 ETHUMB_THUMB_CROP
47
48
49cdef class Ethumb: 21cdef class Ethumb:
50 cdef cEthumb *obj 22 cdef cEthumb *obj
diff --git a/include/efl.ethumb_client.pxd b/include/efl.ethumb_client.pxd
index 988fc79..2e46d8b 100644
--- a/include/efl.ethumb_client.pxd
+++ b/include/efl.ethumb_client.pxd
@@ -17,46 +17,12 @@
17 17
18from efl.eina cimport Eina_Bool, Eina_Free_Cb 18from efl.eina cimport Eina_Bool, Eina_Free_Cb
19 19
20from efl.ethumb.enums cimport Ethumb_Thumb_Orientation, \
21 Ethumb_Thumb_FDO_Size, Ethumb_Thumb_Format, Ethumb_Thumb_Aspect
20 22
21cdef extern from "Ethumb_Client.h": 23cdef extern from "Ethumb_Client.h":
22 24
23 #################################################################### 25 ####################################################################
24 # Enums
25 #