diff options
27 files changed, 513 insertions, 440 deletions
diff --git a/efl/ecore/efl.ecore_exe.pxi b/efl/ecore/efl.ecore_exe.pxi index 60447e5..54e9a12 100644 --- a/efl/ecore/efl.ecore_exe.pxi +++ b/efl/ecore/efl.ecore_exe.pxi | |||
@@ -460,7 +460,7 @@ cdef class Exe(object): | |||
460 | :rtype: str or None | 460 | :rtype: str or None |
461 | 461 | ||
462 | """ | 462 | """ |
463 | cdef const_char_ptr cmd = ecore_exe_cmd_get(self.exe) | 463 | cdef const_char *cmd = ecore_exe_cmd_get(self.exe) |
464 | if cmd != NULL: | 464 | if cmd != NULL: |
465 | return cmd | 465 | return cmd |
466 | return None | 466 | return None |
@@ -511,7 +511,7 @@ cdef class Exe(object): | |||
511 | :rtype: str or None | 511 | :rtype: str or None |
512 | 512 | ||
513 | """ | 513 | """ |
514 | cdef const_char_ptr tag = ecore_exe_tag_get(self.exe) | 514 | cdef const_char *tag = ecore_exe_tag_get(self.exe) |
515 | if tag != NULL: | 515 | if tag != NULL: |
516 | return tag | 516 | return tag |
517 | return None | 517 | return None |
diff --git a/efl/ecore/efl.ecore_file_download.pxi b/efl/ecore/efl.ecore_file_download.pxi index 3fd7d6a..5e1f78d 100644 --- a/efl/ecore/efl.ecore_file_download.pxi +++ b/efl/ecore/efl.ecore_file_download.pxi | |||
@@ -16,14 +16,14 @@ | |||
16 | # along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>. | 16 | # along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | 18 | ||
19 | cdef void _completion_cb(void *data, const_char_ptr file, int status) with gil: | 19 | cdef void _completion_cb(void *data, const_char *file, int status) with gil: |
20 | obj = <FileDownload>data | 20 | obj = <FileDownload>data |
21 | try: | 21 | try: |
22 | obj._exec_completion(file, status) | 22 | obj._exec_completion(file, status) |
23 | except Exception, e: | 23 | except Exception, e: |
24 | traceback.print_exc() | 24 | traceback.print_exc() |
25 | 25 | ||
26 | cdef int _progress_cb(void *data, const_char_ptr file, long int dltotal, | 26 | cdef int _progress_cb(void *data, const_char *file, long int dltotal, |
27 | long int dlnow, long int ultotal, long int ulnow) with gil: | 27 | long int dlnow, long int ultotal, long int ulnow) with gil: |
28 | obj = <FileDownload>data | 28 | obj = <FileDownload>data |
29 | try: | 29 | try: |
@@ -117,11 +117,11 @@ cdef class FileDownload(object): | |||
117 | self.args = None | 117 | self.args = None |
118 | self.kargs = None | 118 | self.kargs = None |
119 | 119 | ||
120 | cdef object _exec_completion(self, const_char_ptr file, int status): | 120 | cdef object _exec_completion(self, const_char *file, int status): |
121 | if self.completion_cb: | 121 | if self.completion_cb: |
122 | self.completion_cb(file, status, *self.args, **self.kargs) | 122 | self.completion_cb(file, status, *self.args, **self.kargs) |
123 | 123 | ||
124 | cdef object _exec_progress(self, const_char_ptr file, long int dltotal, | 124 | cdef object _exec_progress(self, const_char *file, long int dltotal, |
125 | long int dlnow, long int ultotal, long int ulnow): | 125 | long int dlnow, long int ultotal, long int ulnow): |
126 | if self.progress_cb: | 126 | if self.progress_cb: |
127 | return self.progress_cb(file, dltotal, dlnow, ultotal, ulnow, | 127 | return self.progress_cb(file, dltotal, dlnow, ultotal, ulnow, |
diff --git a/efl/edje/efl.edje.pyx b/efl/edje/efl.edje.pyx index cbc7c4e..a5e30e1 100644 --- a/efl/edje/efl.edje.pyx +++ b/efl/edje/efl.edje.pyx | |||
@@ -22,7 +22,7 @@ from cpython cimport PyMem_Malloc, PyMem_Free | |||
22 | cimport libc.stdlib | 22 | cimport libc.stdlib |
23 | 23 | ||
24 | from efl.eo cimport _object_mapping_register, object_from_instance | 24 | from efl.eo cimport _object_mapping_register, object_from_instance |
25 | from efl.eo cimport _ctouni, _cfruni, _touni, _fruni, _strings_to_python | 25 | from efl.eo cimport _ctouni, _cfruni, _touni, _fruni, convert_eina_list_strings_to_python_list |
26 | 26 | ||
27 | 27 | ||
28 | # Edje_Message_Type: | 28 | # Edje_Message_Type: |
@@ -162,7 +162,7 @@ def fontset_append_get(): | |||
162 | def file_collection_list(file): | 162 | def file_collection_list(file): |
163 | cdef Eina_List *lst | 163 | cdef Eina_List *lst |
164 | lst = edje_file_collection_list(_cfruni(file)) | 164 | lst = edje_file_collection_list(_cfruni(file)) |
165 | ret = _strings_to_python(lst) | 165 | ret = convert_eina_list_strings_to_python_list(lst) |
166 | edje_file_collection_list_free(lst) | 166 | edje_file_collection_list_free(lst) |
167 | return ret | 167 | return ret |
168 | 168 | ||
diff --git a/efl/edje/efl.edje_external.pxi b/efl/edje/efl.edje_external.pxi index 5c1c11b..b0951a5 100644 --- a/efl/edje/efl.edje_external.pxi +++ b/efl/edje/efl.edje_external.pxi | |||
@@ -91,7 +91,7 @@ cdef class ExternalParamInfo: | |||
91 | 91 | ||
92 | property translated_name: | 92 | property translated_name: |
93 | def __get__(self): | 93 | def __get__(self): |
94 | cdef const_char_ptr t | 94 | cdef const_char *t |
95 | if self._external_type_obj == NULL or \ | 95 | if self._external_type_obj == NULL or \ |
96 | self._external_type_obj.translate == NULL: | 96 | self._external_type_obj.translate == NULL: |
97 | return self.name | 97 | return self.name |
@@ -195,7 +195,7 @@ cdef class ExternalParamInfoString(ExternalParamInfo): | |||
195 | 195 | ||
196 | property translated_default: | 196 | property translated_default: |
197 | def __get__(self): | 197 | def __get__(self): |
198 | cdef const_char_ptr t | 198 | cdef const_char *t |
199 | if self._external_type_obj == NULL or \ | 199 | if self._external_type_obj == NULL or \ |
200 | self._external_type_obj.translate == NULL: | 200 | self._external_type_obj.translate == NULL: |
201 | return self.default | 201 | return self.default |
@@ -231,7 +231,7 @@ cdef class ExternalParamInfoBool(ExternalParamInfo): | |||
231 | 231 | ||
232 | property translated_false_string: | 232 | property translated_false_string: |
233 | def __get__(self): | 233 | def __get__(self): |
234 | cdef const_char_ptr t | 234 | cdef const_char *t |
235 | if self._external_type_obj == NULL or \ | 235 | if self._external_type_obj == NULL or \ |
236 | self._external_type_obj.translate == NULL: | 236 | self._external_type_obj.translate == NULL: |
237 | return self.false_string | 237 | return self.false_string |
@@ -249,7 +249,7 @@ cdef class ExternalParamInfoBool(ExternalParamInfo): | |||
249 | 249 | ||
250 | property translated_true_string: | 250 | property translated_true_string: |
251 | def __get__(self): | 251 | def __get__(self): |
252 | cdef const_char_ptr t | 252 | cdef const_char *t |
253 | if self._external_type_obj == NULL or \ | 253 | if self._external_type_obj == NULL or \ |
254 | self._external_type_obj.translate == NULL: | 254 | self._external_type_obj.translate == NULL: |
255 | return self.true_string | 255 | return self.true_string |
@@ -269,7 +269,7 @@ cdef class ExternalParamInfoChoice(ExternalParamInfo): | |||
269 | 269 | ||
270 | property translated_default: | 270 | property translated_default: |
271 | def __get__(self): | 271 | def __get__(self): |
272 | cdef const_char_ptr t | 272 | cdef const_char *t |
273 | if self._external_type_obj == NULL or \ | 273 | if self._external_type_obj == NULL or \ |
274 | self._external_type_obj.translate == NULL: | 274 | self._external_type_obj.translate == NULL: |
275 | return self.default | 275 | return self.default |
@@ -295,7 +295,7 @@ cdef class ExternalParamInfoChoice(ExternalParamInfo): | |||
295 | 295 | ||
296 | property translated_choices: | 296 | property translated_choices: |
297 | def __get__(self): | 297 | def __get__(self): |
298 | cdef const_char_ptr t | 298 | cdef const_char *t |
299 | if self._external_type_obj == NULL or \ | 299 | if self._external_type_obj == NULL or \ |
300 | self._external_type_obj.translate == NULL: | 300 | self._external_type_obj.translate == NULL: |
301 | return self.choices | 301 | return self.choices |
@@ -365,7 +365,7 @@ cdef class ExternalType: | |||
365 | return self._obj.module_name | 365 | return self._obj.module_name |
366 | 366 | ||
367 | def label_get(self): | 367 | def label_get(self): |
368 | cdef const_char_ptr l | 368 | cdef const_char *l |
369 | if self._obj.label_get == NULL: | 369 | if self._obj.label_get == NULL: |
370 | return None | 370 | return None |
371 | l = self._obj.label_get(self._obj.data) | 371 | l = self._obj.label_get(self._obj.data) |
@@ -375,7 +375,7 @@ cdef class ExternalType: | |||
375 | return ret | 375 | return ret |
376 | 376 | ||
377 | def description_get(self): | 377 | def description_get(self): |
378 | cdef const_char_ptr l | 378 | cdef const_char *l |
379 | if self._obj.description_get == NULL: | 379 | if self._obj.description_get == NULL: |
380 | return None | 380 | return None |
381 | l = self._obj.description_get(self._obj.data) | 381 | l = self._obj.description_get(self._obj.data) |
@@ -395,7 +395,7 @@ cdef class ExternalType: | |||
395 | It will always return a string, on errors the parameter text | 395 | It will always return a string, on errors the parameter text |
396 | is returned untranslated. | 396 | is returned untranslated. |
397 | """ | 397 | """ |
398 | cdef const_char_ptr l | 398 | cdef const_char *l |
399 | if self._obj.translate == NULL: | 399 | if self._obj.translate == NULL: |
400 | return text | 400 | return text |
401 | l = self._obj.translate(self._obj.data, text) | 401 | l = self._obj.translate(self._obj.data, text) |
diff --git a/efl/edje/efl.edje_object.pxi b/efl/edje/efl.edje_object.pxi index 4e0684f..1706435 100644 --- a/efl/edje/efl.edje_object.pxi +++ b/efl/edje/efl.edje_object.pxi | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | cdef void text_change_cb(void *data, | 19 | cdef void text_change_cb(void *data, |
20 | Evas_Object *obj, | 20 | Evas_Object *obj, |
21 | const_char_ptr part) with gil: | 21 | const_char *part) with gil: |
22 | cdef Edje self | 22 | cdef Edje self |
23 | self = <Edje>data | 23 | self = <Edje>data |
24 | if self._text_change_cb is None: | 24 | if self._text_change_cb is None: |
@@ -46,7 +46,7 @@ cdef void message_handler_cb(void *data, | |||
46 | 46 | ||
47 | 47 | ||
48 | cdef void signal_cb(void *data, Evas_Object *obj, | 48 | cdef void signal_cb(void *data, Evas_Object *obj, |
49 | const_char_ptr emission, const_char_ptr source) with gil: | 49 | const_char *emission, const_char_ptr source) with gil: |
50 | cdef Edje self | 50 | cdef Edje self |
51 | self = object_from_instance(obj) | 51 | self = object_from_instance(obj) |
52 | lst = tuple(<object>data) | 52 | lst = tuple(<object>data) |
@@ -214,7 +214,7 @@ cdef class Edje(Object): | |||
214 | :rtype: tuple for str | 214 | :rtype: tuple for str |
215 | 215 | ||
216 | """ | 216 | """ |
217 | cdef const_char_ptr file, group | 217 | cdef const_char *file, *group |
218 | edje_object_file_get(self.obj, &file, &group) | 218 | edje_object_file_get(self.obj, &file, &group) |
219 | return (_ctouni(file), _ctouni(group)) | 219 | return (_ctouni(file), _ctouni(group)) |
220 | 220 | ||
@@ -434,7 +434,7 @@ cdef class Edje(Object): | |||
434 | :rtype: str | 434 | :rtype: str |
435 | 435 | ||
436 | """ | 436 | """ |
437 | cdef const_char_ptr s | 437 | cdef const_char *s |
438 | return _ctouni(edje_object_part_text_get(self.obj, _cfruni(part))) | 438 | return _ctouni(edje_object_part_text_get(self.obj, _cfruni(part))) |
439 | 439 | ||
440 | 440 | ||
@@ -519,8 +519,8 @@ cdef class Edje(Object): | |||
519 | :rtype: bool | 519 | :rtype: bool |
520 | """ | 520 | """ |
521 | cdef Edje_External_Param p | 521 | cdef Edje_External_Param p |
522 | cdef const_char_ptr c_part | 522 | cdef const_char *c_part |
523 | cdef const_char_ptr c_param | 523 | cdef const_char *c_param |
524 | 524 | ||
525 | if isinstance(part, unicode): | 525 | if isinstance(part, unicode): |
526 | str1 = part.encode('UTF-8') | 526 | str1 = part.encode('UTF-8') |
@@ -571,8 +571,8 @@ cdef class Edje(Object): | |||
571 | :return: *None* for errors, other values depending on the parameter type. | 571 | :return: *None* for errors, other values depending on the parameter type. |
572 | """ | 572 | """ |
573 | cdef Edje_External_Param p | 573 | cdef Edje_External_Param p |
574 | cdef const_char_ptr c_part | 574 | cdef const_char *c_part |
575 | cdef const_char_ptr c_param | 575 | cdef const_char *c_param |
576 | 576 | ||
577 | if isinstance(part, unicode): | 577 | if isinstance(part, unicode): |
578 | str1 = part.encode('UTF-8') | 578 | str1 = part.encode('UTF-8') |
@@ -765,7 +765,7 @@ cdef class Edje(Object): | |||
765 | def part_state_get(self, part): | 765 | def part_state_get(self, part): |
766 | ":rtype: (name, value)" | 766 | ":rtype: (name, value)" |
767 | cdef double sv | 767 | cdef double sv |
768 | cdef const_char_ptr sn | 768 | cdef const_char *sn |
769 | sn = edje_object_part_state_get(self.obj, _cfruni(part), &sv) | 769 | sn = edje_object_part_state_get(self.obj, _cfruni(part), &sv) |
770 | return (_ctouni(sn), sv) | 770 | return (_ctouni(sn), sv) |
771 | 771 | ||
diff --git a/efl/efreet/base.pxi b/efl/efreet/base.pxi index ee67c3e..7824dcd 100644 --- a/efl/efreet/base.pxi +++ b/efl/efreet/base.pxi | |||
@@ -1,4 +1,4 @@ | |||
1 | from efl.eo cimport _ctouni, _strings_to_python | 1 | from efl.eo cimport _ctouni, convert_eina_list_strings_to_python_list |
2 | 2 | ||
3 | def data_home_get(): | 3 | def data_home_get(): |
4 | """ | 4 | """ |
@@ -20,7 +20,7 @@ def data_dirs_get(): | |||
20 | modified values. DO NOT free this list. | 20 | modified values. DO NOT free this list. |
21 | 21 | ||
22 | """ | 22 | """ |
23 | return _strings_to_python(efreet_data_dirs_get()) | 23 | return convert_eina_list_strings_to_python_list(efreet_data_dirs_get()) |
24 | 24 | ||
25 | def config_home_get(): | 25 | def config_home_get(): |
26 | """ | 26 | """ |
@@ -156,7 +156,7 @@ def config_dirs_get(): | |||
156 | modified values. DO NOT free this list. | 156 | modified values. DO NOT free this list. |
157 | 157 | ||
158 | """ | 158 | """ |
159 | return _strings_to_python(efreet_config_dirs_get()) | 159 | return convert_eina_list_strings_to_python_list(efreet_config_dirs_get()) |
160 | 160 | ||
161 | def cache_home_get(): | 161 | def cache_home_get(): |
162 | """ | 162 | """ |
diff --git a/efl/elementary/configuration.pyx b/efl/elementary/configuration.pyx index 7015eaf..2b2af72 100644 --- a/efl/elementary/configuration.pyx +++ b/efl/elementary/configuration.pyx | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | include "widget_header.pxi" | 19 | include "widget_header.pxi" |
20 | 20 | ||
21 | from efl.eo cimport _strings_to_python | 21 | from efl.eo cimport convert_eina_list_strings_to_python_list |
22 | 22 | ||
23 | cdef class Configuration(object): | 23 | cdef class Configuration(object): |
24 | 24 | ||
@@ -158,7 +158,7 @@ cdef class Configuration(object): | |||
158 | """ | 158 | """ |
159 | def __get__(self): | 159 | def __get__(self): |
160 | cdef Eina_List *lst = elm_config_profile_list_get() | 160 | cdef Eina_List *lst = elm_config_profile_list_get() |
161 | return tuple(_strings_to_python(lst)) | 161 | return tuple(convert_eina_list_strings_to_python_list(lst)) |
162 | 162 | ||
163 | property scroll_bounce_enabled: | 163 | property scroll_bounce_enabled: |
164 | """Whether scrollers should bounce when they reach their | 164 | """Whether scrollers should bounce when they reach their |
diff --git a/efl/elementary/general.pxd b/efl/elementary/general.pxd index 7ff0a30..31dba3a 100644 --- a/efl/elementary/general.pxd +++ b/efl/elementary/general.pxd | |||
@@ -25,10 +25,8 @@ from efl.evas cimport Evas_Font_Size | |||
25 | from efl.evas cimport Evas_Load_Error | 25 | from efl.evas cimport Evas_Load_Error |
26 | from efl.evas cimport Evas_Event_Flags | 26 | from efl.evas cimport Evas_Event_Flags |
27 | from enums cimport Elm_Policy, Elm_Policy_Quit | 27 | from enums cimport Elm_Policy, Elm_Policy_Quit |
28 | 28 | from libc.string cimport const_char | |
29 | cdef extern from *: | 29 | from libc.stdlib cimport const_void |
30 | ctypedef char* const_char_ptr "const char *" | ||
31 | ctypedef void const_void "const void" | ||
32 | 30 | ||
33 | cdef extern from "stdlib.h": | 31 | cdef extern from "stdlib.h": |
34 | void free(void *ptr) | 32 | void free(void *ptr) |
@@ -50,7 +48,7 @@ cdef extern from "time.h": | |||
50 | int tm_isdst | 48 | int tm_isdst |
51 | 49 | ||
52 | long int tm_gmtoff | 50 | long int tm_gmtoff |
53 | const_char_ptr tm_zone | 51 | const_char *tm_zone |
54 | 52 | ||
55 | cdef extern from "Python.h": | 53 | cdef extern from "Python.h": |
56 | ctypedef struct PyTypeObject: | 54 | ctypedef struct PyTypeObject: |
@@ -60,7 +58,7 @@ cdef extern from "Ecore.h": | |||
60 | ctypedef void (*Ecore_Cb)(void *data) | 58 | ctypedef void (*Ecore_Cb)(void *data) |
61 | 59 | ||
62 | cdef extern from "Edje.h": | 60 | cdef extern from "Edje.h": |
63 | ctypedef void (*Edje_Signal_Cb)(void *data, Evas_Object *obj, const_char_ptr emission, const_char_ptr source) | 61 | ctypedef void (*Edje_Signal_Cb)(void *data, Evas_Object *obj, const_char *emission, const_char *source) |
64 | 62 | ||
65 | cdef extern from "Elementary.h": | 63 | cdef extern from "Elementary.h": |
66 | 64 | ||
@@ -74,7 +72,7 @@ cdef extern from "Elementary.h": | |||
74 | unsigned int a | 72 | unsigned int a |
75 | 73 | ||
76 | ctypedef struct _Elm_Custom_Palette: | 74 | ctypedef struct _Elm_Custom_Palette: |
77 | const_char_ptr palette_name | 75 | const_char *palette_name |
78 | Eina_List *color_list | 76 | Eina_List *color_list |
79 | 77 | ||
80 | #event | 78 | #event |
@@ -82,14 +80,14 @@ cdef extern from "Elementary.h": | |||
82 | 80 | ||
83 | #font | 81 | #font |
84 | ctypedef struct Elm_Font_Overlay: | 82 | ctypedef struct Elm_Font_Overlay: |
85 | const_char_ptr text_class | 83 | const_char *text_class |
86 | const_char_ptr font | 84 | const_char *font |
87 | Evas_Font_Size size | 85 | Evas_Font_Size size |
88 | 86 | ||
89 | #text | 87 | #text |
90 | ctypedef struct Elm_Text_Class: | 88 | ctypedef struct Elm_Text_Class: |
91 | const_char_ptr name | 89 | const_char *name |
92 | const_char_ptr desc | 90 | const_char *desc |
93 | 91 | ||
94 | #tooltip | 92 | #tooltip |
95 | ctypedef Evas_Object *(*Elm_Tooltip_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip) | 93 | ctypedef Evas_Object *(*Elm_Tooltip_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip) |
@@ -119,10 +117,10 @@ cdef extern from "Elementary.h": | |||
119 | int elm_policy_get(unsigned int policy) | 117 | int elm_policy_get(unsigned int policy) |
120 | 118 | ||
121 | # General - Language (py3: TODO) | 119 | # General - Language (py3: TODO) |
122 | void elm_language_set(const_char_ptr lang) | 120 | void elm_language_set(const_char *lang) |
123 | 121 | ||
124 | # Cache | 122 | # Cache |
125 | void elm_cache_all_flush() | 123 | void elm_cache_all_flush() |
126 | 124 | ||
127 | # Finger | 125 | # Finger |
128 | void elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h) | 126 | void elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h) |
@@ -130,6 +128,6 @@ cdef extern from "Elementary.h": | |||
130 | #cdef int PY_REFCOUNT(object o) | 128 | #cdef int PY_REFCOUNT(object o) |
131 | #cdef _METHOD_DEPRECATED(self, replacement=*, message=*) | 129 | #cdef _METHOD_DEPRECATED(self, replacement=*, message=*) |
132 | #cdef inline unicode _touni(char* s) | 130 | #cdef inline unicode _touni(char* s) |
133 | #cdef inline unicode _ctouni(const_char_ptr s) | 131 | #cdef inline unicode _ctouni(const_char *s) |
134 | #cdef inline char* _fruni(s) | 132 | #cdef inline char* _fruni(s) |
135 | #cdef inline const_char_ptr _cfruni(s) | 133 | #cdef inline const_char *_cfruni(s) |
diff --git a/efl/elementary/layout_class.pxd b/efl/elementary/layout_class.pxd index e70f2fc..135d137 100644 --- a/efl/elementary/layout_class.pxd +++ b/efl/elementary/layout_class.pxd | |||
@@ -18,40 +18,38 @@ | |||
18 | 18 | ||
19 | from efl.evas cimport Evas_Object, Eina_Bool | 19 | from efl.evas cimport Evas_Object, Eina_Bool |
20 | from object cimport Object | 20 | from object cimport Object |
21 | 21 | from libc.string cimport const_char | |
22 | cdef extern from *: | ||
23 | ctypedef char * const_char_ptr "const char *" | ||
24 | 22 | ||
25 | cdef extern from "Edje.h": | 23 | cdef extern from "Edje.h": |
26 | ctypedef void (*Edje_Signal_Cb)(void *data, Evas_Object *obj, const_char_ptr emission, const_char_ptr source) | 24 | ctypedef void (*Edje_Signal_Cb)(void *data, Evas_Object *obj, const_char *emission, const_char *source) |
27 | 25 | ||
28 | cdef extern from "Elementary.h": | 26 | cdef extern from "Elementary.h": |
29 | 27 | ||
30 | # Layout (api:TODO cb:DONE test:DONE doc:DONE py3:DONE) | 28 | # Layout (api:TODO cb:DONE test:DONE doc:DONE py3:DONE) |
31 | Eina_Bool elm_layout_file_set(Evas_Object *obj, const_char_ptr file, const_char_ptr group) | 29 | Eina_Bool elm_layout_file_set(Evas_Object *obj, const_char *file, const_char *group) |
32 | Eina_Bool elm_layout_theme_set(Evas_Object *obj, const_char_ptr clas, const_char_ptr group, const_char_ptr style) | 30 | Eina_Bool elm_layout_theme_set(Evas_Object *obj, const_char *clas, const_char *group, const_char *style) |
33 | void elm_layout_signal_emit(Evas_Object *obj, const_char_ptr emission, const_char_ptr source) | 31 | void elm_layout_signal_emit(Evas_Object *obj, const_char *emission, const_char *source) |
34 | void elm_layout_signal_callback_add(Evas_Object *obj, const_char_ptr emission, const_char_ptr source, Edje_Signal_Cb func, void *data) | 32 | void elm_layout_signal_callback_add(Evas_Object *obj, const_char *emission, const_char *source, Edje_Signal_Cb func, void *data) |
35 | void *elm_layout_signal_callback_del(Evas_Object *obj, const_char_ptr emission, const_char_ptr source, Edje_Signal_Cb func) | 33 | void *elm_layout_signal_callback_del(Evas_Object *obj, const_char *emission, const_char *source, Edje_Signal_Cb func) |
36 | Eina_Bool elm_layout_box_append(Evas_Object *obj, const_char_ptr part, Evas_Object *child) | 34 | Eina_Bool elm_layout_box_append(Evas_Object *obj, const_char *part, Evas_Object *child) |
37 | Eina_Bool elm_layout_box_prepend(Evas_Object *obj, const_char_ptr part, Evas_Object *child) | 35 | Eina_Bool elm_layout_box_prepend(Evas_Object *obj, const_char *part, Evas_Object *child) |
38 | Eina_Bool elm_layout_box_insert_before(Evas_Object *obj, const_char_ptr part, Evas_Object *child, Evas_Object *reference) | 36 | Eina_Bool elm_layout_box_insert_before(Evas_Object *obj, const_char *part, Evas_Object *child, Evas_Object *reference) |
39 | Eina_Bool elm_layout_box_insert_at(Evas_Object *obj, const_char_ptr part, Evas_Object *child, unsigned int pos) | 37 | Eina_Bool elm_layout_box_insert_at(Evas_Object *obj, const_char *part, Evas_Object *child, unsigned int pos) |
40 | Evas_Object *elm_layout_box_remove(Evas_Object *obj, const_char_ptr part, Evas_Object *child) | 38 | Evas_Object *elm_layout_box_remove(Evas_Object *obj, const_char *part, Evas_Object *child) |
41 | Eina_Bool elm_layout_box_remove_all(Evas_Object *obj, const_char_ptr part, Eina_Bool clear) | 39 | Eina_Bool elm_layout_box_remove_all(Evas_Object *obj, const_char *part, Eina_Bool clear) |
42 | Eina_Bool elm_layout_table_pack(Evas_Object *obj, const_char_ptr part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan) | 40 | Eina_Bool elm_layout_table_pack(Evas_Object *obj, const_char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan) |
43 | Evas_Object *elm_layout_table_unpack(Evas_Object *obj, const_char_ptr part, Evas_Object *child_obj) | 41 | Evas_Object *elm_layout_table_unpack(Evas_Object *obj, const_char *part, Evas_Object *child_obj) |
44 | Eina_Bool elm_layout_table_clear(Evas_Object *obj, const_char_ptr part, Eina_Bool clear) | 42 | Eina_Bool elm_layout_table_clear(Evas_Object *obj, const_char *part, Eina_Bool clear) |
45 | Evas_Object *elm_layout_edje_get(Evas_Object *obj) | 43 | Evas_Object *elm_layout_edje_get(Evas_Object *obj) |
46 | const_char_ptr elm_layout_data_get(Evas_Object *obj, const_char_ptr key) | 44 | const_char * elm_layout_data_get(Evas_Object *obj, const_char *key) |
47 | void elm_layout_sizing_eval(Evas_Object *obj) | 45 | void elm_layout_sizing_eval(Evas_Object *obj) |
48 | Eina_Bool elm_layout_part_cursor_set(Evas_Object *obj, const_char_ptr part_name, const_char_ptr cursor) | 46 | Eina_Bool elm_layout_part_cursor_set(Evas_Object *obj, const_char *part_name, const_char *cursor) |
49 | const_char_ptr elm_layout_part_cursor_get(Evas_Object *obj, const_char_ptr part_name) | 47 | const_char * elm_layout_part_cursor_get(Evas_Object *obj, const_char *part_name) |
50 | Eina_Bool elm_layout_part_cursor_unset(Evas_Object *obj, const_char_ptr part_name) | 48 | Eina_Bool elm_layout_part_cursor_unset(Evas_Object *obj, const_char *part_name) |
51 | Eina_Bool elm_layout_part_cursor_style_set(Evas_Object *obj, const_char_ptr part_name, const_char_ptr style) | 49 | Eina_Bool elm_layout_part_cursor_style_set(Evas_Object *obj, const_char *part_name, const_char *style) |
52 | const_char_ptr elm_layout_part_cursor_style_get(Evas_Object *obj, const_char_ptr part_name) | 50 | const_char * elm_layout_part_cursor_style_get(Evas_Object *obj, const_char *part_name) |
53 | Eina_Bool elm_layout_part_cursor_engine_only_set(Evas_Object *obj, const_char_ptr part_name, Eina_Bool engine_only) | 51 | Eina_Bool elm_layout_part_cursor_engine_only_set(Evas_Object *obj, const_char *part_name, Eina_Bool engine_only) |
54 | Eina_Bool elm_layout_part_cursor_engine_only_get(Evas_Object *obj, const_char_ptr part_name) | 52 | Eina_Bool elm_layout_part_cursor_engine_only_get(Evas_Object *obj, const_char *part_name) |
55 | void elm_layout_icon_set(Evas_Object *obj, Evas_Object *icon) | 53 | void elm_layout_icon_set(Evas_Object *obj, Evas_Object *icon) |
56 | Evas_Object *elm_layout_icon_get(Evas_Object *obj) | 54 | Evas_Object *elm_layout_icon_get(Evas_Object *obj) |
57 | void elm_layout_end_set(Evas_Object *obj, Evas_Object *end) | 55 | void elm_layout_end_set(Evas_Object *obj, Evas_Object *end) |
diff --git a/efl/elementary/slideshow.pyx b/efl/elementary/slideshow.pyx index 9b62df8..e01fb95 100644 --- a/efl/elementary/slideshow.pyx +++ b/efl/elementary/slideshow.pyx | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | include "widget_header.pxi" | 19 | include "widget_header.pxi" |
20 | include "callback_conversions.pxi" | 20 | include "callback_conversions.pxi" |
21 | from efl.eo cimport _strings_to_python | 21 | from efl.eo cimport convert_eina_list_strings_to_python_list |
22 | 22 | ||
23 | from layout_class cimport LayoutClass | 23 | from layout_class cimport LayoutClass |
24 | 24 | ||
@@ -444,7 +444,7 @@ cdef class Slideshow(LayoutClass): | |||
444 | 444 | ||
445 | """ | 445 | """ |
446 | def __get__(self): | 446 | def __get__(self): |
447 | return tuple(_strings_to_python(elm_slideshow_transitions_get(self.obj))) | 447 | return tuple(convert_eina_list_strings_to_python_list(elm_slideshow_transitions_get(self.obj))) |
448 | 448 | ||
449 | property transition: | 449 | property transition: |
450 | """The slide transition/effect in use for a given slideshow widget | 450 | """The slide transition/effect in use for a given slideshow widget |
@@ -598,7 +598,7 @@ cdef class Slideshow(LayoutClass): | |||
598 | 598 | ||
599 | """ | 599 | """ |
600 | def __get__(self): | 600 | def __get__(self): |
601 | return tuple(_strings_to_python(elm_slideshow_layouts_get(self.obj))) | 601 | return tuple(convert_eina_list_strings_to_python_list(elm_slideshow_layouts_get(self.obj))) |
602 | 602 | ||
603 | property cache_before: | 603 | property cache_before: |
604 | """The number of items to cache, on a given slideshow widget, | 604 | """The number of items to cache, on a given slideshow widget, |
diff --git a/efl/elementary/theme.pyx b/efl/elementary/theme.pyx index 9964f06..2946583 100644 --- a/efl/elementary/theme.pyx +++ b/efl/elementary/theme.pyx | |||
@@ -18,7 +18,7 @@ | |||
18 | from cpython cimport Py_INCREF, Py_DECREF | 18 | from cpython cimport Py_INCREF, Py_DECREF |
19 | 19 | ||
20 | include "widget_header.pxi" | 20 | include "widget_header.pxi" |
21 | from efl.eo cimport _strings_to_python | 21 | from efl.eo cimport convert_eina_list_strings_to_python_list |
22 | 22 | ||
23 | cdef class Theme(object): | 23 | cdef class Theme(object): |
24 | 24 | ||
@@ -205,7 +205,7 @@ cdef class Theme(object): | |||
205 | 205 | ||
206 | """ | 206 | """ |
207 | def __get__(self): | 207 | def __get__(self): |
208 | return tuple(_strings_to_python(elm_theme_overlay_list_get(self.th))) | 208 | return tuple(convert_eina_list_strings_to_python_list(elm_theme_overlay_list_get(self.th))) |
209 | 209 | ||
210 | def extension_add(self, item): | 210 | def extension_add(self, item): |
211 | """extension_add(unicode item) | 211 | """extension_add(unicode item) |
@@ -254,7 +254,7 @@ cdef class Theme(object): | |||
254 | 254 | ||
255 | """ | 255 | """ |
256 | def __get__(self): | 256 | def __get__(self): |
257 | return tuple(_strings_to_python(elm_theme_extension_list_get(self.th))) | 257 | return tuple(convert_eina_list_strings_to_python_list(elm_theme_extension_list_get(self.th))) |
258 | 258 | ||
259 | property order: | 259 | property order: |
260 | """Set the theme search order for the given theme | 260 | """Set the theme search order for the given theme |
@@ -296,7 +296,7 @@ cdef class Theme(object): | |||
296 | 296 | ||
297 | """ | 297 | """ |
298 | def __get__(self): | 298 | def __get__(self): |
299 | return tuple(_strings_to_python(elm_theme_list_get(self.th))) | 299 | return tuple(convert_eina_list_strings_to_python_list(elm_theme_list_get(self.th))) |
300 | 300 | ||
301 | def flush(self): | 301 | def flush(self): |
302 | """flush() | 302 | """flush() |
@@ -381,7 +381,7 @@ def theme_name_available_list(): | |||
381 | 381 | ||
382 | """ | 382 | """ |
383 | cdef Eina_List *lst = elm_theme_name_available_list_new() | 383 | cdef Eina_List *lst = elm_theme_name_available_list_new() |
384 | elements = tuple(_strings_to_python(lst)) | 384 | elements = tuple(convert_eina_list_strings_to_python_list(lst)) |
385 | elm_theme_name_available_list_free(lst) | 385 | elm_theme_name_available_list_free(lst) |
386 | return elements | 386 | return elements |
387 | 387 | ||
diff --git a/efl/elementary/transit.pyx b/efl/elementary/transit.pyx index f7e7122..3f74f11 100644 --- a/efl/elementary/transit.pyx +++ b/efl/elementary/transit.pyx | |||
@@ -77,7 +77,7 @@ | |||
77 | """ | 77 | """ |
78 | 78 | ||
79 | include "widget_header.pxi" | 79 | include "widget_header.pxi" |
80 | from efl.eo cimport _object_list_to_python, _strings_from_python | 80 | from efl.eo cimport _object_list_to_python, convert_python_list_strings_to_eina_list |
81 | 81 | ||
82 | cimport enums | 82 | cimport enums |
83 | 83 | ||
@@ -778,4 +778,4 @@ cdef class Transit(object): | |||
778 | 778 | ||
779 | """ | 779 | """ |
780 | #TODO: can the return value Elm_Transit_Effect be used somehow? | 780 | #TODO: can the return value Elm_Transit_Effect be used somehow? |
781 | elm_transit_effect_image_animation_add(self.obj, _strings_from_python(images)) | 781 | elm_transit_effect_image_animation_add(self.obj, convert_python_list_strings_to_eina_list(images)) |
diff --git a/efl/elementary/window.pxd b/efl/elementary/window.pxd index c634e30..c7a9956 100644 --- a/efl/elementary/window.pxd +++ b/efl/elementary/window.pxd | |||
@@ -42,6 +42,12 @@ cdef extern from "Elementary.h": | |||
42 | Eina_Bool elm_win_iconified_get(Evas_Object *obj) | 42 | Eina_Bool elm_win_iconified_get(Evas_Object *obj) |
43 | void elm_win_withdrawn_set(Evas_Object *obj, Eina_Bool withdrawn) | 43 | void elm_win_withdrawn_set(Evas_Object *obj, Eina_Bool withdrawn) |
44 | Eina_Bool elm_win_withdrawn_get(Evas_Object *obj) | 44 | Eina_Bool elm_win_withdrawn_get(Evas_Object *obj) |
45 | |||
46 | void elm_win_available_profiles_set(Evas_Object *obj, const_char **profiles, unsigned int count) | ||
47 | Eina_Bool elm_win_available_profiles_get(Evas_Object *obj, char ***profiles, unsigned int *count) | ||
48 | void elm_win_profile_set(Evas_Object *obj, const char *profile) | ||
49 | const_char *elm_win_profile_get(const_Evas_Object *obj) | ||
50 | |||
45 | void elm_win_urgent_set(Evas_Object *obj, Eina_Bool urgent) | 51 | void elm_win_urgent_set(Evas_Object *obj, Eina_Bool urgent) |
46 | Eina_Bool elm_win_urgent_get(Evas_Object *obj) | 52 | Eina_Bool elm_win_urgent_get(Evas_Object *obj) |
47 | void elm_win_demand_attention_set(Evas_Object *obj, Eina_Bool demand_attention) | 53 | void elm_win_demand_attention_set(Evas_Object *obj, Eina_Bool demand_attention) |
diff --git a/efl/elementary/window.pyx b/efl/elementary/window.pyx index 0b7cc2e..795a097 100644 --- a/efl/elementary/window.pyx +++ b/efl/elementary/window.pyx | |||
@@ -223,6 +223,8 @@ include "widget_header.pxi" | |||
223 | 223 | ||
224 | from object cimport Object | 224 | from object cimport Object |
225 | 225 | ||
226 | from efl.eo cimport convert_python_list_strings_to_array_of_strings, convert_array_of_strings_to_python_list | ||
227 | |||
226 | from efl.evas cimport Evas | 228 | from efl.evas cimport Evas |
227 | from efl.evas cimport evas_object_evas_get | 229 | from efl.evas cimport evas_object_evas_get |
228 | #from efl.evas cimport Canvas_from_instance | 230 | #from efl.evas cimport Canvas_from_instance |
@@ -731,6 +733,39 @@ cdef class Window(Object): | |||
731 | def withdrawn_get(self): | 733 | def withdrawn_get(self): |
732 | return bool(elm_win_withdrawn_get(self.obj)) | 734 | return bool(elm_win_withdrawn_get(self.obj)) |
733 | 735 | ||
736 | property available_profiles: | ||
737 | """The array of available profiles to a window. | ||
738 | |||
739 | :type: List of strings | ||
740 | |||
741 | """ | ||
742 | def __set__(self, list profiles): | ||
743 | cdef unsigned int count = len(profiles) | ||
744 | elm_win_available_profiles_set(self.obj, convert_python_list_strings_to_array_of_strings(profiles), count) | ||
745 | |||
746 | def __get__(self): | ||
747 | cdef: | ||
748 | char **profiles | ||
749 | unsigned int count | ||
750 | |||
751 | ret = elm_win_available_profiles_get(self.obj, &profiles, &count) | ||
752 | if ret is 0: | ||
753 | raise RuntimeError("No available profiles") | ||
754 | |||
755 | return convert_array_of_strings_to_python_list(profiles, count) | ||
756 | |||
757 | property profile: | ||
758 | """The profile of a window. | ||
759 | |||
760 | :type: unicode | ||
761 | |||
762 | """ | ||
763 | def __set__(self, profile): | ||
764 | elm_win_profile_set(self.obj, _cfruni(profile)) | ||
765 | |||
766 | def __get__(self): | ||
767 | return _ctouni(elm_win_profile_get(self.obj)) | ||
768 | |||
734 | property urgent: | 769 | property urgent: |
735 | """The urgent state of the window. | 770 | """The urgent state of the window. |
736 | 771 | ||
diff --git a/efl/emotion/efl.emotion.pyx b/efl/emotion/efl.emotion.pyx index b64ea3c..62fc9dc 100644 --- a/efl/emotion/efl.emotion.pyx +++ b/efl/emotion/efl.emotion.pyx | |||
@@ -15,7 +15,7 @@ | |||
15 | # You should have received a copy of the GNU Lesser General Public License | 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/>. | 16 | # along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | from efl.eo cimport const_char_ptr, _ctouni, _cfruni | 18 | from efl.eo cimport _ctouni, _cfruni |
19 | from efl.eo cimport object_from_instance, _object_mapping_register | 19 | from efl.eo cimport object_from_instance, _object_mapping_register |
20 | from efl.evas cimport Canvas | 20 | from efl.evas cimport Canvas |
21 | from efl.evas cimport evas_object_smart_callback_add | 21 | from efl.evas cimport evas_object_smart_callback_add |
@@ -113,7 +113,7 @@ def webcams_get(): | |||
113 | """ | 113 | """ |
114 | cdef Eina_List *lst, *itr | 114 | cdef Eina_List *lst, *itr |
115 | cdef Emotion_Webcam *cam | 115 | cdef Emotion_Webcam *cam |
116 | cdef const_char_ptr name, device | 116 | cdef const_char *name, *device |
117 | 117 | ||
118 | ret = [] | 118 | ret = [] |
119 | lst = emotion_webcams_get() | 119 | lst = emotion_webcams_get() |
@@ -198,7 +198,7 @@ cdef class Emotion(evasObject): | |||
198 | object already has another file set, this file will be unset and unloaded, | 198 | object already has another file set, this file will be unset and unloaded, |
199 | and the new file will be loaded to this emotion object. The seek position | 199 | and the new file will be loaded to this emotion object. The seek position |
200 | will be set to 0, and the emotion object will be paused, instead of playing. | 200 | will be set to 0, and the emotion object will be paused, instead of playing. |
201 | 201 | ||
202 | If there was already a filename set, and it's the same as the one being set | 202 | If there was already a filename set, and it's the same as the one being set |
203 | now, setting the property does nothing | 203 | now, setting the property does nothing |
204 | 204 | ||
@@ -265,7 +265,7 @@ cdef class Emotion(evasObject): | |||
265 | size on the original video size. However, if the video is scaled up or down | 265 | size on the original video size. However, if the video is scaled up or down |
266 | (i.e. the emotion object size is different from the video size), the borders | 266 | (i.e. the emotion object size is different from the video size), the borders |
267 | will be scaled respectively too. | 267 | will be scaled respectively too. |
268 | 268 | ||
269 | If a negative value is given to one of the parameters, instead of a border, | 269 | If a negative value is given to one of the parameters, instead of a border, |
270 | that respective side of the video will be cropped. | 270 | that respective side of the video will be cropped. |
271 | 271 | ||
@@ -329,7 +329,7 @@ cdef class Emotion(evasObject): | |||
329 | set the policy to be used. | 329 | set the policy to be used. |
330 | 330 | ||
331 | The options are: | 331 | The options are: |
332 | 332 | ||
333 | - ``EMOTION_ASPECT_KEEP_NONE`` ignore the video aspect ratio, and reset any | 333 | - ``EMOTION_ASPECT_KEEP_NONE`` ignore the video aspect ratio, and reset any |
334 | border set to 0, stretching the video inside the emotion object area. This | 334 | border set to 0, stretching the video inside the emotion object area. This |
335 | option is similar to EVAS_ASPECT_CONTROL_NONE size hint. | 335 | option is similar to EVAS_ASPECT_CONTROL_NONE size hint. |
@@ -394,7 +394,7 @@ cdef class Emotion(evasObject): | |||
394 | mobile phone SoC) or two (on Set Top Box SoC) when Picture in Picture | 394 | mobile phone SoC) or two (on Set Top Box SoC) when Picture in Picture |
395 | is needed. And most application just have a few video stream that really | 395 | is needed. And most application just have a few video stream that really |
396 | deserve high frame rate, hiogh quality output. That's why this call is for. | 396 | deserve high frame rate, hiogh quality output. That's why this call is for. |
397 | 397 | ||
398 | .. note:: If Emotion can't acquire a priviledged hardware ressource, | 398 | .. note:: If Emotion can't acquire a priviledged hardware ressource, |
399 | it will fallback to the no-priority path. This work on the | 399 | it will fallback to the no-priority path. This work on the |
400 | first asking first get basis system. | 400 | first asking first get basis system. |
@@ -635,7 +635,7 @@ cdef class Emotion(evasObject): | |||
635 | """ The audio volume. | 635 | """ The audio volume. |
636 | 636 | ||
637 | The current value for the audio volume level. Range is from 0.0 to 1.0. | 637 | The current value for the audio volume level. Range is from 0.0 to 1.0. |
638 | 638 | ||
639 | Sets the audio volume of the stream being played. This has nothing to do with | 639 | Sets the audio volume of the stream being played. This has nothing to do with |
640 | the system volume. This volume will be multiplied by the system volume. e.g.: | 640 | the system volume. This volume will be multiplied by the system volume. e.g.: |
641 | if the current volume level is 0.5, and the system volume is 50%, it will be | 641 | if the current volume level is 0.5, and the system volume is 50%, it will be |
@@ -945,7 +945,7 @@ cdef class Emotion(evasObject): | |||
945 | :return: all the know meta info for the media file | 945 | :return: all the know meta info for the media file |
946 | :rtype: dict | 946 | :rtype: dict |
947 | """ | 947 | """ |
948 | cdef const_char_ptr info | 948 | cdef const_char *info |
949 | ret = dict() | 949 | ret = dict() |
950 | lst = (("title", EMOTION_META_INFO_TRACK_TITLE), | 950 | lst = (("title", EMOTION_META_INFO_TRACK_TITLE), |
951 | ("artist", EMOTION_META_INFO_TRACK_ARTIST), | 951 | ("artist", EMOTION_META_INFO_TRACK_ARTIST), |
@@ -974,7 +974,7 @@ cdef class Emotion(evasObject): | |||
974 | callback to let the application know when it succeed or fail. | 974 | callback to let the application know when it succeed or fail. |
975 | Every operation is fully asynchronous and not linked to the actual | 975 | Every operation is fully asynchronous and not linked to the actual |
976 | engine used to play the video. | 976 | engine used to play the video. |
977 | 977 | ||
978 | """ | 978 | """ |
979 | emotion_object_last_position_load(self.obj) | 979 | emotion_object_last_position_load(self.obj) |
980 | 980 | ||
@@ -995,7 +995,7 @@ cdef class Emotion(evasObject): | |||
995 | 995 | ||
996 | :param filename: A filename that we want to know if Emotion can play. | 996 | :param filename: A filename that we want to know if Emotion can play. |
997 | :type filename: str | 997 | :type filename: str |
998 | 998 | ||
999 | """ | 999 | """ |
1000 | return bool(emotion_object_extension_may_play_get(_cfruni(filename))) | 1000 | return bool(emotion_object_extension_may_play_get(_cfruni(filename))) |
1001 | 1001 | ||
@@ -1006,7 +1006,7 @@ cdef class Emotion(evasObject): | |||
1006 | This function is usefull when you want to get a direct access to the pixels. | 1006 | This function is usefull when you want to get a direct access to the pixels. |
1007 | """ | 1007 | """ |
1008 | return object_from_instance(emotion_object_image_get(self.obj)) | 1008 | return object_from_instance(emotion_object_image_get(self.obj)) |
1009 | 1009 | ||
1010 | def event_simple_send(self, int event_id): | 1010 | def event_simple_send(self, int event_id): |
1011 | """ Send a named signal to the object. | 1011 | """ Send a named signal to the object. |
1012 | 1012 | ||
diff --git a/efl/eo/efl.eo.pyx b/efl/eo/efl.eo.pyx index 8b42e0d..2de0eca 100644 --- a/efl/eo/efl.eo.pyx +++ b/efl/eo/efl.eo.pyx | |||
@@ -15,7 +15,7 @@ | |||
15 | # You should have received a copy of the GNU Lesser General Public License | 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/>. | 16 | # along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | from cpython cimport PyObject, Py_INCREF, Py_DECREF | 18 | from cpython cimport PyObject, Py_INCREF, Py_DECREF, PyMem_Malloc, PyMem_Free |
19 | from efl cimport Eina_Bool, const_Eina_List, eina_list_append, const_void | 19 | from efl cimport Eina_Bool, const_Eina_List, eina_list_append, const_void |
20 | from efl.c_eo cimport Eo as cEo | 20 | from efl.c_eo cimport Eo as cEo |
21 | from efl.c_eo cimport eo_init, eo_shutdown, eo_del, eo_unref, eo_wref_add, eo_add, Eo_Class | 21 | from efl.c_eo cimport eo_init, eo_shutdown, eo_del, eo_unref, eo_wref_add, eo_add, Eo_Class |
@@ -33,13 +33,13 @@ import traceback | |||
33 | cdef int PY_REFCOUNT(object o): | 33 | cdef int PY_REFCOUNT(object o): |
34 | cdef PyObject *obj = <PyObject *>o | 34 | cdef PyObject *obj = <PyObject *>o |
35 | return obj.ob_refcnt | 35 | return obj.ob_refcnt |
36 | 36 | ||
37 | 37 | ||
38 | cdef unicode _touni(char* s): | 38 | cdef unicode _touni(char* s): |
39 | return s.decode('UTF-8', 'strict') if s else None | 39 | return s.decode('UTF-8', 'strict') if s else None |
40 | 40 | ||
41 | 41 | ||
42 | cdef unicode _ctouni(const_char_ptr s): | 42 | cdef unicode _ctouni(const_char *s): |
43 | return s.decode('UTF-8', 'strict') if s else None | 43 | return s.decode('UTF-8', 'strict') if s else None |
44 | 44 | ||
45 | 45 | ||
@@ -57,8 +57,8 @@ cdef char *_fruni(s): | |||
57 | return c_string | 57 | return c_string |
58 | 58 | ||
59 | 59 | ||
60 | cdef const_char_ptr _cfruni(s): | 60 | cdef const_char *_cfruni(s): |
61 | cdef const_char_ptr c_string | 61 | cdef const_char *c_string |
62 | if s is None: | 62 | if s is None: |
63 | return NULL | 63 | return NULL |
64 | if isinstance(s, unicode): | 64 | if isinstance(s, unicode): |
@@ -71,18 +71,46 @@ cdef const_char_ptr _cfruni(s): | |||
71 | return c_string | 71 | return c_string |
72 | 72 | ||
73 | 73 | ||
74 | cdef _strings_to_python(const_Eina_List *lst): | 74 | cdef convert_array_of_strings_to_python_list(char **array, int array_length): |
75 | cdef const_char_ptr s | 75 | cdef char *string |
76 | |||
77 | ret = [] | ||
78 | for i from 0 <= i < array_length: | ||
79 | string = array[i] | ||
80 | if string != NULL: | ||
81 | ret.append(_touni(string)) | ||
82 | #FIXME: if it's null we could append None and log.warn | ||
83 | return ret | ||
84 | |||
85 | |||
86 | cdef const_char ** convert_python_list_strings_to_array_of_strings(list strings): | ||
87 | cdef: | ||
88 | const_char **lst | ||
89 | const_char *string | ||
90 | int count = len(strings) | ||
91 | |||
92 | lst = <const_char **>PyMem_Malloc(count * sizeof(const_char*)) | ||
93 | for i from 0 <= i < count: | ||
94 | string = _cfruni(strings[i]) | ||
95 | str_len = len(strings[i]) | ||
96 | lst[i] = <const_char *>PyMem_Malloc(str_len + 1) | ||
97 | memcpy(lst[i], string, str_len + 1) | ||
98 | |||
99 | return lst | ||
100 | |||
101 | |||
102 | cdef convert_eina_list_strings_to_python_list(const_Eina_List *lst): | ||
103 | cdef const_char *s | ||
76 | ret = [] | 104 | ret = [] |
77 | while lst: | 105 | while lst: |
78 | s = <const_char_ptr>lst.data | 106 | s = <const_char *>lst.data |
79 | if s != NULL: | 107 | if s != NULL: |
80 | ret.append(_ctouni(s)) | 108 | ret.append(_ctouni(s)) |
81 | lst = lst.next | 109 | lst = lst.next |
82 | return ret | 110 | return ret |
83 | 111 | ||
84 | 112 | ||
85 | cdef Eina_List * _strings_from_python(strings): | 113 | cdef Eina_List * convert_python_list_strings_to_eina_list(strings): |
86 | cdef Eina_List *lst = NULL | 114 | cdef Eina_List *lst = NULL |
87 | for s in strings: | 115 | for s in strings: |
88 | lst = eina_list_append(lst, _cfruni(s)) | 116 | lst = eina_list_append(lst, _cfruni(s)) |
@@ -236,7 +264,7 @@ cdef class Eo(object): | |||
236 | (self.__class__.__name__, <unsigned long>self.obj, | 264 | (self.__class__.__name__, <unsigned long>self.obj, |
237 | <unsigned long>eo_parent_get(self.obj) if self.obj else 0, | 265 | <unsigned long>eo_parent_get(self.obj) if self.obj else 0, |
238 | PY_REFCOUNT(self)) | 266 | PY_REFCOUNT(self)) |
239 | 267 | ||
240 | 268 | ||
241 | def __repr__(self): | 269 | def __repr__(self): |
242 | return ("Eo(class=%s, obj=%#x, parent=%#x, refcount=%d)") % \ | 270 | return ("Eo(class=%s, obj=%#x, parent=%#x, refcount=%d)") % \ |
@@ -269,7 +297,7 @@ cdef class Eo(object): | |||
269 | # def delete(self): | 297 | # def delete(self): |
270 | # """ | 298 | # """ |
271 | # Delete object and free it's internal (wrapped) resources. | 299 | # Delete object and free it's internal (wrapped) resources. |
272 | # | 300 | # |
273 | # @note: after this operation the object will be still alive in | 301 | # @note: after this operation the object will be still alive in |
274 | # Python, but it will be shallow and every operation | 302 | # Python, but it will be shallow and every operation |
275 | # will have no effect (and may raise exceptions). | 303 | # will have no effect (and may raise exceptions). |
diff --git a/efl/evas/efl.evas_object_image.pxi b/efl/evas/efl.evas_object_image.pxi index 04f5a2f..dea72c6 100644 --- a/efl/evas/efl.evas_object_image.pxi +++ b/efl/evas/efl.evas_object_image.pxi | |||
@@ -173,7 +173,7 @@ cdef class Image(Object): | |||
173 | :rtype: tuple of str | 173 | :rtype: tuple of str |
174 | 174 | ||
175 | """ | 175 | """ |
176 | cdef const_char_ptr file, key | 176 | cdef const_char *file, *key |
177 | evas_object_image_file_get(self.obj, &file, &key) | 177 | evas_object_image_file_get(self.obj, &file, &key) |
178 | return (_ctouni(file), _ctouni(key)) | 178 | return (_ctouni(file), _ctouni(key)) |
179 | 179 | ||
@@ -565,7 +565,7 @@ cdef class Image(Object): | |||
565 | """Force reload of image data.""" | 565 | """Force reload of image data.""" |
566 | evas_object_image_reload(self.obj) | 566 | evas_object_image_reload(self.obj) |
567 | 567 | ||
568 | def save(self, const_char_ptr filename, key=None, flags=None): | 568 | def save(self, const_char *filename, key=None, flags=None): |
569 | """Save image to file. | 569 | """Save image to file. |
570 | 570 | ||
571 | :param filename: where to save. | 571 | :param filename: where to save. |
@@ -577,7 +577,7 @@ cdef class Image(Object): | |||
577 | :type flags: string | 577 | :type flags: string |
578 | 578 | ||
579 | """ | 579 | """ |
580 | cdef const_char_ptr k, f | 580 | cdef const_char *k, *f |
581 | if key: | 581 | if key: |
582 | k = key | 582 | k = key |
583 | else: | 583 | else: |
diff --git a/efl/evas/efl.evas_object_text.pxi b/efl/evas/efl.evas_object_text.pxi index afac8ec..8078377 100644 --- a/efl/evas/efl.evas_object_text.pxi +++ b/efl/evas/efl.evas_object_text.pxi | |||
@@ -97,7 +97,7 @@ cdef class Text(Object): | |||
97 | 97 | ||
98 | def font_get(self): | 98 | def font_get(self): |
99 | """:rtype: (str, int)""" | 99 | """:rtype: (str, int)""" |
100 | cdef const_char_ptr f | 100 | cdef const_char *f |
101 | cdef int size | 101 | cdef int size |
102 | evas_object_text_font_get(self.obj, &f, &size) | 102 | evas_object_text_font_get(self.obj, &f, &size) |
103 | return (_ctouni(f), size) | 103 | return (_ctouni(f), size) |
diff --git a/examples/elementary/test_win.py b/examples/elementary/test_win.py index 141bdb9..5f68bbf 100644 --- a/examples/elementary/test_win.py +++ b/examples/elementary/test_win.py | |||
@@ -37,6 +37,8 @@ def window_states_clicked(obj): | |||
37 | if obj is None: | 37 | if obj is None: |
38 | win.callback_delete_request_add(lambda o: elementary.exit()) | 38 | win.callback_delete_request_add(lambda o: elementary.exit()) |
39 | 39 | ||
40 | print(win.available_profiles) | ||
41 | |||
40 | bg = Background(win) | 42 | bg = Background(win) |
41 | win.resize_object_add(bg) | 43 | win.resize_object_add(bg) |
42 | bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND) | 44 | bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND) |
diff --git a/include/efl.c_eo.pxd b/include/efl.c_eo.pxd index 4ab29fb..91a5328 100644 --- a/include/efl.c_eo.pxd +++ b/include/efl.c_eo.pxd | |||
@@ -38,8 +38,8 @@ cdef extern from "Eo.h": | |||
38 | ctypedef Eo_Class const_Eo_Class "const Eo_Class" | 38 | ctypedef Eo_Class const_Eo_Class "const Eo_Class" |
39 | 39 | ||
40 | ctypedef struct Eo_Event_Description: | 40 | ctypedef struct Eo_Event_Description: |
41 | const_char_ptr name | 41 | const_char *name |
42 | const_char_ptr doc | 42 | const_char *doc |
43 | 43 | ||
44 | ctypedef Eo_Event_Description const_Eo_Event_Description "const Eo_Event_Description" | 44 | ctypedef Eo_Event_Description const_Eo_Event_Description "const Eo_Event_Description" |
45 | 45 | ||
@@ -71,12 +71,12 @@ cdef extern from "Eo.h": | |||
71 | void eo_wref_add(Eo *obj) | 71 | void eo_wref_add(Eo *obj) |
72 | 72 | ||
73 | Eina_Bool eo_do(Eo *obj, ...) | 73 | Eina_Bool eo_do(Eo *obj, ...) |
74 | void eo_base_data_set(const_char_ptr key, const_void *data, eo_base_data_free_func free_func) | 74 | void eo_base_data_set(const_char *key, const_void *data, eo_base_data_free_func free_func) |
75 | void eo_base_data_get(const_char_ptr key, void **data) | 75 | void eo_base_data_get(const_char *key, void **data) |
76 | void eo_base_data_del(const_char_ptr key) | 76 | void eo_base_data_del(const_char *key) |
77 | 77 | ||
78 | const_Eo_Class *eo_class_get(const_Eo *obj) | 78 | const_Eo_Class *eo_class_get(const_Eo *obj) |
79 | const_char_ptr eo_class_name_get(const_Eo_Class *klass) | 79 | const_char *eo_class_name_get(const_Eo_Class *klass) |
80 | 80 | ||
81 | Eo *eo_parent_get(const_Eo *obj) | 81 | Eo *eo_parent_get(const_Eo *obj) |
82 | 82 | ||
diff --git a/include/efl.ecore.pxd b/include/efl.ecore.pxd index 91ebdeb..90379f1 100644 --- a/include/efl.ecore.pxd +++ b/include/efl.ecore.pxd | |||
@@ -168,8 +168,8 @@ cdef extern from "Ecore.h": | |||
168 | void *ecore_exe_free(Ecore_Exe *exe) | 168 | void *ecore_exe_free(Ecore_Exe *exe) |
169 | int ecore_exe_pid_get(Ecore_Exe *exe) | 169 | int ecore_exe_pid_get(Ecore_Exe *exe) |
170 | void ecore_exe_tag_set(Ecore_Exe *exe, char *tag) | 170 | void ecore_exe_tag_set(Ecore_Exe *exe, char *tag) |
171 | const_char_ptr ecore_exe_tag_get(Ecore_Exe *exe) | 171 | const_char * ecore_exe_tag_get(Ecore_Exe *exe) |
172 | const_char_ptr ecore_exe_cmd_get(Ecore_Exe *exe) | 172 | const_char * ecore_exe_cmd_get(Ecore_Exe *exe) |
173 | void *ecore_exe_data_get(Ecore_Exe *exe) | 173 | void *ecore_exe_data_get(Ecore_Exe *exe) |
174 | Ecore_Exe_Flags ecore_exe_flags_get(Ecore_Exe *exe) | 174 | Ecore_Exe_Flags ecore_exe_flags_get(Ecore_Exe *exe) |
175 | void ecore_exe_pause(Ecore_Exe *exe) | 175 | void ecore_exe_pause(Ecore_Exe *exe) |
@@ -186,15 +186,15 @@ cdef extern from "Ecore_File.h": | |||
186 | 186 | ||
187 | ctypedef struct Ecore_File_Download_Job | 187 | ctypedef struct Ecore_File_Download_Job |
188 | 188 | ||
189 | ctypedef void (*Ecore_File_Download_Completion_Cb)(void *data, const_char_ptr file, int status) | 189 | ctypedef void (*Ecore_File_Download_Completion_Cb)(void *data, const_char *file, int status) |
190 | ctypedef int (*Ecore_File_Download_Progress_Cb)(void *data, const_char_ptr file, long int dltotal, long int dlnow, long int ultotal, long int ulnow) | 190 | ctypedef int (*Ecore_File_Download_Progress_Cb)(void *data, const_char *file, long int dltotal, long int dlnow, long int ultotal, long int ulnow) |
191 | 191 | ||
192 | int ecore_file_init() | 192 | int ecore_file_init() |
193 | int ecore_file_shutdown() | 193 | int ecore_file_shutdown() |
194 | void ecore_file_download_abort(Ecore_File_Download_Job *job) | 194 | void ecore_file_download_abort(Ecore_File_Download_Job *job) |
195 | void ecore_file_download_abort_all() | 195 | void ecore_file_download_abort_all() |
196 | Eina_Bool ecore_file_download_protocol_available(const_char_ptr protocol) | 196 | Eina_Bool ecore_file_download_protocol_available(const_char *protocol) |
197 | Eina_Bool ecore_file_download(const_char_ptr url, const_char_ptr dst, | 197 | Eina_Bool ecore_file_download(const_char *url, const_char_ptr dst, |
198 | Ecore_File_Download_Completion_Cb completion_cb, | 198 | Ecore_File_Download_Completion_Cb completion_cb, |
199 | Ecore_File_Download_Progress_Cb progress_cb, | 199 | Ecore_File_Download_Progress_Cb progress_cb, |
200 | void *data, | 200 | void *data, |
@@ -329,8 +329,8 @@ cdef class FileDownload: | |||
329 | cdef readonly object args | 329 | cdef readonly object args |
330 | cdef readonly object kargs | 330 | cdef readonly object kargs |
331 | 331 | ||
332 | cdef object _exec_completion(self, const_char_ptr file, int status) | 332 | cdef object _exec_completion(self, const_char *file, int status) |
333 | cdef object _exec_progress(self, const_char_ptr file, | 333 | cdef object _exec_progress(self, const_char *file, |
334 | long int dltotal, long int dlnow, | 334 | long int dltotal, long int dlnow, |
335 | long int ultotal, long int ulnow) | 335 | long int ultotal, long int ulnow) |
336 | 336 | ||
diff --git a/include/efl.edje.pxd b/include/efl.edje.pxd index e85a383..242c396 100644 --- a/include/efl.edje.pxd +++ b/include/efl.edje.pxd | |||
@@ -153,7 +153,7 @@ cdef extern from "Edje.h": | |||
153 | 153 | ||
154 | 154 | ||
155 | ctypedef Edje_External_Type const_Edje_External_Type "const Edje_External_Type" | 155 | ctypedef Edje_External_Type const_Edje_External_Type "const Edje_External_Type" |
156 | ctypedef void (*Edje_Signal_Cb)(void *data, Evas_Object *obj, const_char_ptr emission, const_char_ptr source) | 156 | ctypedef void (*Edje_Signal_Cb)(void *data, Evas_Object *obj, const_char *emission, const_char_ptr source) |
157 | 157 | ||
158 | #################################################################### | 158 | #################################################################### |
159 | # Engine | 159 | # Engine |
diff --git a/include/efl.elementary.pxd b/include/efl.elementary.pxd index bd66951..2d3ce4d 100644 --- a/include/efl.elementary.pxd +++ b/include/efl.elementary.pxd | |||
@@ -246,7 +246,7 @@ cdef extern from "Elementary.h": | |||
246 | Evas_Object *obj | 246 | Evas_Object *obj |
247 | Eina_List *node | 247 | Eina_List *node |
248 | tm *mark_time | 248 | tm *mark_time |
249 | const_char_ptr mark_type | 249 | const_char *mark_type |
250 | Elm_Calendar_Mark_Repeat_Type repeat | 250 | Elm_Calendar_Mark_Repeat_Type repeat |
251 | 251 | ||
252 | #colors | 252 | #colors |
@@ -257,7 +257,7 @@ cdef extern from "Elementary.h": | |||
257 | unsigned int a | 257 | unsigned int a |
258 | 258 | ||
259 | ctypedef struct _Elm_Custom_Palette: | 259 | ctypedef struct _Elm_Custom_Palette: |
260 | const_char_ptr palette_name | 260 | const_char *palette_name |
261 | Eina_List *color_list | 261 | Eina_List *color_list |
262 | 262 | ||
263 | #entry | 263 | #entry |
@@ -283,14 +283,14 @@ cdef extern from "Elementary.h": | |||
283 | 283 | ||
284 | #font | 284 | #font |
285 | ctypedef struct Elm_Font_Overlay: | 285 | ctypedef struct Elm_Font_Overlay: |
286 | const_char_ptr text_class | 286 | const_char *text_class |
287 | const_char_ptr font | 287 | const_char *font |
288 | Evas_Font_Size size | 288 | Evas_Font_Size size |
289 | 289 | ||
290 | #genlist | 290 | #genlist |
291 | ctypedef char *(*GenlistItemLabelGetFunc) (void *data, Evas_Object *obj, const_char_ptr part) | 291 | ctypedef char *(*GenlistItemLabelGetFunc) (void *data, Evas_Object *obj, const_char *part) |
292 | ctypedef Evas_Object *(*GenlistItemIconGetFunc) (void *data, Evas_Object *obj, const_char_ptr part) | 292 | ctypedef Evas_Object *(*GenlistItemIconGetFunc) (void *data, Evas_Object *obj, const_char *part) |
293 | ctypedef Eina_Bool (*GenlistItemStateGetFunc) (void *data, Evas_Object *obj, const_char_ptr part) | 293 | ctypedef Eina_Bool (*GenlistItemStateGetFunc) (void *data, Evas_Object *obj, const_char *part) |
294 | ctypedef void (*GenlistItemDelFunc) (void *data, Evas_Object *obj) | 294 | ctypedef void (*GenlistItemDelFunc) (void *data, Evas_Object *obj) |
295 | 295 | ||
296 | ctypedef struct Elm_Genlist_Item_Class_Func: | 296 | ctypedef struct Elm_Genlist_Item_Class_Func: |
@@ -304,9 +304,9 @@ cdef extern from "Elementary.h": | |||
304 | Elm_Genlist_Item_Class_Func func | 304 | Elm_Genlist_Item_Class_Func func |
305 | 305 | ||
306 | #gengrid | 306 | #gengrid |
307 | ctypedef char *(*GengridItemLabelGetFunc) (void *data, Evas_Object *obj, const_char_ptr part) | 307 | ctypedef char *(*GengridItemLabelGetFunc) (void *data, Evas_Object *obj, const_char *part) |
308 | ctypedef Evas_Object *(*GengridItemIconGetFunc) (void *data, Evas_Object *obj, const_char_ptr part) | 308 | ctypedef Evas_Object *(*GengridItemIconGetFunc) (void *data, Evas_Object *obj, const_char *part) |
309 | ctypedef Eina_Bool (*GengridItemStateGetFunc) (void *data, Evas_Object *obj, const_char_ptr part) | 309 | ctypedef Eina_Bool (*GengridItemStateGetFunc) (void *data, Evas_Object *obj, const_char *part) |
310 | ctypedef void (*GengridItemDelFunc) (void *data, Evas_Object *obj) | 310 | ctypedef void (*GengridItemDelFunc) (void *data, Evas_Object *obj) |
311 | 311 | ||
312 | ctypedef struct Elm_Gengrid_Item_Class_Func: | 312 | ctypedef struct Elm_Gengrid_Item_Class_Func: |
@@ -375,8 +375,8 @@ cdef extern from "Elementary.h": | |||
375 | 375 | ||
376 | #text | 376 | #text |
377 | ctypedef struct Elm_Text_Class: | 377 | ctypedef struct Elm_Text_Class: |
378 | const_char_ptr name | 378 | const_char *name |
379 | const_char_ptr desc | 379 | const_char *desc |
380 | 380 | ||
381 | #theme | 381 | #theme |
382 | ctypedef struct Elm_Theme | 382 | ctypedef struct Elm_Theme |
@@ -404,19 +404,19 @@ cdef extern from "Elementary.h": | |||
404 | ctypedef struct Elm_Web_Frame_Load_Error: | 404 | ctypedef struct Elm_Web_Frame_Load_Error: |
405 | int code | 405 | int code |
406 | Eina_Bool is_cancellation | 406 | Eina_Bool is_cancellation |
407 | const_char_ptr domain | 407 | const_char *domain |
408 | const_char_ptr description | 408 | const_char *description |
409 | const_char_ptr failing_url | 409 | const_char *failing_url |
410 | Evas_Object *frame | 410 | Evas_Object *frame |
411 | 411 | ||
412 | ctypedef struct Elm_Web_Window_Features | 412 | ctypedef struct Elm_Web_Window_Features |
413 | 413 | ||
414 | ctypedef Evas_Object *(*Elm_Web_Window_Open) (void *data, Evas_Object *obj, Eina_Bool js, Elm_Web_Window_Features *window_features) | 414 | ctypedef Evas_Object *(*Elm_Web_Window_Open) (void *data, Evas_Object *obj, Eina_Bool js, Elm_Web_Window_Features *window_features) |
415 | ctypedef Evas_Object *(*Elm_Web_Dialog_Alert) (void *data, Evas_Object *obj, const_char_ptr message) | 415 | ctypedef Evas_Object *(*Elm_Web_Dialog_Alert) (void *data, Evas_Object *obj, const_char *message) |
416 | ctypedef Evas_Object *(*Elm_Web_Dialog_Confirm) (void *data, Evas_Object *obj, const_char_ptr message, Eina_Bool *ret) | 416 | ctypedef Evas_Object *(*Elm_Web_Dialog_Confirm) (void *data, Evas_Object *obj, const_char *message, Eina_Bool *ret) |
417 | ctypedef Evas_Object *(*Elm_Web_Dialog_Prompt) (void *data, Evas_Object *obj, const_char_ptr message, const_char_ptr def_value, char **value, Eina_Bool *ret) | 417 | ctypedef Evas_Object *(*Elm_Web_Dialog_Prompt) (void *data, Evas_Object *obj, const_char *message, const_char_ptr def_value, char **value, Eina_Bool *ret) |
418 | ctypedef Evas_Object *(*Elm_Web_Dialog_File_Selector)(void *data, Evas_Object *obj, Eina_Bool allows_multiple, Eina_List *accept_types, Eina_List **selected, Eina_Bool *ret) | 418 | ctypedef Evas_Object *(*Elm_Web_Dialog_File_Selector)(void *data, Evas_Object *obj, Eina_Bool allows_multiple, Eina_List *accept_types, Eina_List **selected, Eina_Bool *ret) |
419 | ctypedef void (*Elm_Web_Console_Message) (void *data, Evas_Object *obj, const_char_ptr message, unsigned int line_number, const_char_ptr source_id) | 419 | ctypedef void (*Elm_Web_Console_Message) (void *data, Evas_Object *obj, const_char *message, unsigned int line_number, const_char_ptr source_id) |
420 | 420 | ||
421 | 421 | ||
422 | # General | 422 | # General |
@@ -442,18 +442,18 @@ cdef extern from "Elementary.h": | |||
442 | int elm_policy_get(unsigned int policy) | 442 | int elm_policy_get(unsigned int policy) |
443 | 443 | ||
444 | # General - Language (py3: TODO) | 444 | # General - Language (py3: TODO) |
445 | void elm_language_set(const_char_ptr lang) | 445 | void elm_language_set(const_char *lang) |
446 | 446 | ||
447 | # Config (py3: TODO) | 447 | # Config (py3: TODO) |
448 | Eina_Bool elm_config_save() | 448 | Eina_Bool elm_config_save() |
449 | void elm_config_reload() | 449 | void elm_config_reload() |
450 | void elm_config_all_flush() | 450 | void elm_config_all_flush() |
451 | const_char_ptr elm_config_profile_get() | 451 | const_char * elm_config_profile_get() |
452 | const_char_ptr elm_config_profile_dir_get(const_char_ptr profile, Eina_Bool is_user) | 452 | const_char * elm_config_profile_dir_get(const_char_ptr profile, Eina_Bool is_user) |
453 | void elm_config_profile_dir_free(const_char_ptr p_dir) | 453 | void elm_config_profile_dir_free(const_char *p_dir) |
454 | Eina_List *elm_config_profile_list_get() | 454 | Eina_List *elm_config_profile_list_get() |
455 | void elm_config_profile_list_free(Eina_List *l) | 455 | void elm_config_profile_list_free(Eina_List *l) |
456 | void elm_config_profile_set(const_char_ptr profile) | 456 | void elm_config_profile_set(const_char *profile) |
457 | Eina_Bool elm_config_scroll_bounce_enabled_get() | 457 | Eina_Bool elm_config_scroll_bounce_enabled_get() |
458 | void elm_config_scroll_bounce_enabled_set(Eina_Bool enabled) | 458 | void elm_config_scroll_bounce_enabled_set(Eina_Bool enabled) |
459 | double elm_config_scroll_bounce_friction_get() | 459 | double elm_config_scroll_bounce_friction_get() |
@@ -488,15 +488,15 @@ cdef extern from "Elementary.h": | |||
488 | void elm_config_password_show_last_set(Eina_Bool password_show_last) | 488 | void elm_config_password_show_last_set(Eina_Bool password_show_last) |
489 | double elm_config_password_show_last_timeout_get() | 489 | double elm_config_password_show_last_timeout_get() |
490 | void elm_config_password_show_last_timeout_set(double password_show_last_timeout) | 490 | void elm_config_password_show_last_timeout_set(double password_show_last_timeout) |
491 | const_char_ptr elm_config_engine_get() | 491 | const_char * elm_config_engine_get() |
492 | void elm_config_engine_set(const_char_ptr engine) | 492 | void elm_config_engine_set(const_char *engine) |
493 | const_char_ptr elm_config_preferred_engine_get() | 493 | const_char * elm_config_preferred_engine_get() |
494 | void elm_config_preferred_engine_set(const_char_ptr engine) | 494 | void elm_config_preferred_engine_set(const_char *engine) |
495 | Eina_List *elm_config_text_classes_list_get() | 495 | Eina_List *elm_config_text_classes_list_get() |
496 | void elm_config_text_classes_list_free(Eina_List *list) | 496 | void elm_config_text_classes_list_free(Eina_List *list) |
497 | Eina_List *elm_config_font_overlay_list_get() | 497 | Eina_List *elm_config_font_overlay_list_get() |
498 | void elm_config_font_overlay_set(const_char_ptr text_class, const_char_ptr font, Evas_Font_Size size) | 498 | void elm_config_font_overlay_set(const_char *text_class, const_char_ptr font, Evas_Font_Size size) |
499 | void elm_config_font_overlay_unset(const_char_ptr text_class) | 499 | void elm_config_font_overlay_unset(const_char *text_class) |
500 | void elm_config_font_overlay_apply() | 500 | void elm_config_font_overlay_apply() |
501 | Evas_Coord elm_config_finger_size_get() | 501 | Evas_Coord elm_config_finger_size_get() |
502 | void elm_config_finger_size_set(Evas_Coord size) | 502 | void elm_config_finger_size_set(Evas_Coord size) |
@@ -563,19 +563,19 @@ cdef extern from "Elementary.h": | |||
563 | char *elm_theme_data_get(Elm_Theme *th, char *key) | 563 | char *elm_theme_data_get(Elm_Theme *th, char *key) |
564 | 564 | ||
565 | # Object handling (py3: DONE) | 565 | # Object handling (py3: DONE) |
566 | void elm_object_part_text_set(Evas_Object *obj, const_char_ptr part, const_char_ptr label) | 566 | void elm_object_part_text_set(Evas_Object *obj, const_char *part, const_char_ptr label) |
567 | void elm_object_text_set(Evas_Object *obj, const_char_ptr label) | 567 | void elm_object_text_set(Evas_Object *obj, const_char *label) |
568 | char* elm_object_part_text_get(Evas_Object *obj, const_char_ptr part) | 568 | char* elm_object_part_text_get(Evas_Object *obj, const_char *part) |
569 | char* elm_object_text_get(Evas_Object *obj) | 569 | char* elm_object_text_get(Evas_Object *obj) |
570 | void elm_object_part_content_set(Evas_Object *obj, const_char_ptr part, Evas_Object *icon) | 570 | void elm_object_part_content_set(Evas_Object *obj, const_char *part, Evas_Object *icon) |
571 | void elm_object_content_set(Evas_Object *obj, Evas_Object *icon) | 571 | void elm_object_content_set(Evas_Object *obj, Evas_Object *icon) |
572 | Evas_Object *elm_object_part_content_get(Evas_Object *obj, const_char_ptr part) | 572 | Evas_Object *elm_object_part_content_get(Evas_Object *obj, const_char *part) |
573 | Evas_Object *elm_object_content_get(Evas_Object *obj) | 573 | Evas_Object *elm_object_content_get(Evas_Object *obj) |
574 | Evas_Object *elm_object_part_content_unset(Evas_Object *obj, const_char_ptr part) | 574 | Evas_Object *elm_object_part_content_unset(Evas_Object *obj, const_char *part) |
575 | Evas_Object *elm_object_content_unset(Evas_Object *obj) | 575 | Evas_Object *elm_object_content_unset(Evas_Object *obj) |
576 | void elm_object_access_info_set(Evas_Object *obj, const_char_ptr txt) | 576 | void elm_object_access_info_set(Evas_Object *obj, const_char *txt) |
577 | Evas_Object *elm_object_name_find(Evas_Object *obj, const_char_ptr name, int recurse) | 577 | Evas_Object *elm_object_name_find(Evas_Object *obj, const_char *name, int recurse) |
578 | void elm_object_style_set(Evas_Object *obj, const_char_ptr style) | 578 | void elm_object_style_set(Evas_Object *obj, const_char *style) |
579 | char *elm_object_style_get(Evas_Object *obj) | 579 | char *elm_object_style_get(Evas_Object *obj) |
580 | void elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled) | 580 | void elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled) |
581 | Eina_Bool elm_object_disabled_get(Evas_Object *obj) | 581 | Eina_Bool elm_object_disabled_get(Evas_Object *obj) |
@@ -583,18 +583,18 @@ cdef extern from "Elementary.h": | |||
583 | Evas_Object *elm_object_parent_widget_get(Evas_Object *obj) | 583 | Evas_Object *elm_object_parent_widget_get(Evas_Object *obj) |
584 | Evas_Object *elm_object_top_widget_get(Evas_Object *obj) | 584 | Evas_Object *elm_object_top_widget_get(Evas_Object *obj) |
585 | char *elm_object_widget_type_get(Evas_Object *obj) | 585 | char *elm_object_widget_type_get(Evas_Object *obj) |
586 | void elm_object_signal_emit(Evas_Object *obj, const_char_ptr emission, const_char_ptr source) | 586 | void elm_object_signal_emit(Evas_Object *obj, const_char *emission, const_char_ptr source) |
587 | void elm_object_signal_callback_add(Evas_Object *obj, const_char_ptr emission, const_char_ptr source, Edje_Signal_Cb func, void *data) | 587 | void elm_object_signal_callback_add(Evas_Object *obj, const_char *emission, const_char_ptr source, Edje_Signal_Cb func, void *data) |
588 | void *elm_object_signal_callback_del(Evas_Object *obj, const_char_ptr emission, const_char_ptr source, Edje_Signal_Cb func) | 588 | void *elm_object_signal_callback_del(Evas_Object *obj, const_char *emission, const_char_ptr source, Edje_Signal_Cb func) |
589 | void elm_object_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const_void *data) | 589 | void elm_object_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const_void *data) |
590 | void *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const_void *data) | 590 | void *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const_void *data) |
591 | 591 | ||
592 | # Object - Cursors (elm_cursor.h) (py3: DONE) | 592 | # Object - Cursors (elm_cursor.h) (py3: DONE) |
593 | void elm_object_cursor_set(Evas_Object *obj, const_char_ptr cursor) | 593 | void elm_object_cursor_set(Evas_Object *obj, const_char *cursor) |
594 | const_char_ptr elm_object_cursor_get(Evas_Object *obj) | 594 | const_char * elm_object_cursor_get(Evas_Object *obj) |
595 | void elm_object_cursor_unset(Evas_Object *obj) | 595 | void elm_object_cursor_unset(Evas_Object *obj) |
596 | void elm_object_cursor_style_set(Evas_Object *obj, const_char_ptr style) | 596 | void elm_object_cursor_style_set(Evas_Object *obj, const_char *style) |
597 | const_char_ptr elm_object_cursor_style_get(Evas_Object *obj) | 597 | const_char * elm_object_cursor_style_get(Evas_Object *obj) |
598 | void elm_object_cursor_theme_search_enabled_set(Evas_Object *obj, Eina_Bool theme_search) | 598 | void elm_object_cursor_theme_search_enabled_set(Evas_Object *obj, Eina_Bool theme_search) |
599 | Eina_Bool elm_object_cursor_theme_search_enabled_get(Evas_Object *obj) | 599 | Eina_Bool elm_object_cursor_theme_search_enabled_get(Evas_Object *obj) |
600 | 600 | ||
@@ -639,55 +639,55 @@ cdef extern from "Elementary.h": | |||
639 | # Object - Tooltips (elm_tooltip.h) (py3: DONE) | 639 | # Object - Tooltips (elm_tooltip.h) (py3: DONE) |
640 | void elm_object_tooltip_show(Evas_Object *obj) | 640 | void elm_object_tooltip_show(Evas_Object *obj) |
641 | void elm_object_tooltip_hide(Evas_Object *obj) | 641 | void elm_object_tooltip_hide(Evas_Object *obj) |
642 | void elm_object_tooltip_text_set(Evas_Object *obj, const_char_ptr text) | 642 | void elm_object_tooltip_text_set(Evas_Object *obj, const_char *text) |
643 | void elm_object_tooltip_domain_translatable_text_set(Evas_Object *obj, const_char_ptr domain, const_char_ptr text) | 643 | void elm_object_tooltip_domain_translatable_text_set(Evas_Object *obj, const_char *domain, const_char_ptr text) |
644 | void elm_object_tooltip_translatable_text_set(Evas_Object *obj, const_char_ptr text) | 644 | void elm_object_tooltip_translatable_text_set(Evas_Object *obj, const_char *text) |
645 | void elm_object_tooltip_content_cb_set(Evas_Object *obj, Elm_Tooltip_Content_Cb func, void *data, Evas_Smart_Cb del_cb) | 645 | void elm_object_tooltip_content_cb_set(Evas_Object *obj, Elm_Tooltip_Content_Cb func, void *data, Evas_Smart_Cb del_cb) |
646 | void elm_object_tooltip_unset(Evas_Object *obj) | 646 | void elm_object_tooltip_unset(Evas_Object *obj) |
647 | void elm_object_tooltip_style_set(Evas_Object *obj, const_char_ptr style) | 647 | void elm_object_tooltip_style_set(Evas_Object *obj, const_char *style) |
648 | char *elm_object_tooltip_style_get(Evas_Object *obj) | 648 | char *elm_object_tooltip_style_get(Evas_Object *obj) |
649 | Eina_Bool elm_object_tooltip_window_mode_set(Evas_Object *obj, Eina_Bool disable) | 649 | Eina_Bool elm_object_tooltip_window_mode_set(Evas_Object *obj, Eina_Bool disable) |
650 | Eina_Bool elm_object_tooltip_window_mode_get(Evas_Object *obj) | 650 | Eina_Bool elm_object_tooltip_window_mode_get(Evas_Object *obj) |
651 | 651 | ||
652 | # Object - Translatable text (elm_general.h) (py3: DONE) | 652 | # Object - Translatable text (elm_general.h) (py3: DONE) |
653 | void elm_object_domain_translatable_part_text_set(Evas_Object *obj, const_char_ptr part, const_char_ptr domain, const_char_ptr text) | 653 | void elm_object_domain_translatable_part_text_set(Evas_Object *obj, const_char *part, const_char_ptr domain, const_char_ptr text) |
654 | void elm_object_domain_translatable_text_set(Evas_Object *obj, const_char_ptr domain, const_char_ptr text) | 654 | void elm_object_domain_translatable_text_set(Evas_Object *obj, const_char *domain, const_char_ptr text) |
655 | void elm_object_translatable_text_set(Evas_Object *obj, const_char_ptr text) | 655 | void elm_object_translatable_text_set(Evas_Object *obj, const_char *text) |
656 | const_char_ptr elm_object_translatable_text_part_get(Evas_Object *obj, const_char_ptr part) | 656 | const_char * elm_object_translatable_text_part_get(Evas_Object *obj, const_char_ptr part) |
657 | const_char_ptr elm_object_translatable_text_get(Evas_Object *obj) | 657 | const_char * elm_object_translatable_text_get(Evas_Object *obj) |
658 | 658 | ||
659 | # Object Item (py3: DONE) | 659 | # Object Item (py3: DONE) |
660 | Evas_Object *elm_object_item_widget_get(Elm_Object_Item *it) | 660 | Evas_Object *elm_object_item_widget_get(Elm_Object_Item *it) |
661 | void elm_object_item_part_content_set(Elm_Object_Item *it, const_char_ptr part, Evas_Object* content) | 661 | void elm_object_item_part_content_set(Elm_Object_Item *it, const_char *part, Evas_Object* content) |
662 | void elm_object_item_content_set(Elm_Object_Item *it, Evas_Object* content) | 662 | void elm_object_item_content_set(Elm_Object_Item *it, Evas_Object* content) |
663 | Evas_Object *elm_object_item_part_content_get(Elm_Object_Item *it, const_char_ptr part) | 663 | Evas_Object *elm_object_item_part_content_get(Elm_Object_Item *it, const_char *part) |
664 | Evas_Object *elm_object_item_content_get(Elm_Object_Item *it) | 664 | Evas_Object *elm_object_item_content_get(Elm_Object_Item *it) |
665 | Evas_Object *elm_object_item_part_content_unset(Elm_Object_Item *it, const_char_ptr part) | 665 | Evas_Object *elm_object_item_part_content_unset(Elm_Object_Item *it, const_char *part) |
666 | Evas_Object *elm_object_item_content_unset(Elm_Object_Item *it) | 666 | Evas_Object *elm_object_item_content_unset(Elm_Object_Item *it) |
667 | void elm_object_item_part_text_set(Elm_Object_Item *item, const_char_ptr part, const_char_ptr label) | 667 | void elm_object_item_part_text_set(Elm_Object_Item *item, const_char *part, const_char_ptr label) |
668 | void elm_object_item_text_set(Elm_Object_Item *item, const_char_ptr label) | 668 | void elm_object_item_text_set(Elm_Object_Item *item, const_char *label) |
669 | const_char_ptr elm_object_item_part_text_get(Elm_Object_Item *item, const_char_ptr part) | 669 | const_char * elm_object_item_part_text_get(Elm_Object_Item *item, const_char_ptr part) |
670 | const_char_ptr elm_object_item_text_get(Elm_Object_Item *item) | 670 | const_char * elm_object_item_text_get(Elm_Object_Item *item) |
671 | void elm_object_item_access_info_set(Elm_Object_Item *it, const_char_ptr txt) | 671 | void elm_object_item_access_info_set(Elm_Object_Item *it, const_char *txt) |
672 | void *elm_object_item_data_get(Elm_Object_Item *item) | 672 | void *elm_object_item_data_get(Elm_Object_Item *item) |
673 | void elm_object_item_data_set(Elm_Object_Item *item, void *data) | 673 | void elm_object_item_data_set(Elm_Object_Item *item, void *data) |
674 | void elm_object_item_signal_emit(Elm_Object_Item *it, const_char_ptr emission, const_char_ptr source) | 674 | void elm_object_item_signal_emit(Elm_Object_Item *it, const_char *emission, const_char_ptr source) |
675 | void elm_object_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) | 675 | void elm_object_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) |
676 | Eina_Bool elm_object_item_disabled_get(Elm_Object_Item *it) | 676 | Eina_Bool elm_object_item_disabled_get(Elm_Object_Item *it) |
677 | void elm_object_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb del_cb) | 677 | void elm_object_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb del_cb) |
678 | void elm_object_item_del(Elm_Object_Item *item) | 678 | void elm_object_item_del(Elm_Object_Item *item) |
679 | void elm_object_item_tooltip_text_set(Elm_Object_Item *it, const_char_ptr text) | 679 | void elm_object_item_tooltip_text_set(Elm_Object_Item *it, const_char *text) |
680 | Eina_Bool elm_object_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable) | 680 | Eina_Bool elm_object_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable) |
681 | Eina_Bool elm_object_item_tooltip_window_mode_get(Elm_Object_Item *it) | 681 | Eina_Bool elm_object_item_tooltip_window_mode_get(Elm_Object_Item *it) |
682 | void elm_object_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, void *data, Evas_Smart_Cb del_cb) | 682 | void elm_object_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, void *data, Evas_Smart_Cb del_cb) |
683 | void elm_object_item_tooltip_unset(Elm_Object_Item *it) | 683 | void elm_object_item_tooltip_unset(Elm_Object_Item *it) |
684 | void elm_object_item_tooltip_style_set(Elm_Object_Item *it, const_char_ptr style) | 684 | void elm_object_item_tooltip_style_set(Elm_Object_Item *it, const_char *style) |
685 | const_char_ptr elm_object_item_tooltip_style_get(Elm_Object_Item *it) | 685 | const_char * elm_object_item_tooltip_style_get(Elm_Object_Item *it) |
686 | void elm_object_item_cursor_set(Elm_Object_Item *it, const_char_ptr cursor) | 686 | void elm_object_item_cursor_set(Elm_Object_Item *it, const_char *cursor) |
687 | const_char_ptr elm_object_item_cursor_get(Elm_Object_Item *it) | 687 | const_char * elm_object_item_cursor_get(Elm_Object_Item *it) |
688 | void elm_object_item_cursor_unset(Elm_Object_Item *it) | 688 | void elm_object_item_cursor_unset(Elm_Object_Item *it) |
689 | void elm_object_item_cursor_style_set(Elm_Object_Item *it, const_char_ptr style) | 689 | void elm_object_item_cursor_style_set(Elm_Object_Item *it, const_char *style) |
690 | const_char_ptr elm_object_item_cursor_style_get(Elm_Object_Item *it) | 690 | const_char * elm_object_item_cursor_style_get(Elm_Object_Item *it) |
691 | void elm_object_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only) | 691 | void elm_object_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only) |
692 | Eina_Bool elm_object_item_cursor_engine_only_get(Elm_Object_Item *it) | 692 | Eina_Bool elm_object_item_cursor_engine_only_get(Elm_Object_Item *it) |
693 | 693 | ||
@@ -745,8 +745,8 @@ cdef extern from "Elementary.h": | |||
745 | 745 | ||
746 | # Background (api:DONE cb:N/A test:DONE doc:DONE py3:DONE) | 746 | # Background (api:DONE cb:N/A test:DONE doc:DONE py3:DONE) |
747 | Evas_Object *elm_bg_add(Evas_Object *parent) | 747 | Evas_Object *elm_bg_add(Evas_Object *parent) |
748 | Eina_Bool elm_bg_file_set(Evas_Object *obj, const_char_ptr file, const_char_ptr group) | 748 | Eina_Bool elm_bg_file_set(Evas_Object *obj, const_char *file, const_char_ptr group) |
749 | void elm_bg_file_get(Evas_Object *obj, const_char_ptr *file, const_char_ptr *group) | 749 | void elm_bg_file_get(Evas_Object *obj, const_char **file, const_char_ptr *group) |
750 | void elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option) | 750 | void elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option) |
751 | Elm_Bg_Option elm_bg_option_get(Evas_Object *obj) | 751 | Elm_Bg_Option elm_bg_option_get(Evas_Object *obj) |
752 | void elm_bg_color_set(Evas_Object *obj, int r, int g, int b) | 752 | void elm_bg_color_set(Evas_Object *obj, int r, int g, int b) |
@@ -792,8 +792,8 @@ cdef extern from "Elementary.h": | |||
792 | 792 | ||
793 | # Calendar (api:TODO cb:DONE test:TODO doc:DONE py3:DONE) | 793 | # Calendar (api:TODO cb:DONE test:TODO doc:DONE py3:DONE) |
794 | Evas_Object *elm_calendar_add(Evas_Object *parent) | 794 | Evas_Object *elm_calendar_add(Evas_Object *parent) |
795 | const_char_ptr *elm_calendar_weekdays_names_get(Evas_Object *obj) | 795 | const_char * *elm_calendar_weekdays_names_get(Evas_Object *obj) |
796 | void elm_calendar_weekdays_names_set(Evas_Object *obj, const_char_ptr weekdays[]) | 796 | void elm_calendar_weekdays_names_set(Evas_Object *obj, const_char *weekdays[]) |
797 | void elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max) | 797 | void elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max) |
798 | void elm_calendar_min_max_year_get(Evas_Object *obj, int *min, int *max) | 798 | void elm_calendar_min_max_year_get(Evas_Object *obj, int *min, int *max) |
799 | void elm_calendar_select_mode_set(Evas_Object *obj, Elm_Calendar_Select_Mode mode) | 799 | void elm_calendar_select_mode_set(Evas_Object *obj, Elm_Calendar_Select_Mode mode) |
@@ -801,7 +801,7 @@ cdef extern from "Elementary.h": | |||
801 | void elm_calendar_selected_time_set(Evas_Object *obj, tm *selected_time) | 801 | void elm_calendar_selected_time_set(Evas_Object *obj, tm *selected_time) |
802 | Eina_Bool elm_calendar_selected_time_get(Evas_Object *obj, tm *selected_time) | 802 | Eina_Bool elm_calendar_selected_time_get(Evas_Object *obj, tm *selected_time) |
803 | void elm_calendar_format_function_set(Evas_Object *obj, Elm_Calendar_Format_Cb format_func) | 803 | void elm_calendar_format_function_set(Evas_Object *obj, Elm_Calendar_Format_Cb format_func) |
804 | Elm_Calendar_Mark *elm_calendar_mark_add(Evas_Object *obj, const_char_ptr mark_type, tm *mark_time, Elm_Calendar_Mark_Repeat_Type repeat) | 804 | Elm_Calendar_Mark *elm_calendar_mark_add(Evas_Object *obj, const_char *mark_type, tm *mark_time, Elm_Calendar_Mark_Repeat_Type repeat) |
805 | void elm_calendar_mark_del(Elm_Calendar_Mark *mark) | 805 | void elm_calendar_mark_del(Elm_Calendar_Mark *mark) |
806 | void elm_calendar_marks_clear(Evas_Object *obj) | 806 | void elm_calendar_marks_clear(Evas_Object *obj) |
807 | const_Eina_List *elm_calendar_marks_get(Evas_Object *obj) | 807 | const_Eina_List *elm_calendar_marks_get(Evas_Object *obj) |
@@ -841,8 +841,8 @@ cdef extern from "Elementary.h": | |||
841 | void elm_colorselector_palette_item_color_set(Elm_Object_Item *it, int r, int g, int b, int a) | 841 | void elm_colorselector_palette_item_color_set(Elm_Object_Item *it, int r, int g, int b, int a) |
842 | Elm_Object_Item *elm_colorselector_palette_color_add(Evas_Object *obj, int r, int g, int b, int a) | 842 | Elm_Object_Item *elm_colorselector_palette_color_add(Evas_Object *obj, int r, int g, int b, int a) |
843 | void elm_colorselector_palette_clear(Evas_Object *obj) | 843 | void elm_colorselector_palette_clear(Evas_Object *obj) |
844 | void elm_colorselector_palette_name_set(Evas_Object *obj, const_char_ptr palette_name) | 844 | void elm_colorselector_palette_name_set(Evas_Object *obj, const_char *palette_name) |
845 | const_char_ptr elm_colorselector_palette_name_get(Evas_Object *obj) | 845 | const_char * elm_colorselector_palette_name_get(Evas_Object *obj) |
846 | 846 | ||
847 | # Conformant (api:DONE cb:N/A test:TODO doc:DONE) | 847 | # Conformant (api:DONE cb:N/A test:TODO doc:DONE) |
848 | Evas_Object *elm_conformant_add(Evas_Object *parent) | 848 | Evas_Object *elm_conformant_add(Evas_Object *parent) |
@@ -854,7 +854,7 @@ cdef extern from "Elementary.h": | |||
854 | void elm_ctxpopup_clear(Evas_Object *obj) | 854 | void elm_ctxpopup_clear(Evas_Object *obj) |
855 | void elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) | 855 | void elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) |
856 | Eina_Bool elm_ctxpopup_horizontal_get(Evas_Object *obj) | 856 | Eina_Bool elm_ctxpopup_horizontal_get(Evas_Object *obj) |
857 | Elm_Object_Item *elm_ctxpopup_item_append(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Smart_Cb func, const_void *data) | 857 | Elm_Object_Item *elm_ctxpopup_item_append(Evas_Object *obj, const_char *label, Evas_Object *icon, Evas_Smart_Cb func, const_void *data) |
858 | void elm_ctxpopup_direction_priority_set(Evas_Object *obj, Elm_Ctxpopup_Direction first, Elm_Ctxpopup_Direction second, Elm_Ctxpopup_Direction third, Elm_Ctxpopup_Direction fourth) | 858 | void elm_ctxpopup_direction_priority_set(Evas_Object *obj, Elm_Ctxpopup_Direction first, Elm_Ctxpopup_Direction second, Elm_Ctxpopup_Direction third, Elm_Ctxpopup_Direction fourth) |
859 | void elm_ctxpopup_direction_priority_get(Evas_Object *obj, Elm_Ctxpopup_Direction *first, Elm_Ctxpopup_Direction *second, Elm_Ctxpopup_Direction *third, Elm_Ctxpopup_Direction *fourth) | 859 | void elm_ctxpopup_direction_priority_get(Evas_Object *obj, Elm_Ctxpopup_Direction *first, Elm_Ctxpopup_Direction *second, Elm_Ctxpopup_Direction *third, Elm_Ctxpopup_Direction *fourth) |
860 | Elm_Ctxpopup_Direction elm_ctxpopup_direction_get(Evas_Object *obj) | 860 | Elm_Ctxpopup_Direction elm_ctxpopup_direction_get(Evas_Object *obj) |
@@ -862,8 +862,8 @@ cdef extern from "Elementary.h": | |||
862 | 862 | ||
863 | # Datetime (api: DONE cb:DONE test:XXX doc:DONE py3:DONE) | 863 | # Datetime (api: DONE cb:DONE test:XXX doc:DONE py3:DONE) |
864 | Evas_Object *elm_datetime_add(Evas_Object *parent) | 864 | Evas_Object *elm_datetime_add(Evas_Object *parent) |
865 | const_char_ptr elm_datetime_format_get(Evas_Object *obj) | 865 | const_char * elm_datetime_format_get(Evas_Object *obj) |
866 | void elm_datetime_format_set(Evas_Object *obj, const_char_ptr fmt) | 866 | void elm_datetime_format_set(Evas_Object *obj, const_char *fmt) |
867 | Eina_Bool elm_datetime_value_max_get(Evas_Object *obj, tm *maxtime) | 867 | Eina_Bool elm_datetime_value_max_get(Evas_Object *obj, tm *maxtime) |
868 | Eina_Bool elm_datetime_value_max_set(Evas_Object *obj, tm *maxtime) | 868 | Eina_Bool elm_datetime_value_max_set(Evas_Object *obj, tm *maxtime) |
869 | Eina_Bool elm_datetime_value_min_get(Evas_Object *obj, tm *mintime) | 869 | Eina_Bool elm_datetime_value_min_get(Evas_Object *obj, tm *mintime) |
@@ -900,7 +900,7 @@ cdef extern from "Elementary.h": | |||
900 | void elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) | 900 | void elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) |
901 | void elm_diskselector_clear(Evas_Object *obj) | 901 | void elm_diskselector_clear(Evas_Object *obj) |
902 | const_Eina_List *elm_diskselector_items_get(Evas_Object *obj) | 902 | const_Eina_List *elm_diskselector_items_get(Evas_Object *obj) |
903 | Elm_Object_Item *elm_diskselector_item_append(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Smart_Cb func, void *data) | 903 | Elm_Object_Item *elm_diskselector_item_append(Evas_Object *obj, const_char *label, Evas_Object *icon, Evas_Smart_Cb func, void *data) |
904 | Elm_Object_Item *elm_diskselector_selected_item_get(Evas_Object *obj) | 904 | Elm_Object_Item *elm_diskselector_selected_item_get(Evas_Object *obj) |
905 | void elm_diskselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) | 905 | void elm_diskselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) |
906 | Eina_Bool elm_diskselector_item_selected_get(Elm_Object_Item *it) | 906 | Eina_Bool elm_diskselector_item_selected_get(Elm_Object_Item *it) |
@@ -915,14 +915,14 @@ cdef extern from "Elementary.h": | |||
915 | Eina_Bool elm_entry_single_line_get(Evas_Object *obj) | 915 | Eina_Bool elm_entry_single_line_get(Evas_Object *obj) |
916 | void elm_entry_password_set(Evas_Object *obj, Eina_Bool password) | 916 | void elm_entry_password_set(Evas_Object *obj, Eina_Bool password) |
917 | Eina_Bool elm_entry_password_get(Evas_Object *obj) | 917 | Eina_Bool elm_entry_password_get(Evas_Object *obj) |
918 | void elm_entry_entry_set(Evas_Object *obj, const_char_ptr entry) | 918 | void elm_entry_entry_set(Evas_Object *obj, const_char *entry) |
919 | const_char_ptr elm_entry_entry_get(Evas_Object *obj) | 919 | const_char * elm_entry_entry_get(Evas_Object *obj) |
920 | void elm_entry_entry_append(Evas_Object *obj, const_char_ptr text) | 920 | void elm_entry_entry_append(Evas_Object *obj, const_char *text) |
921 | Eina_Bool elm_entry_is_empty(Evas_Object *obj) | 921 | Eina_Bool elm_entry_is_empty(Evas_Object *obj) |
922 | const_char_ptr elm_entry_selection_get(Evas_Object *obj) | 922 | const_char * elm_entry_selection_get(Evas_Object *obj) |
923 | Evas_Object *elm_entry_textblock_get(Evas_Object *obj) | 923 | Evas_Object *elm_entry_textblock_get(Evas_Object *obj) |
924 | void elm_entry_calc_force(Evas_Object *obj) | 924 | void elm_entry_calc_force(Evas_Object *obj) |
925 | void elm_entry_entry_insert(Evas_Object *obj, const_char_ptr entry) | 925 | void elm_entry_entry_insert(Evas_Object *obj, const_char *entry) |
926 | void elm_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) | 926 | void elm_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) |
927 | Elm_Wrap_Type elm_entry_line_wrap_get(Evas_Object *obj) | 927 | Elm_Wrap_Type elm_entry_line_wrap_get(Evas_Object *obj) |
928 | void elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable) | 928 | void elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable) |
@@ -941,17 +941,17 @@ cdef extern from "Elementary.h": | |||
941 | void elm_entry_cursor_selection_end(Evas_Object *obj) | 941 | void elm_entry_cursor_selection_end(Evas_Object *obj) |
942 | Eina_Bool elm_entry_cursor_is_format_get(Evas_Object *obj) | 942 | Eina_Bool elm_entry_cursor_is_format_get(Evas_Object *obj) |
943 | Eina_Bool elm_entry_cursor_is_visible_format_get(Evas_Object *obj) | 943 | Eina_Bool elm_entry_cursor_is_visible_format_get(Evas_Object *obj) |
944 | const_char_ptr elm_entry_cursor_content_get(Evas_Object *obj) | 944 | const_char * elm_entry_cursor_content_get(Evas_Object *obj) |
945 | Eina_Bool elm_entry_cursor_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) | 945 | Eina_Bool elm_entry_cursor_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) |
946 | void elm_entry_cursor_pos_set(Evas_Object *obj, int pos) | 946 | void elm_entry_cursor_pos_set(Evas_Object *obj, int pos) |
947 | int elm_entry_cursor_pos_get(Evas_Object *obj) | 947 | int elm_entry_cursor_pos_get(Evas_Object *obj) |
948 | void elm_entry_selection_cut(Evas_Object *obj) | 948 | void elm_entry_selection_cut(Evas_Object *obj) |
949 | void elm_entry_selection_copy(Evas_Object *obj) | 949 | void elm_entry_selection_copy(Evas_Object *obj) |
950 | void elm_entry_selection_paste(Evas_Object *obj) | 950 | void elm_entry_selection_paste(Evas_Object *obj) |
951 | const_char_ptr elm_entry_markup_to_utf8(const_char_ptr s) | 951 | const_char * elm_entry_markup_to_utf8(const_char_ptr s) |
952 | const_char_ptr elm_entry_utf8_to_markup(const_char_ptr s) | 952 | const_char * elm_entry_utf8_to_markup(const_char_ptr s) |
953 | Eina_Bool elm_entry_file_set(Evas_Object *obj, const_char_ptr file, Elm_Text_Format format) | 953 | Eina_Bool elm_entry_file_set(Evas_Object *obj, const_char *file, Elm_Text_Format format) |
954 | void elm_entry_file_get(Evas_Object *obj, const_char_ptr *file, Elm_Text_Format *format) | 954 | void elm_entry_file_get(Evas_Object *obj, const_char **file, Elm_Text_Format *format) |
955 | void elm_entry_file_save(Evas_Object *obj) | 955 | void elm_entry_file_save(Evas_Object *obj) |
956 | void elm_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) | 956 | void elm_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) |
957 | Eina_Bool elm_entry_autosave_get(Evas_Object *obj) | 957 | Eina_Bool elm_entry_autosave_get(Evas_Object *obj) |
@@ -982,8 +982,8 @@ cdef extern from "Elementary.h": | |||
982 | Elm_Cnp_Mode elm_entry_cnp_mode_get(Evas_Object *obj) | 982 | Elm_Cnp_Mode elm_entry_cnp_mode_get(Evas_Object *obj) |
983 | void elm_entry_anchor_hover_parent_set(Evas_Object *obj, Evas_Object *anchor_hover_parent) | 983 | void elm_entry_anchor_hover_parent_set(Evas_Object *obj, Evas_Object *anchor_hover_parent) |
984 | Evas_Object *elm_entry_anchor_hover_parent_get(Evas_Object *obj) | 984 | Evas_Object *elm_entry_anchor_hover_parent_get(Evas_Object *obj) |
985 | void elm_entry_anchor_hover_style_set(Evas_Object *obj, const_char_ptr anchor_hover_style) | 985 | void elm_entry_anchor_hover_style_set(Evas_Object *obj, const_char *anchor_hover_style) |
986 | const_char_ptr elm_entry_anchor_hover_style_get(Evas_Object *obj) | 986 | const_char * elm_entry_anchor_hover_style_get(Evas_Object *obj) |
987 | void elm_entry_anchor_hover_end(Evas_Object *obj) | 987 | void elm_entry_anchor_hover_end(Evas_Object *obj) |
988 | 988 | ||
989 | # Fileselector (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) | 989 | # Fileselector (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) |
@@ -996,17 +996,17 @@ cdef extern from "Elementary.h": | |||
996 | Eina_Bool elm_fileselector_buttons_ok_cancel_get(Evas_Object *obj) | 996 | Eina_Bool elm_fileselector_buttons_ok_cancel_get(Evas_Object *obj) |
997 | void elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool value) | 997 | void elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool value) |
998 | Eina_Bool elm_fileselector_expandable_get(Evas_Object *obj) | 998 | Eina_Bool elm_fileselector_expandable_get(Evas_Object *obj) |
999 | void elm_fileselector_path_set(Evas_Object *obj, const_char_ptr path) | 999 | void elm_fileselector_path_set(Evas_Object *obj, const_char *path) |
1000 | const_char_ptr elm_fileselector_path_get(Evas_Object *obj) | 1000 | const_char * elm_fileselector_path_get(Evas_Object *obj) |
1001 | Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const_char_ptr path) | 1001 | Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const_char *path) |
1002 | const_char_ptr elm_fileselector_selected_get(Evas_Object *obj) | 1002 | const_char * elm_fileselector_selected_get(Evas_Object *obj) |
1003 | void elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode) | 1003 | void elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode) |
1004 | Elm_Fileselector_Mode elm_fileselector_mode_get(Evas_Object *obj) | 1004 | Elm_Fileselector_Mode elm_fileselector_mode_get(Evas_Object *obj) |
1005 | 1005 | ||
1006 | # Fileselector Button (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) | 1006 | # Fileselector Button (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) |
1007 | Evas_Object *elm_fileselector_button_add(Evas_Object *parent) | 1007 | Evas_Object *elm_fileselector_button_add(Evas_Object *parent) |
1008 | void elm_fileselector_button_window_title_set(Evas_Object *obj, const_char_ptr title) | 1008 | void elm_fileselector_button_window_title_set(Evas_Object *obj, const_char *title) |
1009 | const_char_ptr elm_fileselector_button_window_title_get(Evas_Object *obj) | 1009 | const_char * elm_fileselector_button_window_title_get(Evas_Object *obj) |
1010 | void elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) | 1010 | void elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) |
1011 | void elm_fileselector_button_window_size_get(Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) | 1011 | void elm_fileselector_button_window_size_get(Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) |
1012 | void elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value) | 1012 | void elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value) |
@@ -1015,19 +1015,19 @@ cdef extern from "Elementary.h": | |||
1015 | Eina_Bool elm_fileselector_button_inwin_mode_get(Evas_Object *obj) | 1015 | Eina_Bool elm_fileselector_button_inwin_mode_get(Evas_Object *obj) |
1016 | void elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value) | 1016 | void elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value) |
1017 | Eina_Bool elm_fileselector_button_is_save_get(Evas_Object *obj) | 1017 | Eina_Bool elm_fileselector_button_is_save_get(Evas_Object *obj) |
1018 | void elm_fileselector_button_path_set(Evas_Object *obj, const_char_ptr path) | 1018 | void elm_fileselector_button_path_set(Evas_Object *obj, const_char *path) |
1019 | const_char_ptr elm_fileselector_button_path_get(Evas_Object *obj) | 1019 | const_char * elm_fileselector_button_path_get(Evas_Object *obj) |
1020 | void elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value) | 1020 | void elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value) |
1021 | Eina_Bool elm_fileselector_button_expandable_get(Evas_Object *obj) | 1021 | Eina_Bool elm_fileselector_button_expandable_get(Evas_Object *obj) |
1022 | 1022 | ||
1023 | # Fileselector Entry (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) | 1023 | # Fileselector Entry (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) |
1024 | Evas_Object *elm_fileselector_entry_add(Evas_Object *parent) | 1024 | Evas_Object *elm_fileselector_entry_add(Evas_Object *parent) |
1025 | void elm_fileselector_entry_window_title_set(Evas_Object *obj, const_char_ptr title) | 1025 | void elm_fileselector_entry_window_title_set(Evas_Object *obj, const_char *title) |
1026 | const_char_ptr elm_fileselector_entry_window_title_get(Evas_Object *obj) | 1026 | const_char * elm_fileselector_entry_window_title_get(Evas_Object *obj) |
1027 | void elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) | 1027 | void elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) |
1028 | void elm_fileselector_entry_window_size_get(Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) | 1028 | void elm_fileselector_entry_window_size_get(Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) |
1029 | void elm_fileselector_entry_path_set(Evas_Object *obj, const_char_ptr path) | 1029 | void elm_fileselector_entry_path_set(Evas_Object *obj, const_char *path) |
1030 | const_char_ptr elm_fileselector_entry_path_get(Evas_Object *obj) | 1030 | const_char * elm_fileselector_entry_path_get(Evas_Object *obj) |
1031 | void elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value) | 1031 | void elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value) |
1032 | Eina_Bool elm_fileselector_entry_expandable_get(Evas_Object *obj) | 1032 | Eina_Bool elm_fileselector_entry_expandable_get(Evas_Object *obj) |
1033 | void elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value) | 1033 | void elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value) |
@@ -1036,8 +1036,8 @@ cdef extern from "Elementary.h": | |||
1036 | Eina_Bool elm_fileselector_entry_is_save_get(Evas_Object *obj) | 1036 | Eina_Bool elm_fileselector_entry_is_save_get(Evas_Object *obj) |
1037 | void elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value) | 1037 | void elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value) |
1038 | Eina_Bool elm_fileselector_entry_inwin_mode_get(Evas_Object *obj) | 1038 | Eina_Bool elm_fileselector_entry_inwin_mode_get(Evas_Object *obj) |
1039 | void elm_fileselector_entry_selected_set(Evas_Object *obj, const_char_ptr path) | 1039 | void elm_fileselector_entry_selected_set(Evas_Object *obj, const_char *path) |
1040 | const_char_ptr elm_fileselector_entry_selected_get(Evas_Object *obj) | 1040 | const_char * elm_fileselector_entry_selected_get(Evas_Object *obj) |
1041 | 1041 | ||
1042 | # Flip (api:DONE cb:DONE test:DONE doc:DONE) | 1042 | # Flip (api:DONE cb:DONE test:DONE doc:DONE) |
1043 | Evas_Object *elm_flip_add(Evas_Object *parent) | 1043 | Evas_Object *elm_flip_add(Evas_Object *parent) |
@@ -1055,8 +1055,8 @@ cdef extern from "Elementary.h": | |||
1055 | Evas_Object *elm_flipselector_add(Evas_Object *parent) | 1055 | Evas_Object *elm_flipselector_add(Evas_Object *parent) |
1056 | void elm_flipselector_flip_next(Evas_Object *obj) | 1056 | void elm_flipselector_flip_next(Evas_Object *obj) |
1057 | void elm_flipselector_flip_prev(Evas_Object *obj) | 1057 | void elm_flipselector_flip_prev(Evas_Object *obj) |
1058 | Elm_Object_Item *elm_flipselector_item_append(Evas_Object *obj, const_char_ptr label, Evas_Smart_Cb func, void *data) | 1058 | Elm_Object_Item *elm_flipselector_item_append(Evas_Object *obj, const_char *label, Evas_Smart_Cb func, void *data) |
1059 | Elm_Object_Item *elm_flipselector_item_prepend(Evas_Object *obj, const_char_ptr label, Evas_Smart_Cb func, void *data) | 1059 | Elm_Object_Item *elm_flipselector_item_prepend(Evas_Object *obj, const_char *label, Evas_Smart_Cb func, void *data) |
1060 | const_Eina_List *elm_flipselector_items_get(const_Evas_Object *obj) | 1060 | const_Eina_List *elm_flipselector_items_get(const_Evas_Object *obj) |
1061 | Elm_Object_Item *elm_flipselector_first_item_get(const_Evas_Object *obj) | 1061 | Elm_Object_Item *elm_flipselector_first_item_get(const_Evas_Object *obj) |
1062 | Elm_Object_Item *elm_flipselector_last_item_get(const_Evas_Object *obj) | 1062 | Elm_Object_Item *elm_flipselector_last_item_get(const_Evas_Object *obj) |
@@ -1134,18 +1134,18 @@ cdef extern from "Elementary.h": | |||
1134 | Evas_Object *elm_gengrid_item_object_get(Elm_Object_Item *it) | 1134 | Evas_Object *elm_gengrid_item_object_get(Elm_Object_Item *it) |
1135 | void elm_gengrid_item_update(Elm_Object_Item *item) | 1135 | void elm_gengrid_item_update(Elm_Object_Item *item) |
1136 | void elm_gengrid_item_pos_get(Elm_Object_Item *item, unsigned int *x, unsigned int *y) | 1136 | void elm_gengrid_item_pos_get(Elm_Object_Item *item, unsigned int *x, unsigned int *y) |
1137 | void elm_gengrid_item_tooltip_text_set(Elm_Object_Item *item, const_char_ptr text) | 1137 | void elm_gengrid_item_tooltip_text_set(Elm_Object_Item *item, const_char *text) |
1138 | void elm_gengrid_item_tooltip_content_cb_set(Elm_Object_Item *item, Elm_Tooltip_Item_Content_Cb func, void *data, Evas_Smart_Cb del_cb) | 1138 | void elm_gengrid_item_tooltip_content_cb_set(Elm_Object_Item *item, Elm_Tooltip_Item_Content_Cb func, void *data, Evas_Smart_Cb del_cb) |
1139 | void elm_gengrid_item_tooltip_unset(Elm_Object_Item *item) | 1139 | void elm_gengrid_item_tooltip_unset(Elm_Object_Item *item) |
1140 | void elm_gengrid_item_tooltip_style_set(Elm_Object_Item *item, const_char_ptr style) | 1140 | void elm_gengrid_item_tooltip_style_set(Elm_Object_Item *item, const_char *style) |
1141 | const_char_ptr elm_gengrid_item_tooltip_style_get(Elm_Object_Item *item) | 1141 | const_char * elm_gengrid_item_tooltip_style_get(Elm_Object_Item *item) |
1142 | Eina_Bool elm_gengrid_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable) | 1142 | Eina_Bool elm_gengrid_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable) |
1143 | Eina_Bool elm_gengrid_item_tooltip_window_mode_get(Elm_Object_Item *it) | 1143 | Eina_Bool elm_gengrid_item_tooltip_window_mode_get(Elm_Object_Item *it) |
1144 | void elm_gengrid_item_cursor_set(Elm_Object_Item *item, const_char_ptr cursor) | 1144 | void elm_gengrid_item_cursor_set(Elm_Object_Item *item, const_char *cursor) |
1145 | const_char_ptr elm_gengrid_item_cursor_get(Elm_Object_Item *item) | 1145 | const_char * elm_gengrid_item_cursor_get(Elm_Object_Item *item) |
1146 | void elm_gengrid_item_cursor_unset(Elm_Object_Item *item) | 1146 | void elm_gengrid_item_cursor_unset(Elm_Object_Item *item) |
1147 | void elm_gengrid_item_cursor_style_set(Elm_Object_Item *item, const_char_ptr style) | 1147 | void elm_gengrid_item_cursor_style_set(Elm_Object_Item *item, const_char *style) |
1148 | const_char_ptr elm_gengrid_item_cursor_style_get(Elm_Object_Item *item) | 1148 | const_char * elm_gengrid_item_cursor_style_get(Elm_Object_Item *item) |
1149 | void elm_gengrid_item_cursor_engine_only_set(Elm_Object_Item *item, Eina_Bool engine_only) | 1149 | void elm_gengrid_item_cursor_engine_only_set(Elm_Object_Item *item, Eina_Bool engine_only) |
1150 | Eina_Bool elm_gengrid_item_cursor_engine_only_get(Elm_Object_Item *item) | 1150 | Eina_Bool elm_gengrid_item_cursor_engine_only_get(Elm_Object_Item *item) |
1151 | 1151 | ||
@@ -1183,18 +1183,18 @@ cdef extern from "Elementary.h": | |||
1183 | int elm_genlist_item_index_get(Elm_Object_Item *it) | 1183 | int elm_genlist_item_index_get(Elm_Object_Item *it) |
1184 | void elm_genlist_realized_items_update(Evas_Object *obj) | 1184 | void elm_genlist_realized_items_update(Evas_Object *obj) |
1185 | unsigned int elm_genlist_items_count(Evas_Object *obj) | 1185 | unsigned int elm_genlist_items_count(Evas_Object *obj) |
1186 | void elm_genlist_item_tooltip_text_set(Elm_Object_Item *item, const_char_ptr text) | 1186 | void elm_genlist_item_tooltip_text_set(Elm_Object_Item *item, const_char *text) |
1187 | void elm_genlist_item_tooltip_content_cb_set(Elm_Object_Item *item, Elm_Tooltip_Item_Content_Cb func, void *data, Evas_Smart_Cb del_cb) | 1187 | void elm_genlist_item_tooltip_content_cb_set(Elm_Object_Item *item, Elm_Tooltip_Item_Content_Cb func, void *data, Evas_Smart_Cb del_cb) |
1188 | void elm_genlist_item_tooltip_unset(Elm_Object_Item *item) | 1188 | void elm_genlist_item_tooltip_unset(Elm_Object_Item *item) |
1189 | void elm_genlist_item_tooltip_style_set(Elm_Object_Item *item, const_char_ptr style) | 1189 | void elm_genlist_item_tooltip_style_set(Elm_Object_Item *item, const_char *style) |
1190 | const_char_ptr elm_genlist_item_tooltip_style_get(Elm_Object_Item *item) | 1190 | const_char * elm_genlist_item_tooltip_style_get(Elm_Object_Item *item) |
1191 | Eina_Bool elm_genlist_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable) | 1191 | Eina_Bool elm_genlist_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable) |
1192 | Eina_Bool elm_genlist_item_tooltip_window_mode_get(Elm_Object_Item *it) | 1192 | Eina_Bool elm_genlist_item_tooltip_window_mode_get(Elm_Object_Item *it) |
1193 | void elm_genlist_item_cursor_set(Elm_Object_Item *item, const_char_ptr cursor) | 1193 | void elm_genlist_item_cursor_set(Elm_Object_Item *item, const_char *cursor) |
1194 | const_char_ptr elm_genlist_item_cursor_get(Elm_Object_Item *it) | 1194 | const_char * elm_genlist_item_cursor_get(Elm_Object_Item *it) |
1195 | void elm_genlist_item_cursor_unset(Elm_Object_Item *item) | 1195 | void elm_genlist_item_cursor_unset(Elm_Object_Item *item) |
1196 | void elm_genlist_item_cursor_style_set(Elm_Object_Item *item, const_char_ptr style) | 1196 | void elm_genlist_item_cursor_style_set(Elm_Object_Item *item, const_char *style) |
1197 | const_char_ptr elm_genlist_item_cursor_style_get(Elm_Object_Item *item) | 1197 | const_char * elm_genlist_item_cursor_style_get(Elm_Object_Item *item) |
1198 | void elm_genlist_item_cursor_engine_only_set(Elm_Object_Item *item, Eina_Bool engine_only) | 1198 | void elm_genlist_item_cursor_engine_only_set(Elm_Object_Item *item, Eina_Bool engine_only) |
1199 | Eina_Bool elm_genlist_item_cursor_engine_only_get(Elm_Object_Item *item) | 1199 | Eina_Bool elm_genlist_item_cursor_engine_only_get(Elm_Object_Item *item) |
1200 | void elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) | 1200 | void elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) |
@@ -1212,9 +1212,9 @@ cdef extern from "Elementary.h": | |||
1212 | void elm_genlist_item_all_contents_unset(Elm_Object_Item *it, Eina_List **l) | 1212 | void elm_genlist_item_all_contents_unset(Elm_Object_Item *it, Eina_List **l) |
1213 | void elm_genlist_item_promote(Elm_Object_Item *it) | 1213 | void elm_genlist_item_promote(Elm_Object_Item *it) |
1214 | void elm_genlist_item_demote(Elm_Object_Item *it) | 1214 | void elm_genlist_item_demote(Elm_Object_Item *it) |
1215 | void elm_genlist_item_fields_update(Elm_Object_Item *item, const_char_ptr parts, Elm_Genlist_Item_Field_Type itf) | 1215 | void elm_genlist_item_fields_update(Elm_Object_Item *item, const_char *parts, Elm_Genlist_Item_Field_Type itf) |
1216 | void elm_genlist_item_decorate_mode_set(Elm_Object_Item *it, const_char_ptr decorate_it_type, Eina_Bool decorate_it_set) | 1216 | void elm_genlist_item_decorate_mode_set(Elm_Object_Item *it, const_char *decorate_it_type, Eina_Bool decorate_it_set) |
1217 | const_char_ptr elm_genlist_item_decorate_mode_get(Elm_Object_Item *it) | 1217 | const_char * elm_genlist_item_decorate_mode_get(Elm_Object_Item *it) |
1218 | Elm_Object_Item *elm_genlist_decorated_item_get(Evas_Object *obj) | 1218 | Elm_Object_Item *elm_genlist_decorated_item_get(Evas_Object *obj) |
1219 | void elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) | 1219 | void elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) |
1220 | Eina_Bool elm_genlist_reorder_mode_get(Evas_Object *obj) | 1220 | Eina_Bool elm_genlist_reorder_mode_get(Evas_Object *obj) |
@@ -1265,23 +1265,23 @@ cdef extern from "Elementary.h": | |||
1265 | Eina_Bool elm_hoversel_expanded_get(Evas_Object *obj) | 1265 | Eina_Bool elm_hoversel_expanded_get(Evas_Object *obj) |
1266 | void elm_hoversel_clear(Evas_Object *obj) | 1266 | void elm_hoversel_clear(Evas_Object *obj) |
1267 | Eina_List *elm_hoversel_items_get(Evas_Object *obj) | 1267 | Eina_List *elm_hoversel_items_get(Evas_Object *obj) |
1268 | Elm_Object_Item *elm_hoversel_item_add(Evas_Object *obj, const_char_ptr label, const_char_ptr icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, void *data) | 1268 | Elm_Object_Item *elm_hoversel_item_add(Evas_Object *obj, const_char *label, const_char_ptr icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, void *data) |
1269 | void elm_hoversel_item_icon_set(Elm_Object_Item *it, const_char_ptr icon_file, const_char_ptr icon_group, Elm_Icon_Type icon_type) | 1269 | void elm_hoversel_item_icon_set(Elm_Object_Item *it, const_char *icon_file, const_char_ptr icon_group, Elm_Icon_Type icon_type) |
1270 | void elm_hoversel_item_icon_get(Elm_Object_Item *it, const_char_ptr *icon_file, const_char_ptr *icon_group, Elm_Icon_Type *icon_type) | 1270 | void elm_hoversel_item_icon_get(Elm_Object_Item *it, const_char **icon_file, const_char_ptr *icon_group, Elm_Icon_Type *icon_type) |
1271 | 1271 | ||
1272 | # Icon (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) | 1272 | # Icon (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) |
1273 | Evas_Object *elm_icon_add(Evas_Object *parent) | 1273 | Evas_Object *elm_icon_add(Evas_Object *parent) |
1274 | void elm_icon_thumb_set(Evas_Object *obj, const_char_ptr file, const_char_ptr group) | 1274 | void elm_icon_thumb_set(Evas_Object *obj, const_char *file, const_char_ptr group) |
1275 | Eina_Bool elm_icon_standard_set(Evas_Object *obj, const_char_ptr name) | 1275 | Eina_Bool elm_icon_standard_set(Evas_Object *obj, const_char *name) |
1276 | const_char_ptr elm_icon_standard_get(Evas_Object *obj) | 1276 | const_char * elm_icon_standard_get(Evas_Object *obj) |
1277 | void elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) | 1277 | void elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) |
1278 | Elm_Icon_Lookup_Order elm_icon_order_lookup_get(Evas_Object *obj) | 1278 | Elm_Icon_Lookup_Order elm_icon_order_lookup_get(Evas_Object *obj) |
1279 | 1279 | ||
1280 | # Image (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) | 1280 | # Image (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) |
1281 | Evas_Object *elm_image_add(Evas_Object *parent) | 1281 | Evas_Object *elm_image_add(Evas_Object *parent) |
1282 | Eina_Bool elm_image_memfile_set(Evas_Object *obj, const_void *img, size_t size, const_char_ptr format, const_char_ptr key) | 1282 | Eina_Bool elm_image_memfile_set(Evas_Object *obj, const_void *img, size_t size, const_char *format, const_char_ptr key) |
1283 | Eina_Bool elm_image_file_set(Evas_Object *obj, const_char_ptr file, const_char_ptr group) | 1283 | Eina_Bool elm_image_file_set(Evas_Object *obj, const_char *file, const_char_ptr group) |
1284 | void elm_image_file_get(Evas_Object *obj, const_char_ptr *file, const_char_ptr *group) | 1284 | void elm_image_file_get(Evas_Object *obj, const_char **file, const_char_ptr *group) |
1285 | void elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth) | 1285 | void elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth) |
1286 | Eina_Bool elm_image_smooth_get(Evas_Object *obj) | 1286 | Eina_Bool elm_image_smooth_get(Evas_Object *obj) |
1287 | void elm_image_object_size_get(Evas_Object *obj, int *w, int *h) | 1287 | void elm_image_object_size_get(Evas_Object *obj, int *w, int *h) |
@@ -1315,11 +1315,11 @@ cdef extern from "Elementary.h": | |||
1315 | int elm_index_item_level_get(Evas_Object *obj) | 1315 | int elm_index_item_level_get(Evas_Object *obj) |
1316 | void elm_index_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) | 1316 | void elm_index_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) |
1317 | Elm_Object_Item *elm_index_selected_item_get(Evas_Object *obj, int level) | 1317 | Elm_Object_Item *elm_index_selected_item_get(Evas_Object *obj, int level) |
1318 | Elm_Object_Item *elm_index_item_append(Evas_Object *obj, const_char_ptr letter, Evas_Smart_Cb func, const_void *data) | 1318 | Elm_Object_Item *elm_index_item_append(Evas_Object *obj, const_char *letter, Evas_Smart_Cb func, const_void *data) |
1319 | Elm_Object_Item *elm_index_item_prepend(Evas_Object *obj, const_char_ptr letter, Evas_Smart_Cb func, const_void *data) | 1319 | Elm_Object_Item *elm_index_item_prepend(Evas_Object *obj, const_char *letter, Evas_Smart_Cb func, const_void *data) |
1320 | Elm_Object_Item *elm_index_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char_ptr letter, Evas_Smart_Cb func, const_void *data) | 1320 | Elm_Object_Item *elm_index_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char *letter, Evas_Smart_Cb func, const_void *data) |
1321 | Elm_Object_Item *elm_index_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char_ptr letter, Evas_Smart_Cb func, const_void *data) | 1321 | Elm_Object_Item *elm_index_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char *letter, Evas_Smart_Cb func, const_void *data) |
1322 | Elm_Object_Item *elm_index_item_sorted_insert(Evas_Object *obj, const_char_ptr letter, Evas_Smart_Cb func, const_void *data, Eina_Compare_Cb cmp_func, Eina_Compare_Cb cmp_data_func) | 1322 | Elm_Object_Item *elm_index_item_sorted_insert(Evas_Object *obj, const_char *letter, Evas_Smart_Cb func, const_void *data, Eina_Compare_Cb cmp_func, Eina_Compare_Cb cmp_data_func) |
1323 | Elm_Object_Item *elm_index_item_find(Evas_Object *obj, void *data) | 1323 | Elm_Object_Item *elm_index_item_find(Evas_Object *obj, void *data) |
1324 | void elm_index_item_clear(Evas_Object *obj) | 1324 | void elm_index_item_clear(Evas_Object *obj) |
1325 | void elm_index_level_go(Evas_Object *obj, int level) | 1325 | void elm_index_level_go(Evas_Object *obj, int level) |
@@ -1349,35 +1349,35 @@ cdef extern from "Elementary.h": | |||
1349 | 1349 | ||
1350 | # Layout (api:TODO cb:DONE test:DONE doc:DONE py3:DONE) | 1350 | # Layout (api:TODO cb:DONE test:DONE doc:DONE py3:DONE) |
1351 | Evas_Object *elm_layout_add(Evas_Object *parent) | 1351 | Evas_Object *elm_layout_add(Evas_Object *parent) |
1352 | Eina_Bool elm_layout_file_set(Evas_Object *obj, const_char_ptr file, const_char_ptr group) | 1352 | Eina_Bool elm_layout_file_set(Evas_Object *obj, const_char *file, const_char_ptr group) |
1353 | Eina_Bool elm_layout_theme_set(Evas_Object *obj, const_char_ptr clas, const_char_ptr group, const_char_ptr style) | 1353 | Eina_Bool elm_layout_theme_set(Evas_Object *obj, const_char *clas, const_char_ptr group, const_char_ptr style) |
1354 | void elm_layout_signal_emit(Evas_Object *obj, const_char_ptr emission, const_char_ptr source) | 1354 | void elm_layout_signal_emit(Evas_Object *obj, const_char *emission, const_char_ptr source) |
1355 | void elm_layout_signal_callback_add(Evas_Object *obj, const_char_ptr emission, const_char_ptr source, Edje_Signal_Cb func, void *data) | 1355 | void elm_layout_signal_callback_add(Evas_Object *obj, const_char *emission, const_char_ptr source, Edje_Signal_Cb func, void *data) |
1356 | void *elm_layout_signal_callback_del(Evas_Object *obj, const_char_ptr emission, const_char_ptr source, Edje_Signal_Cb func) | 1356 | void *elm_layout_signal_callback_del(Evas_Object *obj, const_char *emission, const_char_ptr source, Edje_Signal_Cb func) |
1357 | Eina_Bool elm_layout_box_append(Evas_Object *obj, const_char_ptr part, Evas_Object *child) | 1357 | Eina_Bool elm_layout_box_append(Evas_Object *obj, const_char *part, Evas_Object *child) |
1358 | Eina_Bool elm_layout_box_prepend(Evas_Object *obj, const_char_ptr part, Evas_Object *child) | 1358 | Eina_Bool elm_layout_box_prepend(Evas_Object *obj, const_char *part, Evas_Object *child) |
1359 | Eina_Bool elm_layout_box_insert_before(Evas_Object *obj, const_char_ptr part, Evas_Object *child, Evas_Object *reference) | 1359 | Eina_Bool elm_layout_box_insert_before(Evas_Object *obj, const_char *part, Evas_Object *child, Evas_Object *reference) |
1360 | Eina_Bool elm_layout_box_insert_at(Evas_Object *obj, const_char_ptr part, Evas_Object *child, unsigned int pos) | 1360 | Eina_Bool elm_layout_box_insert_at(Evas_Object *obj, const_char *part, Evas_Object *child, unsigned int pos) |
1361 | Evas_Object *elm_layout_box_remove(Evas_Object *obj, const_char_ptr part, Evas_Object *child) | 1361 | Evas_Object *elm_layout_box_remove(Evas_Object *obj, const_char *part, Evas_Object *child) |
1362 | Eina_Bool elm_layout_box_remove_all(Evas_Object *obj, const_char_ptr part, Eina_Bool clear) | 1362 | Eina_Bool elm_layout_box_remove_all(Evas_Object *obj, const_char *part, Eina_Bool clear) |
1363 | Eina_Bool elm_layout_table_pack(Evas_Object *obj, const_char_ptr part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan) | 1363 | Eina_Bool elm_layout_table_pack(Evas_Object *obj, const_char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan) |
1364 | Evas_Object *elm_layout_table_unpack(Evas_Object *obj, const_char_ptr part, Evas_Object *child_obj) | 1364 | Evas_Object *elm_layout_table_unpack(Evas_Object *obj, const_char *part, Evas_Object *child_obj) |
1365 | Eina_Bool elm_layout_table_clear(Evas_Object *obj, const_char_ptr part, Eina_Bool clear) | 1365 | Eina_Bool elm_layout_table_clear(Evas_Object *obj, const_char *part, Eina_Bool clear) |
1366 | Evas_Object *elm_layout_edje_get(Evas_Object *obj) | 1366 | Evas_Object *elm_layout_edje_get(Evas_Object *obj) |
1367 | const_char_ptr elm_layout_data_get(Evas_Object *obj, const_char_ptr key) | 1367 | const_char * elm_layout_data_get(Evas_Object *obj, const_char_ptr key) |
1368 | void elm_layout_sizing_eval(Evas_Object *obj) | 1368 | void elm_layout_sizing_eval(Evas_Object *obj) |
1369 | Eina_Bool elm_layout_part_cursor_set(Evas_Object *obj, const_char_ptr part_name, const_char_ptr cursor) | 1369 | Eina_Bool elm_layout_part_cursor_set(Evas_Object *obj, const_char *part_name, const_char_ptr cursor) |
1370 | const_char_ptr elm_layout_part_cursor_get(Evas_Object *obj, const_char_ptr part_name) | 1370 | const_char * elm_layout_part_cursor_get(Evas_Object *obj, const_char_ptr part_name) |
1371 | Eina_Bool elm_layout_part_cursor_unset(Evas_Object *obj, const_char_ptr part_name) | 1371 | Eina_Bool elm_layout_part_cursor_unset(Evas_Object *obj, const_char *part_name) |
1372 | Eina_Bool elm_layout_part_cursor_style_set(Evas_Object *obj, const_char_ptr part_name, const_char_ptr style) | 1372 | Eina_Bool elm_layout_part_cursor_style_set(Evas_Object *obj, const_char *part_name, const_char_ptr style) |
1373 | const_char_ptr elm_layout_part_cursor_style_get(Evas_Object *obj, const_char_ptr part_name) | 1373 | const_char * elm_layout_part_cursor_style_get(Evas_Object *obj, const_char_ptr part_name) |
1374 | Eina_Bool elm_layout_part_cursor_engine_only_set(Evas_Object *obj, const_char_ptr part_name, Eina_Bool engine_only) | 1374 | Eina_Bool elm_layout_part_cursor_engine_only_set(Evas_Object *obj, const_char *part_name, Eina_Bool engine_only) |
1375 | Eina_Bool elm_layout_part_cursor_engine_only_get(Evas_Object *obj, const_char_ptr part_name) | 1375 | Eina_Bool elm_layout_part_cursor_engine_only_get(Evas_Object *obj, const_char *part_name) |
1376 | Eina_Bool elm_layout_content_set(Evas_Object *obj, const_char_ptr swallow, Evas_Object *content) | 1376 | Eina_Bool elm_layout_content_set(Evas_Object *obj, const_char *swallow, Evas_Object *content) |
1377 | Evas_Object *elm_layout_content_get(Evas_Object *obj, const_char_ptr swallow) | 1377 | Evas_Object *elm_layout_content_get(Evas_Object *obj, const_char *swallow) |
1378 | Evas_Object *elm_layout_content_unset(Evas_Object *obj, const_char_ptr swallow) | 1378 | Evas_Object *elm_layout_content_unset(Evas_Object *obj, const_char *swallow) |
1379 | Eina_Bool elm_layout_text_set(Evas_Object *obj, const_char_ptr part, const_char_ptr text) | 1379 | Eina_Bool elm_layout_text_set(Evas_Object *obj, const_char *part, const_char_ptr text) |
1380 | const_char_ptr elm_layout_text_get(Evas_Object *obj, const_char_ptr part) | 1380 | const_char * elm_layout_text_get(Evas_Object *obj, const_char_ptr part) |
1381 | void elm_layout_icon_set(Evas_Object *obj, Evas_Object *icon) | 1381 | void elm_layout_icon_set(Evas_Object *obj, Evas_Object *icon) |
1382 | Evas_Object *elm_layout_icon_get(Evas_Object *obj) | 1382 | Evas_Object *elm_layout_icon_get(Evas_Object *obj) |
1383 | void elm_layout_end_set(Evas_Object *obj, Evas_Object *end) | 1383 | void elm_layout_end_set(Evas_Object *obj, Evas_Object *end) |
@@ -1398,11 +1398,11 @@ cdef extern from "Elementary.h": | |||
1398 | void elm_list_bounce_get(Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) | 1398 | void elm_list_bounce_get(Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) |
1399 | void elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) | 1399 | void elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) |
1400 | void elm_list_scroller_policy_get(Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) | 1400 | void elm_list_scroller_policy_get(Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) |
1401 | Elm_Object_Item *elm_list_item_append(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data) | 1401 | Elm_Object_Item *elm_list_item_append(Evas_Object *obj, const_char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data) |
1402 | Elm_Object_Item *elm_list_item_prepend(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data) | 1402 | Elm_Object_Item *elm_list_item_prepend(Evas_Object *obj, const_char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data) |
1403 | Elm_Object_Item *elm_list_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char_ptr label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data) | 1403 | Elm_Object_Item *elm_list_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data) |
1404 | Elm_Object_Item *elm_list_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char_ptr label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data) | 1404 | Elm_Object_Item *elm_list_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data) |
1405 | Elm_Object_Item *elm_list_item_sorted_insert(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data, Eina_Compare_Cb cmp_func) | 1405 | Elm_Object_Item *elm_list_item_sorted_insert(Evas_Object *obj, const_char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data, Eina_Compare_Cb cmp_func) |
1406 | void elm_list_clear(Evas_Object *obj) | 1406 | void elm_list_clear(Evas_Object *obj) |
1407 | Eina_List *elm_list_items_get(Evas_Object *obj) | 1407 | Eina_List *elm_list_items_get(Evas_Object *obj) |
1408 | Elm_Object_Item *elm_list_selected_item_get(Evas_Object *obj) | 1408 | Elm_Object_Item *elm_list_selected_item_get(Evas_Object *obj) |
@@ -1492,17 +1492,17 @@ cdef extern from "Elementary.h": | |||
1492 | Elm_Map_Overlay *elm_map_overlay_scale_add(Evas_Object *obj, Evas_Coord x, Evas_Coord y) | 1492 | Elm_Map_Overlay *elm_map_overlay_scale_add(Evas_Object *obj, Evas_Coord x, Evas_Coord y) |
1493 | Elm_Map_Overlay *elm_map_overlay_route_add(Evas_Object *obj, Elm_Map_Route *route) | 1493 | Elm_Map_Overlay *elm_map_overlay_route_add(Evas_Object *obj, Elm_Map_Route *route) |
1494 | void elm_map_tile_load_status_get(const_Evas_Object *obj, int *try_num, int *finish_num) | 1494 | void elm_map_tile_load_status_get(const_Evas_Object *obj, int *try_num, int *finish_num) |
1495 | const_char_ptr *elm_map_sources_get(const_Evas_Object *obj, Elm_Map_Source_Type type) | 1495 | const_char * *elm_map_sources_get(const_Evas_Object *obj, Elm_Map_Source_Type type) |
1496 | void elm_map_source_set(Evas_Object *obj, Elm_Map_Source_Type type, const_char_ptr source_name) | 1496 | void elm_map_source_set(Evas_Object *obj, Elm_Map_Source_Type type, const_char *source_name) |
1497 | const_char_ptr elm_map_source_get(const_Evas_Object *obj, Elm_Map_Source_Type type) | 1497 | const_char * elm_map_source_get(const_Evas_Object *obj, Elm_Map_Source_Type type) |
1498 | Elm_Map_Route *elm_map_route_add(Evas_Object *obj, Elm_Map_Route_Type type, Elm_Map_Route_Method method, double flon, double flat, double tlon, double tlat, Elm_Map_Route_Cb route_cb, void *data) | 1498 | Elm_Map_Route *elm_map_route_add(Evas_Object *obj, Elm_Map_Route_Type type, Elm_Map_Route_Method method, double flon, double flat, double tlon, double tlat, Elm_Map_Route_Cb route_cb, void *data) |
1499 | void elm_map_route_del(Elm_Map_Route *route) | 1499 | void elm_map_route_del(Elm_Map_Route *route) |
1500 | double elm_map_route_distance_get(Elm_Map_Route *route) | 1500 | double elm_map_route_distance_get(Elm_Map_Route *route) |
1501 | const_char_ptr elm_map_route_node_get(Elm_Map_Route *route) | 1501 | const_char * elm_map_route_node_get(Elm_Map_Route *route) |
1502 | const_char_ptr elm_map_route_waypoint_get(Elm_Map_Route *route) | 1502 | const_char * elm_map_route_waypoint_get(Elm_Map_Route *route) |
1503 | Elm_Map_Name *elm_map_name_add(const_Evas_Object *obj, const_char_ptr address, double lon, double lat, Elm_Map_Name_Cb name_cb, void *data) | 1503 | Elm_Map_Name *elm_map_name_add(const_Evas_Object *obj, const_char *address, double lon, double lat, Elm_Map_Name_Cb name_cb, void *data) |
1504 | void elm_map_name_del(Elm_Map_Name *name) | 1504 | void elm_map_name_del(Elm_Map_Name *name) |
1505 | const_char_ptr elm_map_name_address_get(Elm_Map_Name *name) | 1505 | const_char * elm_map_name_address_get(Elm_Map_Name *name) |
1506 | void elm_map_name_region_get(Elm_Map_Name *name, double *lon, double *lat) | 1506 | void elm_map_name_region_get(Elm_Map_Name *name, double *lon, double *lat) |
1507 | 1507 | ||
1508 | # Mapbuf (api:DONE cb:N/A test:DONE doc:DONE py3:N/A) | 1508 | # Mapbuf (api:DONE cb:N/A test:DONE doc:DONE py3:N/A) |
@@ -1522,9 +1522,9 @@ cdef extern from "Elementary.h": | |||
1522 | void elm_menu_close(Evas_Object *obj) | 1522 | void elm_menu_close(Evas_Object *obj) |
1523 | Eina_List *elm_menu_items_get(Evas_Object *obj) | 1523 | Eina_List *elm_menu_items_get(Evas_Object *obj) |
1524 | Evas_Object *elm_menu_item_object_get(Elm_Object_Item *it) | 1524 | Evas_Object *elm_menu_item_object_get(Elm_Object_Item *it) |
1525 | Elm_Object_Item *elm_menu_item_add(Evas_Object *obj, Elm_Object_Item *parent, const_char_ptr icon, const_char_ptr label, Evas_Smart_Cb func, void *data) | 1525 | Elm_Object_Item *elm_menu_item_add(Evas_Object *obj, Elm_Object_Item *parent, const_char *icon, const_char_ptr label, Evas_Smart_Cb func, void *data) |
1526 | void elm_menu_item_icon_name_set(Elm_Object_Item *it, const_char_ptr icon) | 1526 | void elm_menu_item_icon_name_set(Elm_Object_Item *it, const_char *icon) |
1527 | const_char_ptr elm_menu_item_icon_name_get(Elm_Object_Item *it) | 1527 | const_char * elm_menu_item_icon_name_get(Elm_Object_Item *it) |
1528 | void elm_menu_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) | 1528 | void elm_menu_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) |
1529 | Eina_Bool elm_menu_item_selected_get(Elm_Object_Item *it) | 1529 | Eina_Bool elm_menu_item_selected_get(Elm_Object_Item *it) |
1530 | Elm_Object_Item *elm_menu_item_separator_add(Evas_Object *obj, Elm_Object_Item *parent) | 1530 | Elm_Object_Item *elm_menu_item_separator_add(Evas_Object *obj, Elm_Object_Item *parent) |
@@ -1538,16 +1538,16 @@ cdef extern from "Elementary.h": | |||
1538 | Elm_Object_Item *elm_menu_item_prev_get(Elm_Object_Item *it) | 1538 | Elm_Object_Item *elm_menu_item_prev_get(Elm_Object_Item *it) |
1539 | 1539 | ||
1540 | # Multibuttonentry (api:DONE cb:DONE test:DONE doc:TODO py3:TODO) | 1540 | # Multibuttonentry (api:DONE cb:DONE test:DONE doc:TODO py3:TODO) |
1541 | ctypedef Eina_Bool (*Elm_Multibuttonentry_Item_Filter_Cb)(Evas_Object *obj, const_char_ptr item_label, void *item_data, void *data) | 1541 | ctypedef Eina_Bool (*Elm_Multibuttonentry_Item_Filter_Cb)(Evas_Object *obj, const_char *item_label, void *item_data, void *data) |
1542 | 1542 | ||
1543 | Evas_Object *elm_multibuttonentry_add(Evas_Object *parent) | 1543 | Evas_Object *elm_multibuttonentry_add(Evas_Object *parent) |
1544 | Evas_Object *elm_multibuttonentry_entry_get(const_Evas_Object *obj) | 1544 | Evas_Object *elm_multibuttonentry_entry_get(const_Evas_Object *obj) |
1545 | Eina_Bool elm_multibuttonentry_expanded_get(const_Evas_Object *obj) | 1545 | Eina_Bool elm_multibuttonentry_expanded_get(const_Evas_Object *obj) |
1546 | void elm_multibuttonentry_expanded_set(Evas_Object *obj, Eina_Bool expanded) | 1546 | void elm_multibuttonentry_expanded_set(Evas_Object *obj, Eina_Bool expanded) |
1547 | Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, const_char_ptr label, Evas_Smart_Cb func, void *data) | 1547 | Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, const_char *label, Evas_Smart_Cb func, void *data) |
1548 | Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, const_char_ptr label, Evas_Smart_Cb func, void *data) | 1548 | Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, const_char *label, Evas_Smart_Cb func, void *data) |
1549 | Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char_ptr label, Evas_Smart_Cb func, void *data) | 1549 | Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char *label, Evas_Smart_Cb func, void *data) |
1550 | Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char_ptr label, Evas_Smart_Cb func, void *data) | 1550 | Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char *label, Evas_Smart_Cb func, void *data) |
1551 | const_Eina_List *elm_multibuttonentry_items_get(const_Evas_Object *obj) | 1551 | const_Eina_List *elm_multibuttonentry_items_get(const_Evas_Object *obj) |
1552 | Elm_Object_Item *elm_multibuttonentry_first_item_get(const_Evas_Object *obj) | 1552 | Elm_Object_Item *elm_multibuttonentry_first_item_get(const_Evas_Object *obj) |
1553 | Elm_Object_Item *elm_multibuttonentry_last_item_get(const_Evas_Object *obj) | 1553 | Elm_Object_Item *elm_multibuttonentry_last_item_get(const_Evas_Object *obj) |
@@ -1563,9 +1563,9 @@ cdef extern from "Elementary.h": | |||
1563 | 1563 | ||
1564 | # Naviframe (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) | 1564 | # Naviframe (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) |
1565 | Evas_Object *elm_naviframe_add(Evas_Object *parent) | 1565 | Evas_Object *elm_naviframe_add(Evas_Object *parent) |
1566 | Elm_Object_Item *elm_naviframe_item_push(Evas_Object *obj, const_char_ptr title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const_char_ptr item_style) | 1566 | Elm_Object_Item *elm_naviframe_item_push(Evas_Object *obj, const_char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const_char_ptr item_style) |
1567 | Elm_Object_Item *elm_naviframe_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char_ptr title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const_char_ptr item_style) | 1567 | Elm_Object_Item *elm_naviframe_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const_char_ptr item_style) |
1568 | Elm_Object_Item *elm_naviframe_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char_ptr title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const_char_ptr item_style) | 1568 | Elm_Object_Item *elm_naviframe_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const_char_ptr item_style) |
1569 | Evas_Object *elm_naviframe_item_pop(Evas_Object *obj) | 1569 | Evas_Object *elm_naviframe_item_pop(Evas_Object *obj) |
1570 | void elm_naviframe_item_pop_to(Elm_Object_Item *it) | 1570 | void elm_naviframe_item_pop_to(Elm_Object_Item *it) |
1571 | void elm_naviframe_item_promote(Elm_Object_Item *it) | 1571 | void elm_naviframe_item_promote(Elm_Object_Item *it) |
@@ -1573,8 +1573,8 @@ cdef extern from "Elementary.h": | |||
1573 | Eina_Bool elm_naviframe_content_preserve_on_pop_get(Evas_Object *obj) | 1573 | Eina_Bool elm_naviframe_content_preserve_on_pop_get(Evas_Object *obj) |
1574 | Elm_Object_Item *elm_naviframe_top_item_get(Evas_Object *obj) | 1574 | Elm_Object_Item *elm_naviframe_top_item_get(Evas_Object *obj) |
1575 | Elm_Object_Item *elm_naviframe_bottom_item_get(Evas_Object *obj) | 1575 | Elm_Object_Item *elm_naviframe_bottom_item_get(Evas_Object *obj) |
1576 | void elm_naviframe_item_style_set(Elm_Object_Item *it, const_char_ptr item_style) | 1576 | void elm_naviframe_item_style_set(Elm_Object_Item *it, const_char *item_style) |
1577 | const_char_ptr elm_naviframe_item_style_get(Elm_Object_Item *it) | 1577 | const_char * elm_naviframe_item_style_get(Elm_Object_Item *it) |
1578 | void elm_naviframe_item_title_visible_set(Elm_Object_Item *it, Eina_Bool visible) | 1578 | void elm_naviframe_item_title_visible_set(Elm_Object_Item *it, Eina_Bool visible) |
1579 | Eina_Bool elm_naviframe_item_title_visible_get(Elm_Object_Item *it) | 1579 | Eina_Bool elm_naviframe_item_title_visible_get(Elm_Object_Item *it) |
1580 | void elm_naviframe_prev_btn_auto_pushed_set(Evas_Object *obj, Eina_Bool auto_pushed) | 1580 | void elm_naviframe_prev_btn_auto_pushed_set(Evas_Object *obj, Eina_Bool auto_pushed) |
@@ -1615,8 +1615,8 @@ cdef extern from "Elementary.h": | |||
1615 | 1615 | ||
1616 | # Photo (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) | 1616 | # Photo (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) |
1617 | Evas_Object *elm_photo_add(Evas_Object *parent) | 1617 | Evas_Object *elm_photo_add(Evas_Object *parent) |
1618 | Eina_Bool elm_photo_file_set(Evas_Object *obj, const_char_ptr file) | 1618 | Eina_Bool elm_photo_file_set(Evas_Object *obj, const_char *file) |
1619 | void elm_photo_thumb_set(Evas_Object *obj, const_char_ptr file, const_char_ptr group) | 1619 | void elm_photo_thumb_set(Evas_Object *obj, const_char *file, const_char_ptr group) |
1620 | void elm_photo_size_set(Evas_Object *obj, int size) | 1620 | void elm_photo_size_set(Evas_Object *obj, int size) |
1621 | void elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill) | 1621 | void elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill) |
1622 | void elm_photo_editable_set(Evas_Object *obj, Eina_Bool editable) | 1622 | void elm_photo_editable_set(Evas_Object *obj, Eina_Bool editable) |
@@ -1625,8 +1625,8 @@ cdef extern from "Elementary.h": | |||
1625 | 1625 | ||
1626 | # Photocam (api:DONE cb:DONE test:TODO doc:DONE py3:DONE) | 1626 | # Photocam (api:DONE cb:DONE test:TODO doc:DONE py3:DONE) |
1627 | Evas_Object *elm_photocam_add(Evas_Object *parent) | 1627 | Evas_Object *elm_photocam_add(Evas_Object *parent) |
1628 | Evas_Load_Error elm_photocam_file_set(Evas_Object *obj, const_char_ptr file) | 1628 | Evas_Load_Error elm_photocam_file_set(Evas_Object *obj, const_char *file) |
1629 | const_char_ptr elm_photocam_file_get(Evas_Object *obj) | 1629 | const_char * elm_photocam_file_get(Evas_Object *obj) |
1630 | void elm_photocam_zoom_set(Evas_Object *obj, double zoom) | 1630 | void elm_photocam_zoom_set(Evas_Object *obj, double zoom) |
1631 | double elm_photocam_zoom_get(Evas_Object *obj) | 1631 | double elm_photocam_zoom_get(Evas_Object *obj) |
1632 | void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode) | 1632 | void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode) |
@@ -1645,12 +1645,12 @@ cdef extern from "Elementary.h": | |||
1645 | 1645 | ||
1646 | # Plug (api:DONE cb:N/A test:TODO doc:DONE py3:DONE) | 1646 | # Plug (api:DONE cb:N/A test:TODO doc:DONE py3:DONE) |
1647 | Evas_Object *elm_plug_add(Evas_Object *parent) | 1647 | Evas_Object *elm_plug_add(Evas_Object *parent) |
1648 | Eina_Bool elm_plug_connect(Evas_Object *obj, const_char_ptr svcname, int svcnum, Eina_Bool svcsys) | 1648 | Eina_Bool elm_plug_connect(Evas_Object *obj, const_char *svcname, int svcnum, Eina_Bool svcsys) |
1649 | Evas_Object *elm_plug_image_object_get(Evas_Object *obj) | 1649 | Evas_Object *elm_plug_image_object_get(Evas_Object *obj) |
1650 | 1650 | ||
1651 | # Popup (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) | 1651 | # Popup (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) |
1652 | Evas_Object *elm_popup_add(Evas_Object *parent) | 1652 | Evas_Object *elm_popup_add(Evas_Object *parent) |
1653 | Elm_Object_Item *elm_popup_item_append(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Smart_Cb func, void *data) | 1653 | Elm_Object_Item *elm_popup_item_append(Evas_Object *obj, const_char *label, Evas_Object *icon, Evas_Smart_Cb func, void *data) |
1654 | void elm_popup_content_text_wrap_type_set(Evas_Object *obj, Elm_Wrap_Type wrap) | 1654 | void elm_popup_content_text_wrap_type_set(Evas_Object *obj, Elm_Wrap_Type wrap) |
1655 | Elm_Wrap_Type elm_popup_content_text_wrap_type_get(Evas_Object *obj) | 1655 | Elm_Wrap_Type elm_popup_content_text_wrap_type_get(Evas_Object *obj) |
1656 | void elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient) | 1656 | void elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient) |
@@ -1669,8 +1669,8 @@ cdef extern from "Elementary.h": | |||
1669 | double elm_progressbar_value_get(Evas_Object *obj) | 1669 | double elm_progressbar_value_get(Evas_Object *obj) |
1670 | void elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size) | 1670 | void elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size) |
1671 | Evas_Coord elm_progressbar_span_size_get(Evas_Object *obj) | 1671 | Evas_Coord elm_progressbar_span_size_get(Evas_Object *obj) |
1672 | void elm_progressbar_unit_format_set(Evas_Object *obj, const_char_ptr format) | 1672 | void elm_progressbar_unit_format_set(Evas_Object *obj, const_char *format) |
1673 | const_char_ptr elm_progressbar_unit_format_get(Evas_Object *obj) | 1673 | const_char * elm_progressbar_unit_format_get(Evas_Object *obj) |
1674 | void elm_progressbar_unit_format_function_set(Evas_Object *obj, char *(*format_func)(double value), void (*free_func)(char * string)) | 1674 | void elm_progressbar_unit_format_function_set(Evas_Object *obj, char *(*format_func)(double value), void (*free_func)(char * string)) |
1675 | void elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) | 1675 | void elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) |
1676 | Eina_Bool elm_progressbar_horizontal_get(Evas_Object *obj) | 1676 | Eina_Bool elm_progressbar_horizontal_get(Evas_Object *obj) |
@@ -1712,12 +1712,12 @@ cdef extern from "Elementary.h": | |||
1712 | 1712 | ||
1713 | # SegmentControl (api:DONE cb:DONE test:XXX doc:DONE py3:DONE) | 1713 | # SegmentControl (api:DONE cb:DONE test:XXX doc:DONE py3:DONE) |
1714 | Evas_Object *elm_segment_control_add(Evas_Object *parent) | 1714 | Evas_Object *elm_segment_control_add(Evas_Object *parent) |
1715 | Elm_Object_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const_char_ptr label) | 1715 | Elm_Object_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const_char *label) |
1716 | Elm_Object_Item *elm_segment_control_item_insert_at(Evas_Object *obj, Evas_Object *icon, const_char_ptr label, int index) | 1716 | Elm_Object_Item *elm_segment_control_item_insert_at(Evas_Object *obj, Evas_Object *icon, const_char *label, int index) |
1717 | void elm_segment_control_item_del_at(Evas_Object *obj, int index) | 1717 | void elm_segment_control_item_del_at(Evas_Object *obj, int index) |
1718 | int elm_segment_control_item_count_get(Evas_Object *obj) | 1718 | int elm_segment_control_item_count_get(Evas_Object *obj) |
1719 | Elm_Object_Item *elm_segment_control_item_get(Evas_Object *obj, int index) | 1719 | Elm_Object_Item *elm_segment_control_item_get(Evas_Object *obj, int index) |
1720 | const_char_ptr elm_segment_control_item_label_get(Evas_Object *obj, int index) | 1720 | const_char * elm_segment_control_item_label_get(Evas_Object *obj, int index) |
1721 | Evas_Object *elm_segment_control_item_icon_get(Evas_Object *obj, int index) | 1721 | Evas_Object *elm_segment_control_item_icon_get(Evas_Object *obj, int index) |
1722 | int elm_segment_control_item_index_get(Elm_Object_Item *it) | 1722 | int elm_segment_control_item_index_get(Elm_Object_Item *it) |
1723 | Evas_Object *elm_segment_control_item_object_get(Elm_Object_Item *it) | 1723 | Evas_Object *elm_segment_control_item_object_get(Elm_Object_Item *it) |
@@ -1733,12 +1733,12 @@ cdef extern from "Elementary.h": | |||
1733 | Evas_Object *elm_slider_add(Evas_Object *parent) | 1733 | Evas_Object *elm_slider_add(Evas_Object *parent) |
1734 | void elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size) | 1734 | void elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size) |
1735 | Evas_Coord elm_slider_span_size_get(Evas_Object *obj) | 1735 | Evas_Coord elm_slider_span_size_get(Evas_Object *obj) |
1736 | void elm_slider_unit_format_set(Evas_Object *obj, const_char_ptr format) | 1736 | void elm_slider_unit_format_set(Evas_Object *obj, const_char *format) |
1737 | const_char_ptr elm_slider_unit_format_get(Evas_Object *obj) | 1737 | const_char * elm_slider_unit_format_get(Evas_Object *obj) |
1738 | void elm_slider_indicator_format_set(Evas_Object *obj, const_char_ptr indicator) | 1738 | void elm_slider_indicator_format_set(Evas_Object *obj, const_char *indicator) |
1739 | const_char_ptr elm_slider_indicator_format_get(Evas_Object *obj) | 1739 | const_char * elm_slider_indicator_format_get(Evas_Object *obj) |
1740 | #void elm_slider_indicator_format_function_set(Evas_Object *obj, const_char_ptr (*func)(double val), void (*free_func)(const_char_ptr str)) | 1740 | #void elm_slider_indicator_format_function_set(Evas_Object *obj, const_char *(*func)(double val), void (*free_func)(const_char_ptr str)) |
1741 | #void elm_slider_units_format_function_set(Evas_Object *obj, const_char_ptr (*func)(double val), void (*free_func)(const_char_ptr str)) | 1741 | #void elm_slider_units_format_function_set(Evas_Object *obj, const_char *(*func)(double val), void (*free_func)(const_char_ptr str)) |
1742 | void elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) | 1742 | void elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) |
1743 | Eina_Bool elm_slider_horizontal_get(Evas_Object *obj) | 1743 | Eina_Bool elm_slider_horizontal_get(Evas_Object *obj) |
1744 | void elm_slider_min_max_set(Evas_Object *obj, double min, double max) | 1744 | void elm_slider_min_max_set(Evas_Object *obj, double min, double max) |
@@ -1758,8 +1758,8 @@ cdef extern from "Elementary.h": | |||
1758 | void elm_slideshow_next(Evas_Object *obj) | 1758 | void elm_slideshow_next(Evas_Object *obj) |
1759 | void elm_slideshow_previous(Evas_Object *obj) | 1759 | void elm_slideshow_previous(Evas_Object *obj) |
1760 | const_Eina_List *elm_slideshow_transitions_get(Evas_Object *obj) | 1760 | const_Eina_List *elm_slideshow_transitions_get(Evas_Object *obj) |
1761 | void elm_slideshow_transition_set(Evas_Object *obj, const_char_ptr transition) | 1761 | void elm_slideshow_transition_set(Evas_Object *obj, const_char *transition) |
1762 | const_char_ptr elm_slideshow_transition_get(Evas_Object *obj) | 1762 | const_char * elm_slideshow_transition_get(Evas_Object *obj) |
1763 | void elm_slideshow_timeout_set(Evas_Object *obj, double timeout) | 1763 | void elm_slideshow_timeout_set(Evas_Object *obj, double timeout) |
1764 | double elm_slideshow_timeout_get(Evas_Object *obj) | 1764 | double elm_slideshow_timeout_get(Evas_Object *obj) |
1765 | void elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop) | 1765 | void elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop) |
@@ -1769,8 +1769,8 @@ cdef extern from "Elementary.h": | |||
1769 | Elm_Object_Item *elm_slideshow_item_current_get(Evas_Object *obj) | 1769 | Elm_Object_Item *elm_slideshow_item_current_get(Evas_Object *obj) |
1770 | Evas_Object *elm_slideshow_item_object_get(Elm_Object_Item *it) | 1770 | Evas_Object *elm_slideshow_item_object_get(Elm_Object_Item *it) |
1771 | Elm_Object_Item *elm_slideshow_item_nth_get(Evas_Object *obj, unsigned int nth) | 1771 | Elm_Object_Item *elm_slideshow_item_nth_get(Evas_Object *obj, unsigned int nth) |
1772 | void elm_slideshow_layout_set(Evas_Object *obj, const_char_ptr layout) | 1772 | void elm_slideshow_layout_set(Evas_Object *obj, const_char *layout) |
1773 | const_char_ptr elm_slideshow_layout_get(Evas_Object *obj) | 1773 | const_char * elm_slideshow_layout_get(Evas_Object *obj) |
1774 | const_Eina_List *elm_slideshow_layouts_get(Evas_Object *obj) | 1774 | const_Eina_List *elm_slideshow_layouts_get(Evas_Object *obj) |
1775 | void elm_slideshow_cache_before_set(Evas_Object *obj, int count) | 1775 | void elm_slideshow_cache_before_set(Evas_Object *obj, int count) |
1776 | int elm_slideshow_cache_before_get(Evas_Object *obj) | 1776 | int elm_slideshow_cache_before_get(Evas_Object *obj) |
@@ -1780,8 +1780,8 @@ cdef extern from "Elementary.h": | |||
1780 | 1780 | ||
1781 | # Spinner (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) | 1781 | # Spinner (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) |
1782 | Evas_Object *elm_spinner_add(Evas_Object *parent) | 1782 | Evas_Object *elm_spinner_add(Evas_Object *parent) |
1783 | void elm_spinner_label_format_set(Evas_Object *obj, const_char_ptr format) | 1783 | void elm_spinner_label_format_set(Evas_Object *obj, const_char *format) |
1784 | const_char_ptr elm_spinner_label_format_get(Evas_Object *obj) | 1784 | const_char * elm_spinner_label_format_get(Evas_Object *obj) |
1785 | void elm_spinner_min_max_set(Evas_Object *obj, double min, double max) | 1785 | void elm_spinner_min_max_set(Evas_Object *obj, double min, double max) |
1786 | void elm_spinner_min_max_get(Evas_Object *obj, double *min, double *max) | 1786 | void elm_spinner_min_max_get(Evas_Object *obj, double *min, double *max) |
1787 | void elm_spinner_step_set(Evas_Object *obj, double step) | 1787 | void elm_spinner_step_set(Evas_Object *obj, double step) |
@@ -1792,7 +1792,7 @@ cdef extern from "Elementary.h": | |||
1792 | Eina_Bool elm_spinner_wrap_get(Evas_Object *obj) | 1792 | Eina_Bool elm_spinner_wrap_get(Evas_Object *obj) |
1793 | void elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable) | 1793 | void elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable) |
1794 | Eina_Bool elm_spinner_editable_get(Evas_Object *obj) | 1794 | Eina_Bool elm_spinner_editable_get(Evas_Object *obj) |
1795 | void elm_spinner_special_value_add(Evas_Object *obj, double value, const_char_ptr label) | 1795 | void elm_spinner_special_value_add(Evas_Object *obj, double value, const_char *label) |
1796 | void elm_spinner_interval_set(Evas_Object *obj, double interval) | 1796 | void elm_spinner_interval_set(Evas_Object *obj, double interval) |
1797 | double elm_spinner_interval_get(Evas_Object *obj) | 1797 | double elm_spinner_interval_get(Evas_Object *obj) |
1798 | void elm_spinner_base_set(Evas_Object *obj, double base) | 1798 | void elm_spinner_base_set(Evas_Object *obj, double base) |
@@ -1815,9 +1815,9 @@ cdef extern from "Elementary.h": | |||
1815 | # Thumb (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) | 1815 | # Thumb (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) |
1816 | Evas_Object *elm_thumb_add(Evas_Object *parent) | 1816 | Evas_Object *elm_thumb_add(Evas_Object *parent) |
1817 | void elm_thumb_reload(Evas_Object *obj) | 1817 | void elm_thumb_reload(Evas_Object *obj) |
1818 | void elm_thumb_file_set(Evas_Object *obj, const_char_ptr file, const_char_ptr key) | 1818 | void elm_thumb_file_set(Evas_Object *obj, const_char *file, const_char_ptr key) |
1819 | void elm_thumb_file_get(Evas_Object *obj, const_char_ptr *file, const_char_ptr *key) | 1819 | void elm_thumb_file_get(Evas_Object *obj, const_char **file, const_char_ptr *key) |
1820 | void elm_thumb_path_get(Evas_Object *obj, const_char_ptr *file, const_char_ptr *key) | 1820 | void elm_thumb_path_get(Evas_Object *obj, const_char **file, const_char_ptr *key) |
1821 | void elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s) | 1821 | void elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s) |
1822 | Elm_Thumb_Animation_Setting elm_thumb_animate_get(Evas_Object *obj) | 1822 | Elm_Thumb_Animation_Setting elm_thumb_animate_get(Evas_Object *obj) |
1823 | void *elm_thumb_ethumb_client_get() | 1823 | void *elm_thumb_ethumb_client_get() |
@@ -1831,27 +1831,27 @@ cdef extern from "Elementary.h": | |||
1831 | int elm_toolbar_icon_size_get(Evas_Object *obj) | 1831 | int elm_toolbar_icon_size_get(Evas_Object *obj) |
1832 | void elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) | 1832 | void elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) |
1833 | Elm_Icon_Lookup_Order elm_toolbar_icon_order_lookup_get(Evas_Object *obj) | 1833 | Elm_Icon_Lookup_Order elm_toolbar_icon_order_lookup_get(Evas_Object *obj) |
1834 | Elm_Object_Item *elm_toolbar_item_append(Evas_Object *obj, const_char_ptr icon, const_char_ptr label, Evas_Smart_Cb func, void *data) | 1834 | Elm_Object_Item *elm_toolbar_item_append(Evas_Object *obj, const_char *icon, const_char_ptr label, Evas_Smart_Cb func, void *data) |
1835 | Elm_Object_Item *elm_toolbar_item_prepend(Evas_Object *obj, const_char_ptr icon, const_char_ptr label, Evas_Smart_Cb func, void *data) | 1835 | Elm_Object_Item *elm_toolbar_item_prepend(Evas_Object *obj, const_char *icon, const_char_ptr label, Evas_Smart_Cb func, void *data) |
1836 | Elm_Object_Item *elm_toolbar_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char_ptr icon, const_char_ptr label, Evas_Smart_Cb func, void *data) | 1836 | Elm_Object_Item *elm_toolbar_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char *icon, const_char_ptr label, Evas_Smart_Cb func, void *data) |
1837 | Elm_Object_Item *elm_toolbar_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char_ptr icon, const_char_ptr label, Evas_Smart_Cb func, void *data) | 1837 | Elm_Object_Item *elm_toolbar_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char *icon, const_char_ptr label, Evas_Smart_Cb func, void *data) |
1838 | Elm_Object_Item *elm_toolbar_first_item_get(Evas_Object *obj) | 1838 | Elm_Object_Item *elm_toolbar_first_item_get(Evas_Object *obj) |
1839 | Elm_Object_Item *elm_toolbar_last_item_get(Evas_Object *obj) | 1839 | Elm_Object_Item *elm_toolbar_last_item_get(Evas_Object *obj) |
1840 | Elm_Object_Item *elm_toolbar_item_next_get(Elm_Object_Item *item) | 1840 | Elm_Object_Item *elm_toolbar_item_next_get(Elm_Object_Item *item) |
1841 | Elm_Object_Item *elm_toolbar_item_prev_get(Elm_Object_Item *item) | 1841 | Elm_Object_Item *elm_toolbar_item_prev_get(Elm_Object_Item *item) |
1842 | void elm_toolbar_item_priority_set(Elm_Object_Item *item, int priority) | 1842 | void elm_toolbar_item_priority_set(Elm_Object_Item *item, int priority) |
1843 | int elm_toolbar_item_priority_get(Elm_Object_Item *item) | 1843 | int elm_toolbar_item_priority_get(Elm_Object_Item *item) |
1844 | Elm_Object_Item *elm_toolbar_item_find_by_label(Evas_Object *obj, const_char_ptr label) | 1844 | Elm_Object_Item *elm_toolbar_item_find_by_label(Evas_Object *obj, const_char *label) |
1845 | Eina_Bool elm_toolbar_item_selected_get(Elm_Object_Item *item) | 1845 | Eina_Bool elm_toolbar_item_selected_get(Elm_Object_Item *item) |
1846 | void elm_toolbar_item_selected_set(Elm_Object_Item *item, Eina_Bool selected) | 1846 | void elm_toolbar_item_selected_set(Elm_Object_Item *item, Eina_Bool selected) |
1847 | Elm_Object_Item *elm_toolbar_selected_item_get(Evas_Object *obj) | 1847 | Elm_Object_Item *elm_toolbar_selected_item_get(Evas_Object *obj) |
1848 | Elm_Object_Item *elm_toolbar_more_item_get(Evas_Object *obj) | 1848 | Elm_Object_Item *elm_toolbar_more_item_get(Evas_Object *obj) |
1849 | void elm_toolbar_item_icon_set(Elm_Object_Item *item, const_char_ptr icon) | 1849 | void elm_toolbar_item_icon_set(Elm_Object_Item *item, const_char *icon) |
1850 | const_char_ptr elm_toolbar_item_icon_get(Elm_Object_Item *item) | 1850 | const_char *elm_toolbar_item_icon_get(Elm_Object_Item *item) |
1851 | Evas_Object *elm_toolbar_item_object_get(Elm_Object_Item *item) | 1851 | Evas_Object *elm_toolbar_item_object_get(Elm_Object_Item *item) |
1852 | Evas_Object *elm_toolbar_item_icon_object_get(Elm_Object_Item *item) | 1852 | Evas_Object *elm_toolbar_item_icon_object_get(Elm_Object_Item *item) |
1853 | Eina_Bool elm_toolbar_item_icon_memfile_set(Elm_Object_Item *item, const_char_ptr img, const_char_ptr size, const_char_ptr format, const_char_ptr key) | 1853 | Eina_Bool elm_toolbar_item_icon_memfile_set(Elm_Object_Item *item, const_char *img, const_char_ptr size, const_char_ptr format, const_char_ptr key) |
1854 | Eina_Bool elm_toolbar_item_icon_file_set(Elm_Object_Item *item, const_char_ptr file, const_char_ptr key) | 1854 | Eina_Bool elm_toolbar_item_icon_file_set(Elm_Object_Item *item, const_char *file, const_char_ptr key) |
1855 | void elm_toolbar_item_separator_set(Elm_Object_Item *item, Eina_Bool separator) | 1855 | void elm_toolbar_item_separator_set(Elm_Object_Item *item, Eina_Bool separator) |
1856 | Eina_Bool elm_toolbar_item_separator_get(Elm_Object_Item *item) | 1856 | Eina_Bool elm_toolbar_item_separator_get(Elm_Object_Item *item) |
1857 | void elm_toolbar_shrink_mode_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode) | 1857 | void elm_toolbar_shrink_mode_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode) |
@@ -1864,7 +1864,7 @@ cdef extern from "Elementary.h": | |||
1864 | double elm_toolbar_align_get(Evas_Object *obj) | 1864 | double elm_toolbar_align_get(Evas_Object *obj) |
1865 | void elm_toolbar_item_menu_set(Elm_Object_Item *item, Eina_Bool menu) | 1865 | void elm_toolbar_item_menu_set(Elm_Object_Item *item, Eina_Bool menu) |
1866 | Evas_Object *elm_toolbar_item_menu_get(Elm_Object_Item *item) | 1866 | Evas_Object *elm_toolbar_item_menu_get(Elm_Object_Item *item) |
1867 | Elm_Toolbar_Item_State *elm_toolbar_item_state_add(Elm_Object_Item *item, const_char_ptr icon, const_char_ptr label, Evas_Smart_Cb func, void *data) | 1867 | Elm_Toolbar_Item_State *elm_toolbar_item_state_add(Elm_Object_Item *item, const_char *icon, const_char_ptr label, Evas_Smart_Cb func, void *data) |
1868 | Eina_Bool elm_toolbar_item_state_del(Elm_Object_Item *item, Elm_Toolbar_Item_State *state) | 1868 | Eina_Bool elm_toolbar_item_state_del(Elm_Object_Item *item, Elm_Toolbar_Item_State *state) |
1869 | Eina_Bool elm_toolbar_item_state_set(Elm_Object_Item *item, Elm_Toolbar_Item_State *state) | 1869 | Eina_Bool elm_toolbar_item_state_set(Elm_Object_Item *item, Elm_Toolbar_Item_State *state) |
1870 | void elm_toolbar_item_state_unset(Elm_Object_Item *item) | 1870 | void elm_toolbar_item_state_unset(Elm_Object_Item *item) |
@@ -1882,7 +1882,7 @@ cdef extern from "Elementary.h": | |||
1882 | # Video (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) | 1882 | # Video (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) |
1883 | Evas_Object *elm_player_add(Evas_Object *parent) | 1883 | Evas_Object *elm_player_add(Evas_Object *parent) |
1884 | Evas_Object *elm_video_add(Evas_Object *parent) | 1884 | Evas_Object *elm_video_add(Evas_Object *parent) |
1885 | Eina_Bool elm_video_file_set(Evas_Object *video, const_char_ptr filename) | 1885 | Eina_Bool elm_video_file_set(Evas_Object *video, const_char *filename) |
1886 | Evas_Object *elm_video_emotion_get(Evas_Object *video) | 1886 | Evas_Object *elm_video_emotion_get(Evas_Object *video) |
1887 | void elm_video_play(Evas_Object *video) | 1887 | void elm_video_play(Evas_Object *video) |
1888 | void elm_video_pause(Evas_Object *video) | 1888 | void elm_video_pause(Evas_Object *video) |
@@ -1898,12 +1898,12 @@ cdef extern from "Elementary.h": | |||
1898 | double elm_video_play_length_get(Evas_Object *video) | 1898 | double elm_video_play_length_get(Evas_Object *video) |
1899 | void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember) | 1899 | void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember) |
1900 | Eina_Bool elm_video_remember_position_get(Evas_Object *video) | 1900 | Eina_Bool elm_video_remember_position_get(Evas_Object *video) |
1901 | const_char_ptr elm_video_title_get(Evas_Object *video) | 1901 | const_char * elm_video_title_get(Evas_Object *video) |
1902 | 1902 | ||
1903 | # Web (api:TODO cb:TODO test:DONE doc:TODO py3:TODO) | 1903 | # Web (api:TODO cb:TODO test:DONE doc:TODO py3:TODO) |
1904 | Evas_Object *elm_web_add(Evas_Object *parent) | 1904 | Evas_Object *elm_web_add(Evas_Object *parent) |
1905 | void elm_web_useragent_set(Evas_Object *obj, const_char_ptr user_agent) | 1905 | void elm_web_useragent_set(Evas_Object *obj, const_char *user_agent) |
1906 | const_char_ptr elm_web_useragent_get(Evas_Object *obj) | 1906 | const_char * elm_web_useragent_get(Evas_Object *obj) |
1907 | Evas_Object *elm_web_webkit_view_get(Evas_Object *obj) | 1907 | Evas_Object *elm_web_webkit_view_get(Evas_Object *obj) |
1908 | 1908 | ||
1909 | void elm_web_window_create_hook_set(Evas_Object *obj, Elm_Web_Window_Open func, void *data) | 1909 | void elm_web_window_create_hook_set(Evas_Object *obj, Elm_Web_Window_Open func, void *data) |
@@ -1916,8 +1916,8 @@ cdef extern from "Elementary.h": | |||
1916 | Eina_Bool elm_web_tab_propagate_get(Evas_Object *obj) | 1916 | Eina_Bool elm_web_tab_propagate_get(Evas_Object *obj) |
1917 | void elm_web_tab_propagate_set(Evas_Object *obj, Eina_Bool propagate) | 1917 | void elm_web_tab_propagate_set(Evas_Object *obj, Eina_Bool propagate) |
1918 | Eina_Bool elm_web_uri_set(Evas_Object *obj,char *uri) | 1918 | Eina_Bool elm_web_uri_set(Evas_Object *obj,char *uri) |
1919 | const_char_ptr elm_web_uri_get(Evas_Object *obj) | 1919 | const_char * elm_web_uri_get(Evas_Object *obj) |
1920 | const_char_ptr elm_web_title_get(Evas_Object *obj) | 1920 | const_char * elm_web_title_get(Evas_Object *obj) |
1921 | void elm_web_bg_color_set(Evas_Object *obj, int r, int g, int b, int a) | 1921 | void elm_web_bg_color_set(Evas_Object *obj, int r, int g, int b, int a) |
1922 | void elm_web_bg_color_get(Evas_Object *obj, int *r, int *g, int *b, int *a) | 1922 | void elm_web_bg_color_get(Evas_Object *obj, int *r, int *g, int *b, int *a) |
1923 | 1923 | ||
@@ -1925,8 +1925,8 @@ cdef extern from "Elementary.h": | |||
1925 | void elm_web_popup_selected_set(Evas_Object *obj, int index) | 1925 | void elm_web_popup_selected_set(Evas_Object *obj, int index) |
1926 | Eina_Bool elm_web_popup_destroy(Evas_Object *obj) | 1926 | Eina_Bool elm_web_popup_destroy(Evas_Object *obj) |
1927 | 1927 | ||
1928 | Eina_Bool elm_web_text_search(Evas_Object *obj, const_char_ptr string, Eina_Bool case_sensitive, Eina_Bool forward, Eina_Bool wrap) | 1928 | Eina_Bool elm_web_text_search(Evas_Object *obj, const_char *string, Eina_Bool case_sensitive, Eina_Bool forward, Eina_Bool wrap) |
1929 | unsigned int elm_web_text_matches_mark(Evas_Object *obj, const_char_ptr string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit) | 1929 | unsigned int elm_web_text_matches_mark(Evas_Object *obj, const_char *string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit) |
1930 | Eina_Bool elm_web_text_matches_unmark_all(Evas_Object *obj) | 1930 | Eina_Bool elm_web_text_matches_unmark_all(Evas_Object *obj) |
1931 | Eina_Bool elm_web_text_matches_highlight_set(Evas_Object *obj, Eina_Bool highlight) | 1931 | Eina_Bool elm_web_text_matches_highlight_set(Evas_Object *obj, Eina_Bool highlight) |
1932 | Eina_Bool elm_web_text_matches_highlight_get(Evas_Object *obj) | 1932 | Eina_Bool elm_web_text_matches_highlight_get(Evas_Object *obj) |
@@ -1960,16 +1960,16 @@ cdef extern from "Elementary.h": | |||
1960 | 1960 | ||
1961 | # Window (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) | 1961 | # Window (api:DONE cb:DONE test:DONE doc:DONE py3:DONE) |
1962 | const_Eo_Class *elm_obj_win_class_get() | 1962 | const_Eo_Class *elm_obj_win_class_get() |
1963 | Evas_Object *elm_win_add(Evas_Object *parent, const_char_ptr name, Elm_Win_Type type) | 1963 | Evas_Object *elm_win_add(Evas_Object *parent, const_char *name, Elm_Win_Type type) |
1964 | Evas_Object *elm_win_util_standard_add(const_char_ptr name, const_char_ptr title) | 1964 | Evas_Object *elm_win_util_standard_add(const_char *name, const_char_ptr title) |
1965 | void elm_win_resize_object_add(Evas_Object *obj, Evas_Object* subobj) | 1965 | void elm_win_resize_object_add(Evas_Object *obj, Evas_Object* subobj) |
1966 | void elm_win_resize_object_del(Evas_Object *obj, Evas_Object* subobj) | 1966 | void elm_win_resize_object_del(Evas_Object *obj, Evas_Object* subobj) |
1967 | void elm_win_title_set(Evas_Object *obj, const_char_ptr title) | 1967 | void elm_win_title_set(Evas_Object *obj, const_char *title) |
1968 | const_char_ptr elm_win_title_get(Evas_Object *obj) | 1968 | const_char * elm_win_title_get(Evas_Object *obj) |
1969 | void elm_win_icon_name_set(Evas_Object *obj, const_char_ptr icon_name) | 1969 | void elm_win_icon_name_set(Evas_Object *obj, const_char *icon_name) |
1970 | const_char_ptr elm_win_icon_name_get(Evas_Object *obj) | 1970 | const_char * elm_win_icon_name_get(Evas_Object *obj) |
1971 | void elm_win_role_set(Evas_Object *obj, const_char_ptr role) | 1971 | void elm_win_role_set(Evas_Object *obj, const_char *role) |
1972 | const_char_ptr elm_win_role_get(Evas_Object *obj) | 1972 | const_char * elm_win_role_get(Evas_Object *obj) |
1973 | void elm_win_icon_object_set(Evas_Object* obj, Evas_Object* icon) | 1973 | void elm_win_icon_object_set(Evas_Object* obj, Evas_Object* icon) |
1974 | const_Evas_Object *elm_win_icon_object_get(Evas_Object*) | 1974 | const_Evas_Object *elm_win_icon_object_get(Evas_Object*) |
1975 | void elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel) | 1975 | void elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel) |
@@ -2035,8 +2035,8 @@ cdef extern from "Elementary.h": | |||
2035 | 2035 | ||
2036 | void elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled) | 2036 | void elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled) |
2037 | Eina_Bool elm_win_focus_highlight_enabled_get(Evas_Object *obj) | 2037 | Eina_Bool elm_win_focus_highlight_enabled_get(Evas_Object *obj) |
2038 | void elm_win_focus_highlight_style_set(Evas_Object *obj, const_char_ptr style) | 2038 | void elm_win_focus_highlight_style_set(Evas_Object *obj, const_char *style) |
2039 | const_char_ptr elm_win_focus_highlight_style_get(Evas_Object *obj) | 2039 | const_char * elm_win_focus_highlight_style_get(Evas_Object *obj) |
2040 | 2040 | ||
2041 | void elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode) | 2041 | void elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode) |
2042 | Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get(Evas_Object *obj) | 2042 | Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get(Evas_Object *obj) |
@@ -2049,7 +2049,7 @@ cdef extern from "Elementary.h": | |||
2049 | Elm_Win_Indicator_Opacity_Mode elm_win_indicator_opacity_get(Evas_Object *obj) | 2049 | Elm_Win_Indicator_Opacity_Mode elm_win_indicator_opacity_get(Evas_Object *obj) |
2050 | 2050 | ||
2051 | void elm_win_screen_position_get(Evas_Object *obj, int *x, int *y) | 2051 | void elm_win_screen_position_get(Evas_Object *obj, int *x, int *y) |
2052 | Eina_Bool elm_win_socket_listen(Evas_Object *obj, const_char_ptr svcname, int svcnum, Eina_Bool svcsys) | 2052 | Eina_Bool elm_win_socket_listen(Evas_Object *obj, const_char *svcname, int svcnum, Eina_Bool svcsys) |
2053 | 2053 | ||
2054 | # X specific call - wont't work on non-x engines (return 0) | 2054 | # X specific call - wont't work on non-x engines (return 0) |
2055 | Ecore_X_Window elm_win_xwindow_get(Evas_Object *obj) | 2055 | Ecore_X_Window elm_win_xwindow_get(Evas_Object *obj) |
diff --git a/include/efl.emotion.pxd b/include/efl.emotion.pxd index 60a628e..703befe 100644 --- a/include/efl.emotion.pxd +++ b/include/efl.emotion.pxd | |||
@@ -18,7 +18,7 @@ | |||
18 | from efl cimport Eina_Bool, Eina_List, const_Eina_List | 18 | from efl cimport Eina_Bool, Eina_List, const_Eina_List |
19 | from efl.evas cimport Evas, Evas_Object, const_Evas_Object, const_char_ptr | 19 | from efl.evas cimport Evas, Evas_Object, const_Evas_Object, const_char_ptr |
20 | from efl.evas cimport Object as evasObject | 20 | from efl.evas cimport Object as evasObject |
21 | 21 | from libc.string cimport const_char | |
22 | 22 | ||
23 | cdef extern from "Emotion.h": | 23 | cdef extern from "Emotion.h": |
24 | 24 | ||
@@ -39,7 +39,7 @@ cdef extern from "Emotion.h": | |||
39 | 39 | ||
40 | Eina_Bool emotion_init() | 40 | Eina_Bool emotion_init() |
41 | Eina_Bool emotion_shutdown() | 41 | Eina_Bool emotion_shutdown() |
42 | 42 | ||
43 | Evas_Object *emotion_object_add(Evas *e) | 43 | Evas_Object *emotion_object_add(Evas *e) |
44 | void emotion_object_module_option_set(Evas_Object *obj, char *opt, char *val) | 44 | void emotion_object_module_option_set(Evas_Object *obj, char *opt, char *val) |
45 | Eina_Bool emotion_object_init(Evas_Object *obj, char *module_filename) | 45 | Eina_Bool emotion_object_init(Evas_Object *obj, char *module_filename) |
@@ -109,20 +109,20 @@ cdef extern from "Emotion.h": | |||
109 | void emotion_object_bg_color_get(const_Evas_Object *obj, int *r, int *g, int *b, int *a) | 109 | void emotion_object_bg_color_get(const_Evas_Object *obj, int *r, int *g, int *b, int *a) |
110 | void emotion_object_keep_aspect_set(Evas_Object *obj, Emotion_Aspect a) | 110 | void emotion_object_keep_aspect_set(Evas_Object *obj, Emotion_Aspect a) |
111 | Emotion_Aspect emotion_object_keep_aspect_get(const_Evas_Object *obj) | 111 | Emotion_Aspect emotion_object_keep_aspect_get(const_Evas_Object *obj) |
112 | void emotion_object_video_subtitle_file_set(Evas_Object *obj, const_char_ptr filepath) | 112 | void emotion_object_video_subtitle_file_set(Evas_Object *obj, const_char *filepath) |
113 | const_char_ptr emotion_object_video_subtitle_file_get(const_Evas_Object *obj) | 113 | const_char *emotion_object_video_subtitle_file_get(const_Evas_Object *obj) |
114 | void emotion_object_priority_set(Evas_Object *obj, Eina_Bool priority) | 114 | void emotion_object_priority_set(Evas_Object *obj, Eina_Bool priority) |
115 | Eina_Bool emotion_object_priority_get(const_Evas_Object *obj) | 115 | Eina_Bool emotion_object_priority_get(const_Evas_Object *obj) |
116 | Emotion_Suspend emotion_object_suspend_get(Evas_Object *obj) | 116 | Emotion_Suspend emotion_object_suspend_get(Evas_Object *obj) |
117 | void emotion_object_suspend_set(Evas_Object *obj, Emotion_Suspend state) | 117 | void emotion_object_suspend_set(Evas_Object *obj, Emotion_Suspend state) |
118 | void emotion_object_last_position_load(Evas_Object *obj) | 118 | void emotion_object_last_position_load(Evas_Object *obj) |
119 | void emotion_object_last_position_save(Evas_Object *obj) | 119 | void emotion_object_last_position_save(Evas_Object *obj) |
120 | Eina_Bool emotion_object_extension_may_play_get(const_char_ptr file) | 120 | Eina_Bool emotion_object_extension_may_play_get(const_char *file) |
121 | Evas_Object *emotion_object_image_get(const_Evas_Object *obj) | 121 | Evas_Object *emotion_object_image_get(const_Evas_Object *obj) |
122 | 122 | ||
123 | const_Eina_List *emotion_webcams_get() | 123 | const_Eina_List *emotion_webcams_get() |
124 | const_char_ptr emotion_webcam_name_get(Emotion_Webcam *ew) | 124 | const_char *emotion_webcam_name_get(Emotion_Webcam *ew) |
125 | const_char_ptr emotion_webcam_device_get(Emotion_Webcam *ew) | 125 | const_char *emotion_webcam_device_get(Emotion_Webcam *ew) |
126 | 126 | ||
127 | 127 | ||
128 | cdef class Emotion(evasObject): | 128 | cdef class Emotion(evasObject): |
diff --git a/include/efl.eo.pxd b/include/efl.eo.pxd index c179dcc..23338a5 100644 --- a/include/efl.eo.pxd +++ b/include/efl.eo.pxd | |||
@@ -17,8 +17,12 @@ | |||
17 | 17 | ||
18 | from efl.c_eo cimport Eo as cEo | 18 | from efl.c_eo cimport Eo as cEo |
19 | from efl.c_eo cimport Eo_Class | 19 | from efl.c_eo cimport Eo_Class |
20 | from efl cimport const_char_ptr, Eina_List, const_Eina_List | 20 | from efl cimport Eina_List, const_Eina_List |
21 | from libc.string cimport const_char | ||
21 | 22 | ||
23 | cdef extern from "string.h": | ||
24 | void *memcpy(void *dst, void *src, int n) | ||
25 | char *strdup(char *str) | ||
22 | 26 | ||
23 | cdef class Eo(object): | 27 | cdef class Eo(object): |
24 | cdef cEo *obj | 28 | cdef cEo *obj |
@@ -37,9 +41,11 @@ cdef _object_mapping_unregister(char*name) | |||
37 | 41 | ||
38 | cdef unicode _touni(char* s) | 42 | cdef unicode _touni(char* s) |
39 | cdef char* _fruni(s) | 43 | cdef char* _fruni(s) |
40 | cdef unicode _ctouni(const_char_ptr s) | 44 | cdef unicode _ctouni(const_char *s) |
41 | cdef const_char_ptr _cfruni(s) | 45 | cdef const_char *_cfruni(s) |
42 | 46 | ||
43 | cdef _strings_to_python(const_Eina_List *lst) | 47 | cdef convert_array_of_strings_to_python_list(char **array, int array_length) |
44 | cdef Eina_List * _strings_from_python(strings) | 48 | cdef const_char ** convert_python_list_strings_to_array_of_strings(list strings) |
49 | cdef convert_eina_list_strings_to_python_list(const_Eina_List *lst) | ||
50 | cdef Eina_List * convert_python_list_strings_to_eina_list(strings) | ||
45 | cdef _object_list_to_python(const_Eina_List *lst) | 51 | cdef _object_list_to_python(const_Eina_List *lst) |
diff --git a/include/efl.evas.pxd b/include/efl.evas.pxd index 382a607..7cd521a 100644 --- a/include/efl.evas.pxd +++ b/include/efl.evas.pxd | |||
@@ -146,8 +146,8 @@ cdef extern from "Evas.h": | |||
146 | ctypedef Evas_Textblock_Cursor const_Evas_Textblock_Cursor "const Evas_Textblock_Cursor" | 146 | ctypedef Evas_Textblock_Cursor const_Evas_Textblock_Cursor "const Evas_Textblock_Cursor" |
147 | 147 | ||
148 | ctypedef struct Evas_Smart_Cb_Description: | 148 | ctypedef struct Evas_Smart_Cb_Description: |
149 | const_char_ptr name | 149 | const_char *name |
150 | const_char_ptr type | 150 | const_char *type |
151 | ctypedef Evas_Smart_Cb_Description const_Evas_Smart_Cb_Description "const Evas_Smart_Cb_Description" | 151 | ctypedef Evas_Smart_Cb_Description const_Evas_Smart_Cb_Description "const Evas_Smart_Cb_Description" |
152 | 152 | ||
153 | ctypedef struct Evas_Smart_Interface | 153 | ctypedef struct Evas_Smart_Interface |
@@ -156,7 +156,7 @@ cdef extern from "Evas.h": | |||
156 | ctypedef struct Evas_Smart_Class | 156 | ctypedef struct Evas_Smart_Class |
157 | ctypedef Evas_Smart_Class const_Evas_Smart_Class "const Evas_Smart_Class" | 157 | ctypedef Evas_Smart_Class const_Evas_Smart_Class "const Evas_Smart_Class" |
158 | ctypedef struct Evas_Smart_Class: | 158 | ctypedef struct Evas_Smart_Class: |
159 | const_char_ptr name | 159 | const_char *name |
160 | int version | 160 | int version |
161 | void (*add)(Evas_Object *o) | 161 | void (*add)(Evas_Object *o) |
162 | void (*delete "del")(Evas_Object *o) | 162 | void (*delete "del")(Evas_Object *o) |
@@ -300,9 +300,9 @@ cdef extern from "Evas.h": | |||
300 | void *data | 300 | void *data |
301 | Evas_Modifier *modifiers | 301 | Evas_Modifier *modifiers |
302 | Evas_Lock *locks | 302 | Evas_Lock *locks |
303 | const_char_ptr key | 303 | const_char *key |
304 | const_char_ptr string | 304 | const_char *string |
305 | const_char_ptr compose | 305 | const_char *compose |
306 | unsigned int timestamp | 306 | unsigned int timestamp |
307 | Evas_Event_Flags event_flags | 307 | Evas_Event_Flags event_flags |
308 | Evas_Device *dev | 308 | Evas_Device *dev |
@@ -312,9 +312,9 @@ cdef extern from "Evas.h": | |||
312 | void *data | 312 | void *data |
313 | Evas_Modifier *modifiers | 313 | Evas_Modifier *modifiers |
314 | Evas_Lock *locks | 314 | Evas_Lock *locks |
315 | const_char_ptr key | 315 | const_char *key |
316 | const_char_ptr string | 316 | const_char *string |
317 | const_char_ptr compose | 317 | const_char *compose |
318 | unsigned int timestamp | 318 | unsigned int timestamp |
319 | Evas_Event_Flags event_flags | 319 | Evas_Event_Flags event_flags |
320 | Evas_Device *dev | 320 | Evas_Device *dev |
@@ -358,7 +358,7 @@ cdef extern from "Evas.h": | |||
358 | void evas_free(Evas *e) | 358 | void evas_free(Evas *e) |
359 | const_Eo_Class *evas_class_get() | 359 | const_Eo_Class *evas_class_get() |
360 | 360 | ||
361 | int evas_render_method_lookup(const_char_ptr name) | 361 | int evas_render_method_lookup(const_char *name) |
362 | Eina_List *evas_render_method_list() | 362 | Eina_List *evas_render_method_list() |
363 | void evas_render_method_list_free(Eina_List *list) | 363 | void evas_render_method_list_free(Eina_List *list) |
364 | 364 | ||
@@ -402,7 +402,7 @@ cdef extern from "Evas.h": | |||
402 | Evas_Object *evas_focus_get(const_Evas *e) | 402 | Evas_Object *evas_focus_get(const_Evas *e) |
403 | 403 | ||
404 | Evas_Modifier *evas_key_modifier_get(Evas *e) | 404 | Evas_Modifier *evas_key_modifier_get(Evas *e) |
405 | Eina_Bool evas_key_modifier_is_set(Evas_Modifier *m, const_char_ptr keyname) | 405 | Eina_Bool evas_key_modifier_is_set(Evas_Modifier *m, const_char *keyname) |
406 | 406 | ||
407 | void evas_event_freeze(Evas *e) | 407 | void evas_event_freeze(Evas *e) |
408 | void evas_event_thaw(Evas *e) | 408 | void evas_event_thaw(Evas *e) |
@@ -418,13 +418,13 @@ cdef extern from "Evas.h": | |||
418 | void evas_event_feed_multi_down(Evas *e, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const_void *data) | 418 | void evas_event_feed_multi_down(Evas *e, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const_void *data) |
419 | void evas_event_feed_multi_up(Evas *e, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const_void *data) | 419 | void evas_event_feed_multi_up(Evas *e, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const_void *data) |
420 | void evas_event_feed_multi_move(Evas *e, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, unsigned int timestamp, const_void *data) | 420 | void evas_event_feed_multi_move(Evas *e, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, unsigned int timestamp, const_void *data) |
421 | void evas_event_feed_key_down(Evas *e, const_char_ptr keyname, const_char_ptr key, const_char_ptr string, const_char_ptr compose, unsigned int timestamp, const_void *data) | 421 | void evas_event_feed_key_down(Evas *e, const_char *keyname, const_char_ptr key, const_char_ptr string, const_char_ptr compose, unsigned int timestamp, const_void *data) |
422 | void evas_event_feed_key_up(Evas *e, const_char_ptr keyname, const_char_ptr key, const_char_ptr string, const_char_ptr compose, unsigned int timestamp, const_void *data) | 422 | void evas_event_feed_key_up(Evas *e, const_char *keyname, const_char_ptr key, const_char_ptr string, const_char_ptr compose, unsigned int timestamp, const_void *data) |
423 | void evas_event_feed_hold(Evas *e, int hold, unsigned int timestamp, const_void *data) | 423 | void evas_event_feed_hold(Evas *e, int hold, unsigned int timestamp, const_void *data) |
424 | 424 | ||
425 | void evas_font_path_clear(Evas *e) | 425 | void evas_font_path_clear(Evas *e) |
426 | void evas_font_path_append(Evas *e, const_char_ptr path) | 426 | void evas_font_path_append(Evas *e, const_char *path) |
427 | void evas_font_path_prepend(Evas *e, const_char_ptr path) | 427 | void evas_font_path_prepend(Evas *e, const_char *path) |
428 | const_Eina_List *evas_font_path_list(const_Evas *e) | 428 | const_Eina_List *evas_font_path_list(const_Evas *e) |
429 | 429 | ||
430 | void evas_font_hinting_set(Evas *e, Evas_Font_Hinting_Flags hinting) | 430 | void evas_font_hinting_set(Evas *e, Evas_Font_Hinting_Flags hinting) |
@@ -450,11 +450,11 @@ cdef extern from "Evas.h": | |||
450 | void evas_object_del(Evas_Object *obj) | 450 | void evas_object_del(Evas_Object *obj) |
451 | Evas *evas_object_evas_get(const_Evas_Object *obj) | 451 | Evas *evas_object_evas_get(const_Evas_Object *obj) |
452 | 452 | ||
453 | void evas_object_data_set(Evas_Object *obj, const_char_ptr key, const_void *data) | 453 | void evas_object_data_set(Evas_Object *obj, const_char *key, const_void *data) |
454 | void *evas_object_data_get(const_Evas_Object *obj, const_char_ptr key) | 454 | void *evas_object_data_get(const_Evas_Object *obj, const_char *key) |
455 | void *evas_object_data_del(Evas_Object *obj, const_char_ptr key) | 455 | void *evas_object_data_del(Evas_Object *obj, const_char *key) |
456 | 456 | ||
457 | const_char_ptr evas_object_type_get(const_Evas_Object *obj) | 457 | const_char *evas_object_type_get(const_Evas_Object *obj) |
458 | 458 | ||
459 | void evas_object_layer_set(Evas_Object *obj, int l) | 459 | void evas_object_layer_set(Evas_Object *obj, int l) |
460 | int evas_object_layer_get(const_Evas_Object *obj) | 460 | int evas_object_layer_get(const_Evas_Object *obj) |
@@ -514,9 +514,9 @@ cdef extern from "Evas.h": | |||
514 | void evas_object_clip_unset(Evas_Object *obj) | 514 | void evas_object_clip_unset(Evas_Object *obj) |
515 | const_Eina_List *evas_object_clipees_get(const_Evas_Object *obj) | 515 | const_Eina_List *evas_object_clipees_get(const_Evas_Object *obj) |
516 | 516 | ||
517 | void evas_object_name_set(Evas_Object *obj, const_char_ptr name) | 517 | void evas_object_name_set(Evas_Object *obj, const_char *name) |
518 | const_char_ptr evas_object_name_get(const_Evas_Object *obj) | 518 | const_char *evas_object_name_get(const_Evas_Object *obj) |
519 | Evas_Object *evas_object_name_find(const_Evas *e, const_char_ptr name) | 519 | Evas_Object *evas_object_name_find(const_Evas *e, const_char *name) |
520 | 520 | ||
521 | int evas_async_events_fd_get() | 521 | int evas_async_events_fd_get() |
522 | int evas_async_events_process() | 522 | int evas_async_events_process() |
@@ -558,9 +558,9 @@ cdef extern from "Evas.h": | |||
558 | Evas_Smart *evas_object_smart_smart_get(const_Evas_Object *obj) | 558 | Evas_Smart *evas_object_smart_smart_get(const_Evas_Object *obj) |
559 | void *evas_object_smart_data_get(const_Evas_Object *obj) | 559 | void *evas_object_smart_data_get(const_Evas_Object *obj) |
560 | void evas_object_smart_data_set(Evas_Object *obj, void *data) | 560 | void evas_object_smart_data_set(Evas_Object *obj, void *data) |
561 | void evas_object_smart_callback_add(Evas_Object *obj, const_char_ptr event, Evas_Smart_Cb func, const_void *data) | 561 | void evas_object_smart_callback_add(Evas_Object *obj, const_char *event, Evas_Smart_Cb func, const_void *data) |
562 | void *evas_object_smart_callback_del(Evas_Object *obj, const_char_ptr event, Evas_Smart_Cb func) | 562 | void *evas_object_smart_callback_del(Evas_Object *obj, const_char *event, Evas_Smart_Cb func) |
563 | void evas_object_smart_callback_call(Evas_Object *obj, const_char_ptr event, void *event_info) | 563 | void evas_object_smart_callback_call(Evas_Object *obj, const_char *event, void *event_info) |
564 | void evas_object_smart_changed(Evas_Object *obj) | 564 | void evas_object_smart_changed(Evas_Object *obj) |
565 | void evas_object_smart_need_recalculate_set(Evas_Object *obj, int value) | 565 | void evas_object_smart_need_recalculate_set(Evas_Object *obj, int value) |
566 | int evas_object_smart_need_recalculate_get(const_Evas_Object *obj) | 566 | int evas_object_smart_need_recalculate_get(const_Evas_Object *obj) |
@@ -589,8 +589,8 @@ cdef extern from "Evas.h": | |||
589 | # | 589 | # |
590 | Evas_Object *evas_object_image_add(Evas *e) | 590 | Evas_Object *evas_object_image_add(Evas *e) |
591 | const_Eo_Class *evas_object_image_class_get() | 591 | const_Eo_Class *evas_object_image_class_get() |
592 | void evas_object_image_file_set(Evas_Object *obj, const_char_ptr file, const_char_ptr key) | 592 | void evas_object_image_file_set(Evas_Object *obj, const_char *file, const_char_ptr key) |
593 | void evas_object_image_file_get(const_Evas_Object *obj, const_char_ptr *file, const_char_ptr *key) | 593 | void evas_object_image_file_get(const_Evas_Object *obj, const_char **file, const_char_ptr *key) |
594 | void evas_object_image_border_set(Evas_Object *obj, int l, int r, int t, int b) | 594 | void evas_object_image_border_set(Evas_Object *obj, int l, int r, int t, int b) |
595 | void evas_object_image_border_get(const_Evas_Object *obj, int *l, int *r, int *t, int *b) | 595 | void evas_object_image_border_get(const_Evas_Object *obj, int *l, int *r, int *t, int *b) |
596 | void evas_object_image_border_center_fill_set(Evas_Object *obj, Eina_Bool fill) | 596 | void evas_object_image_border_center_fill_set(Evas_Object *obj, Eina_Bool fill) |
@@ -611,7 +611,7 @@ cdef extern from "Evas.h": | |||
611 | Eina_Bool evas_object_image_smooth_scale_get(const_Evas_Object *obj) | 611 | Eina_Bool evas_object_image_smooth_scale_get(const_Evas_Object *obj) |
612 | void evas_object_image_preload(Evas_Object *obj, Eina_Bool cancel) | 612 | void evas_object_image_preload(Evas_Object *obj, Eina_Bool cancel) |
613 | void evas_object_image_reload(Evas_Object *obj) | 613 | void evas_object_image_reload(Evas_Object *obj) |
614 | Eina_Bool evas_object_image_save(const_Evas_Object *obj, const_char_ptr file, const_char_ptr key, const_char_ptr flags) | 614 | Eina_Bool evas_object_image_save(const_Evas_Object *obj, const_char *file, const_char_ptr key, const_char_ptr flags) |
615 | #Eina_Bool evas_object_image_pixels_import(Evas_Object *obj, Evas_Pixel_Import_Source *pixels) | 615 | #Eina_Bool evas_object_image_pixels_import(Evas_Object *obj, Evas_Pixel_Import_Source *pixels) |
616 | void evas_object_image_pixels_get_callback_set(Evas_Object *obj, void (*func) (void *data, Evas_Object *o), void *data) | 616 | void evas_object_image_pixels_get_callback_set(Evas_Object *obj, void (*func) (void *data, Evas_Object *o), void *data) |
617 | void evas_object_image_pixels_dirty_set(Evas_Object *obj, Eina_Bool dirty) | 617 | void evas_object_image_pixels_dirty_set(Evas_Object *obj, Eina_Bool dirty) |
@@ -642,12 +642,12 @@ cdef extern from "Evas.h": | |||
642 | # | 642 | # |
643 | Evas_Object *evas_object_text_add(Evas *e) | 643 | Evas_Object *evas_object_text_add(Evas *e) |
644 | const_Eo_Class *evas_object_text_class_get() | 644 | const_Eo_Class *evas_object_text_class_get() |
645 | void evas_object_text_font_source_set(Evas_Object *obj, const_char_ptr font) | 645 | void evas_object_text_font_source_set(Evas_Object *obj, const_char *font) |
646 | const_char_ptr evas_object_text_font_source_get(const_Evas_Object *obj) | 646 | const_char *evas_object_text_font_source_get(const_Evas_Object *obj) |
647 | void evas_object_text_font_set(Evas_Object *obj, const_char_ptr font, Evas_Font_Size size) | 647 | void evas_object_text_font_set(Evas_Object *obj, const_char *font, Evas_Font_Size size) |
648 | void evas_object_text_font_get(const_Evas_Object *obj, const_char_ptr *font, Evas_Font_Size *size) | 648 | void evas_object_text_font_get(const_Evas_Object *obj, const_char **font, Evas_Font_Size *size) |
649 | void evas_object_text_text_set(Evas_Object *obj, const_char_ptr text) | 649 | void evas_object_text_text_set(Evas_Object *obj, const_char *text) |
650 | const_char_ptr evas_object_text_text_get(const_Evas_Object *obj) | 650 | const_char *evas_object_text_text_get(const_Evas_Object *obj) |
651 | Evas_Coord evas_object_text_ascent_get(const_Evas_Object *obj) | 651 | Evas_Coord evas_object_text_ascent_get(const_Evas_Object *obj) |
652 | Evas_Coord evas_object_text_descent_get(const_Evas_Object *obj) | 652 | Evas_Coord evas_object_text_descent_get(const_Evas_Object *obj) |
653 | Evas_Coord evas_object_text_max_ascent_get(const_Evas_Object *obj) | 653 | Evas_Coord evas_object_text_max_ascent_get(const_Evas_Object *obj) |
@@ -677,17 +677,17 @@ cdef extern from "Evas.h": | |||
677 | const_Eo_Class *evas_object_textblock_class_get() | 677 | const_Eo_Class *evas_object_textblock_class_get() |
678 | Evas_Textblock_Style *evas_textblock_style_new() | 678 | Evas_Textblock_Style *evas_textblock_style_new() |
679 | void evas_textblock_style_free(Evas_Textblock_Style *ts) | 679 | void evas_textblock_style_free(Evas_Textblock_Style *ts) |
680 | void evas_textblock_style_set(Evas_Textblock_Style *ts, const_char_ptr text) | 680 | void evas_textblock_style_set(Evas_Textblock_Style *ts, const_char *text) |
681 | const_char_ptr evas_textblock_style_get(const_Evas_Textblock_Style *ts) | 681 | const_char *evas_textblock_style_get(const_Evas_Textblock_Style *ts) |
682 | void evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts) | 682 | void evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts) |
683 | Evas_Textblock_Style *evas_object_textblock_style_get(const_Evas_Object *obj) | 683 | Evas_Textblock_Style *evas_object_textblock_style_get(const_Evas_Object *obj) |
684 | void evas_object_textblock_replace_char_set(Evas_Object *obj, const_char_ptr ch) | 684 | void evas_object_textblock_replace_char_set(Evas_Object *obj, const_char *ch) |
685 | const_char_ptr evas_object_textblock_replace_char_get(const_Evas_Object *obj) | 685 | const_char *evas_object_textblock_replace_char_get(const_Evas_Object *obj) |
686 | const_char_ptr evas_textblock_escape_string_get(const_char_ptr escape) | 686 | const_char *evas_textblock_escape_string_get(const_char_ptr escape) |
687 | const_char_ptr evas_textblock_string_escape_get(const_char_ptr string, int *len_ret) | 687 | const_char *evas_textblock_string_escape_get(const_char_ptr string, int *len_ret) |
688 | void evas_object_textblock_text_markup_set(Evas_Object *obj, const_char_ptr text) | 688 | void evas_object_textblock_text_markup_set(Evas_Object *obj, const_char *text) |
689 | void evas_object_textblock_text_markup_prepend(Evas_Textblock_Cursor *cur, const_char_ptr text) | 689 | void evas_object_textblock_text_markup_prepend(Evas_Textblock_Cursor *cur, const_char *text) |
690 | const_char_ptr evas_object_textblock_text_markup_get(const_Evas_Object *obj) | 690 | const_char *evas_object_textblock_text_markup_get(const_Evas_Object *obj) |
691 | Evas_Textblock_Cursor *evas_object_textblock_cursor_get(const_Evas_Object *obj) | 691 | Evas_Textblock_Cursor *evas_object_textblock_cursor_get(const_Evas_Object *obj) |
692 | Evas_Textblock_Cursor *evas_object_textblock_cursor_new(Evas_Object *obj) | 692 | Evas_Textblock_Cursor *evas_object_textblock_cursor_new(Evas_Object *obj) |
693 | void evas_textblock_cursor_free(Evas_Textblock_Cursor *cur) | 693 | void evas_textblock_cursor_free(Evas_Textblock_Cursor *cur) |
@@ -706,18 +706,18 @@ cdef extern from "Evas.h": | |||
706 | Eina_Bool evas_textblock_cursor_line_set(Evas_Textblock_Cursor *cur, int line) | 706 | Eina_Bool evas_textblock_cursor_line_set(Evas_Textblock_Cursor *cur, int line) |
707 | int evas_textblock_cursor_compare(Evas_Textblock_Cursor *cur1, Evas_Textblock_Cursor *cur2) | 707 | int evas_textblock_cursor_compare(Evas_Textblock_Cursor *cur1, Evas_Textblock_Cursor *cur2) |
708 | void evas_textblock_cursor_copy(Evas_Textblock_Cursor *cur, Evas_Textblock_Cursor *cur_dest) | 708 | void evas_textblock_cursor_copy(Evas_Textblock_Cursor *cur, Evas_Textblock_Cursor *cur_dest) |
709 | void evas_textblock_cursor_text_append(Evas_Textblock_Cursor *cur, const_char_ptr text) | 709 | void evas_textblock_cursor_text_append(Evas_Textblock_Cursor *cur, const_char *text) |
710 | void evas_textblock_cursor_text_prepend(Evas_Textblock_Cursor *cur, const_char_ptr text) | 710 | void evas_textblock_cursor_text_prepend(Evas_Textblock_Cursor *cur, const_char *text) |
711 | void evas_textblock_cursor_format_append(Evas_Textblock_Cursor *cur, const_char_ptr format) | 711 | void evas_textblock_cursor_format_append(Evas_Textblock_Cursor *cur, const_char *format) |
712 | void evas_textblock_cursor_format_prepend(Evas_Textblock_Cursor *cur, const_char_ptr format) | 712 | void evas_textblock_cursor_format_prepend(Evas_Textblock_Cursor *cur, const_char *format) |
713 | void evas_textblock_cursor_node_delete(Evas_Textblock_Cursor *cur) | 713 | void evas_textblock_cursor_node_delete(Evas_Textblock_Cursor *cur) |
714 | void evas_textblock_cursor_char_delete(Evas_Textblock_Cursor *cur) | 714 | void evas_textblock_cursor_char_delete(Evas_Textblock_Cursor *cur) |
715 | void evas_textblock_cursor_range_delete(Evas_Textblock_Cursor *cur1, Evas_Textblock_Cursor *cur2) | 715 | void evas_textblock_cursor_range_delete(Evas_Textblock_Cursor *cur1, Evas_Textblock_Cursor *cur2) |
716 | const_char_ptr evas_textblock_cursor_node_text_get(const_Evas_Textblock_Cursor *cur) | 716 | const_char *evas_textblock_cursor_node_text_get(const_Evas_Textblock_Cursor *cur) |
717 | int evas_textblock_cursor_node_text_length_get(const_Evas_Textblock_Cursor *cur) | 717 | int evas_textblock_cursor_node_text_length_get(const_Evas_Textblock_Cursor *cur) |
718 | const_char_ptr evas_textblock_cursor_node_format_get(const_Evas_Textblock_Cursor *cur) | 718 | const_char *evas_textblock_cursor_node_format_get(const_Evas_Textblock_Cursor *cur) |
719 | Eina_Bool evas_textblock_cursor_node_format_is_visible_get(const_Evas_Textblock_Cursor *cur) | 719 | Eina_Bool evas_textblock_cursor_node_format_is_visible_get(const_Evas_Textblock_Cursor *cur) |
720 | const_char_ptr evas_textblock_cursor_range_text_get(const_Evas_Textblock_Cursor *cur1, Evas_Textblock_Cursor *cur2, Evas_Textblock_Text_Type format) | 720 | const_char *evas_textblock_cursor_range_text_get(const_Evas_Textblock_Cursor *cur1, Evas_Textblock_Cursor *cur2, Evas_Textblock_Text_Type format) |
721 | int evas_textblock_cursor_char_geometry_get(const_Evas_Textblock_Cursor *cur, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch) | 721 | int evas_textblock_cursor_char_geometry_get(const_Evas_Textblock_Cursor *cur, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch) |
722 | int evas_textblock_cursor_line_geometry_get(const_Evas_Textblock_Cursor *cur, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch) | 722 | int evas_textblock_cursor_line_geometry_get(const_Evas_Textblock_Cursor *cur, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch) |
723 | Eina_Bool evas_textblock_cursor_char_coord_set(Evas_Textblock_Cursor *cur, Evas_Coord x, Evas_Coord y) | 723 | Eina_Bool evas_textblock_cursor_char_coord_set(Evas_Textblock_Cursor *cur, Evas_Coord x, Evas_Coord y) |
diff --git a/include/efl.pxd b/include/efl.pxd index 62f7af6..12deb4d 100644 --- a/include/efl.pxd +++ b/include/efl.pxd | |||
@@ -45,7 +45,7 @@ cdef extern from "time.h": | |||
45 | int tm_isdst | 45 | int tm_isdst |
46 | 46 | ||
47 | long int tm_gmtoff | 47 | long int tm_gmtoff |
48 | const_char_ptr tm_zone | 48 | const_char *tm_zone |
49 | 49 | ||
50 | 50 | ||
51 | cdef extern from "Eina.h": | 51 | cdef extern from "Eina.h": |
@@ -97,17 +97,17 @@ cdef extern from "Eina.h": | |||
97 | # | 97 | # |
98 | Eina_Error eina_error_get() | 98 | Eina_Error eina_error_get() |
99 | void eina_error_set(Eina_Error err) | 99 | void eina_error_set(Eina_Error err) |
100 | const_char_ptr eina_error_msg_get(Eina_Error error) | 100 | const_char *eina_error_msg_get(Eina_Error error) |
101 | 101 | ||
102 | Eina_Bool eina_iterator_next(Eina_Iterator *iterator, void **data) | 102 | Eina_Bool eina_iterator_next(Eina_Iterator *iterator, void **data) |
103 | void eina_iterator_free(Eina_Iterator *iterator) | 103 | void eina_iterator_free(Eina_Iterator *iterator) |
104 | 104 | ||
105 | Eina_Stringshare *eina_stringshare_add_length(const_char_ptr str, unsigned int slen) | 105 | Eina_Stringshare *eina_stringshare_add_length(const_char *str, unsigned int slen) |
106 | Eina_Stringshare *eina_stringshare_add(const_char_ptr str) | 106 | Eina_Stringshare *eina_stringshare_add(const_char *str) |
107 | void eina_stringshare_del(Eina_Stringshare *str) | 107 | void eina_stringshare_del(Eina_Stringshare *str) |
108 | Eina_Stringshare *eina_stringshare_ref(Eina_Stringshare *str) | 108 | Eina_Stringshare *eina_stringshare_ref(Eina_Stringshare *str) |
109 | int eina_stringshare_strlen(Eina_Stringshare *str) | 109 | int eina_stringshare_strlen(Eina_Stringshare *str) |
110 | 110 | ||
111 | Eina_List *eina_list_free(Eina_List *list) | 111 | Eina_List *eina_list_free(Eina_List *list) |
112 | Eina_List *eina_list_append(Eina_List *list, void *data) | 112 | Eina_List *eina_list_append(Eina_List *list, void *data) |
113 | Eina_List *eina_list_prepend(Eina_List *list, void *data) | 113 | Eina_List *eina_list_prepend(Eina_List *list, void *data) |