Switch enums to use the old system we had previously
This allows us to support Cython 0.23+
This commit is contained in:
parent
4bd421562d
commit
b2af779d7d
|
@ -257,6 +257,80 @@ from cpython cimport Py_INCREF, Py_DECREF
|
|||
import traceback
|
||||
import atexit
|
||||
|
||||
cimport efl.ecore.enums as enums
|
||||
|
||||
ECORE_EVENT_NONE = enums.ECORE_EVENT_NONE
|
||||
ECORE_EVENT_SIGNAL_USER = enums.ECORE_EVENT_SIGNAL_USER
|
||||
ECORE_EVENT_SIGNAL_HUP = enums.ECORE_EVENT_SIGNAL_HUP
|
||||
ECORE_EVENT_SIGNAL_EXIT = enums.ECORE_EVENT_SIGNAL_EXIT
|
||||
ECORE_EVENT_SIGNAL_POWER = enums.ECORE_EVENT_SIGNAL_POWER
|
||||
ECORE_EVENT_SIGNAL_REALTIME = enums.ECORE_EVENT_SIGNAL_REALTIME
|
||||
ECORE_EVENT_MEMORY_STATE = enums.ECORE_EVENT_MEMORY_STATE
|
||||
ECORE_EVENT_POWER_STATE = enums.ECORE_EVENT_POWER_STATE
|
||||
ECORE_EVENT_LOCALE_CHANGED = enums.ECORE_EVENT_LOCALE_CHANGED
|
||||
ECORE_EVENT_HOSTNAME_CHANGED = enums.ECORE_EVENT_HOSTNAME_CHANGED
|
||||
ECORE_EVENT_SYSTEM_TIMEDATE_CHANGED = enums.ECORE_EVENT_SYSTEM_TIMEDATE_CHANGED
|
||||
ECORE_EVENT_COUNT = enums.ECORE_EVENT_COUNT
|
||||
|
||||
ECORE_CALLBACK_CANCEL = enums.ECORE_CALLBACK_CANCEL
|
||||
ECORE_CALLBACK_RENEW = enums.ECORE_CALLBACK_RENEW
|
||||
|
||||
ECORE_CALLBACK_PASS_ON = enums.ECORE_CALLBACK_PASS_ON
|
||||
ECORE_CALLBACK_DONE = enums.ECORE_CALLBACK_DONE
|
||||
|
||||
ECORE_EXE_PRIORITY_INHERIT = enums.ECORE_EXE_PRIORITY_INHERIT
|
||||
|
||||
ECORE_EXE_EVENT_ADD = enums.ECORE_EXE_EVENT_ADD
|
||||
ECORE_EXE_EVENT_DEL = enums.ECORE_EXE_EVENT_DEL
|
||||
ECORE_EXE_EVENT_DATA = enums.ECORE_EXE_EVENT_DATA
|
||||
ECORE_EXE_EVENT_ERROR = enums.ECORE_EXE_EVENT_ERROR
|
||||
|
||||
ECORE_FD_READ = enums.ECORE_FD_READ
|
||||
ECORE_FD_WRITE = enums.ECORE_FD_WRITE
|
||||
ECORE_FD_ERROR = enums.ECORE_FD_ERROR
|
||||
|
||||
ECORE_EXE_NONE = enums.ECORE_EXE_NONE
|
||||
ECORE_EXE_PIPE_READ = enums.ECORE_EXE_PIPE_READ
|
||||
ECORE_EXE_PIPE_WRITE = enums.ECORE_EXE_PIPE_WRITE
|
||||
ECORE_EXE_PIPE_ERROR = enums.ECORE_EXE_PIPE_ERROR
|
||||
ECORE_EXE_PIPE_READ_LINE_BUFFERED = enums.ECORE_EXE_PIPE_READ_LINE_BUFFERED
|
||||
ECORE_EXE_PIPE_ERROR_LINE_BUFFERED = enums.ECORE_EXE_PIPE_ERROR_LINE_BUFFERED
|
||||
ECORE_EXE_PIPE_AUTO = enums.ECORE_EXE_PIPE_AUTO
|
||||
ECORE_EXE_RESPAWN = enums.ECORE_EXE_RESPAWN
|
||||
ECORE_EXE_USE_SH = enums.ECORE_EXE_USE_SH
|
||||
ECORE_EXE_NOT_LEADER = enums.ECORE_EXE_NOT_LEADER
|
||||
ECORE_EXE_TERM_WITH_PARENT = enums.ECORE_EXE_TERM_WITH_PARENT
|
||||
|
||||
ECORE_POS_MAP_LINEAR = enums.ECORE_POS_MAP_LINEAR
|
||||
ECORE_POS_MAP_ACCELERATE = enums.ECORE_POS_MAP_ACCELERATE
|
||||
ECORE_POS_MAP_DECELERATE = enums.ECORE_POS_MAP_DECELERATE
|
||||
ECORE_POS_MAP_SINUSOIDAL = enums.ECORE_POS_MAP_SINUSOIDAL
|
||||
ECORE_POS_MAP_ACCELERATE_FACTOR = enums.ECORE_POS_MAP_ACCELERATE_FACTOR
|
||||
ECORE_POS_MAP_DECELERATE_FACTOR = enums.ECORE_POS_MAP_DECELERATE_FACTOR
|
||||
ECORE_POS_MAP_SINUSOIDAL_FACTOR = enums.ECORE_POS_MAP_SINUSOIDAL_FACTOR
|
||||
ECORE_POS_MAP_DIVISOR_INTERP = enums.ECORE_POS_MAP_DIVISOR_INTERP
|
||||
ECORE_POS_MAP_BOUNCE = enums.ECORE_POS_MAP_BOUNCE
|
||||
ECORE_POS_MAP_SPRING = enums.ECORE_POS_MAP_SPRING
|
||||
ECORE_POS_MAP_CUBIC_BEZIER = enums.ECORE_POS_MAP_CUBIC_BEZIER
|
||||
|
||||
ECORE_ANIMATOR_SOURCE_TIMER = enums.ECORE_ANIMATOR_SOURCE_TIMER
|
||||
ECORE_ANIMATOR_SOURCE_CUSTOM = enums.ECORE_ANIMATOR_SOURCE_CUSTOM
|
||||
|
||||
ECORE_POLLER_CORE = enums.ECORE_POLLER_CORE
|
||||
|
||||
|
||||
ECORE_FILE_EVENT_NONE = enums.ECORE_FILE_EVENT_NONE
|
||||
ECORE_FILE_EVENT_CREATED_FILE = enums.ECORE_FILE_EVENT_CREATED_FILE
|
||||
ECORE_FILE_EVENT_CREATED_DIRECTORY = enums.ECORE_FILE_EVENT_CREATED_DIRECTORY
|
||||
ECORE_FILE_EVENT_DELETED_FILE = enums.ECORE_FILE_EVENT_DELETED_FILE
|
||||
ECORE_FILE_EVENT_DELETED_DIRECTORY = enums.ECORE_FILE_EVENT_DELETED_DIRECTORY
|
||||
ECORE_FILE_EVENT_DELETED_SELF = enums.ECORE_FILE_EVENT_DELETED_SELF
|
||||
ECORE_FILE_EVENT_MODIFIED = enums.ECORE_FILE_EVENT_MODIFIED
|
||||
ECORE_FILE_EVENT_CLOSED = enums.ECORE_FILE_EVENT_CLOSED
|
||||
|
||||
ECORE_FILE_PROGRESS_CONTINUE = enums.ECORE_FILE_PROGRESS_CONTINUE
|
||||
ECORE_FILE_PROGRESS_ABORT = enums.ECORE_FILE_PROGRESS_ABORT
|
||||
|
||||
|
||||
cdef Eina_Bool _ecore_task_cb(void *data) with gil:
|
||||
cdef:
|
||||
|
@ -288,15 +362,15 @@ def init():
|
|||
|
||||
global _event_type_mapping
|
||||
_event_type_mapping = {
|
||||
ECORE_EVENT_SIGNAL_USER: EventSignalUser,
|
||||
ECORE_EVENT_SIGNAL_HUP: EventSignalHup,
|
||||
ECORE_EVENT_SIGNAL_EXIT: EventSignalExit,
|
||||
ECORE_EVENT_SIGNAL_POWER: EventSignalPower,
|
||||
ECORE_EVENT_SIGNAL_REALTIME: EventSignalRealtime,
|
||||
ECORE_EXE_EVENT_ADD: EventExeAdd,
|
||||
ECORE_EXE_EVENT_DEL: EventExeDel,
|
||||
ECORE_EXE_EVENT_DATA: EventExeData,
|
||||
ECORE_EXE_EVENT_ERROR: EventExeData,
|
||||
enums.ECORE_EVENT_SIGNAL_USER: EventSignalUser,
|
||||
enums.ECORE_EVENT_SIGNAL_HUP: EventSignalHup,
|
||||
enums.ECORE_EVENT_SIGNAL_EXIT: EventSignalExit,
|
||||
enums.ECORE_EVENT_SIGNAL_POWER: EventSignalPower,
|
||||
enums.ECORE_EVENT_SIGNAL_REALTIME: EventSignalRealtime,
|
||||
enums.ECORE_EXE_EVENT_ADD: EventExeAdd,
|
||||
enums.ECORE_EXE_EVENT_DEL: EventExeDel,
|
||||
enums.ECORE_EXE_EVENT_DATA: EventExeData,
|
||||
enums.ECORE_EXE_EVENT_ERROR: EventExeData,
|
||||
}
|
||||
|
||||
ecore_file_init()
|
||||
|
|
|
@ -81,7 +81,7 @@ cdef class EventHandler(object):
|
|||
raise TypeError("Parameter 'func' must be callable")
|
||||
event_cls = _event_type_mapping.get(type, None)
|
||||
if event_cls is None:
|
||||
raise ValueError("Unknow Ecore_Event type %d" % type)
|
||||
raise ValueError("Unknown Ecore_Event type %d" % type)
|
||||
self.type = type
|
||||
self.event_cls = event_cls
|
||||
self.func = func
|
||||
|
@ -174,7 +174,7 @@ cdef class EventSignalUser2(EventSignalUser):
|
|||
|
||||
cdef class EventHandlerSignalUser(EventHandler):
|
||||
def __init__(self, func, *args, **kargs):
|
||||
EventHandler.__init__(self, ECORE_EVENT_SIGNAL_USER,
|
||||
EventHandler.__init__(self, enums.ECORE_EVENT_SIGNAL_USER,
|
||||
func, *args, **kargs)
|
||||
|
||||
cdef Eina_Bool _exec(self, void *event) except 2:
|
||||
|
@ -206,7 +206,7 @@ cdef class EventSignalHup(Event):
|
|||
|
||||
|
||||
def on_signal_hup(func, *args, **kargs):
|
||||
return EventHandler(ECORE_EVENT_SIGNAL_HUP, func, *args, **kargs)
|
||||
return EventHandler(enums.ECORE_EVENT_SIGNAL_HUP, func, *args, **kargs)
|
||||
|
||||
|
||||
cdef class EventSignalExit(Event):
|
||||
|
@ -253,7 +253,7 @@ cdef class EventSignalTerminate(EventSignalExit):
|
|||
|
||||
cdef class EventHandlerSignalExit(EventHandler):
|
||||
def __init__(self, func, *args, **kargs):
|
||||
EventHandler.__init__(self, ECORE_EVENT_SIGNAL_EXIT,
|
||||
EventHandler.__init__(self, enums.ECORE_EVENT_SIGNAL_EXIT,
|
||||
func, *args, **kargs)
|
||||
|
||||
cdef Eina_Bool _exec(self, void *event) except 2:
|
||||
|
@ -287,7 +287,7 @@ cdef class EventSignalPower(Event):
|
|||
|
||||
|
||||
def on_signal_power(func, *args, **kargs):
|
||||
return EventHandler(ECORE_EVENT_SIGNAL_POWER, func, *args, **kargs)
|
||||
return EventHandler(enums.ECORE_EVENT_SIGNAL_POWER, func, *args, **kargs)
|
||||
|
||||
|
||||
cdef class EventSignalRealtime(Event):
|
||||
|
@ -305,7 +305,7 @@ cdef class EventSignalRealtime(Event):
|
|||
|
||||
|
||||
def on_signal_realtime(func, *args, **kargs):
|
||||
return EventHandler(ECORE_EVENT_SIGNAL_REALTIME, func, *args, **kargs)
|
||||
return EventHandler(enums.ECORE_EVENT_SIGNAL_REALTIME, func, *args, **kargs)
|
||||
|
||||
|
||||
cdef class CustomEvent(Event):
|
||||
|
|
|
@ -25,25 +25,25 @@ cdef extern from "Python.h":
|
|||
|
||||
cdef exe_flags2str(int value):
|
||||
flags = []
|
||||
if value & ECORE_EXE_PIPE_READ:
|
||||
if value & enums.ECORE_EXE_PIPE_READ:
|
||||
flags.append("PIPE_READ")
|
||||
if value & ECORE_EXE_PIPE_WRITE:
|
||||
if value & enums.ECORE_EXE_PIPE_WRITE:
|
||||
flags.append("PIPE_WRITE")
|
||||
if value & ECORE_EXE_PIPE_ERROR:
|
||||
if value & enums.ECORE_EXE_PIPE_ERROR:
|
||||
flags.append("PIPE_ERROR")
|
||||
if value & ECORE_EXE_PIPE_READ_LINE_BUFFERED:
|
||||
if value & enums.ECORE_EXE_PIPE_READ_LINE_BUFFERED:
|
||||
flags.append("PIPE_READ_LINE_BUFFERED")
|
||||
if value & ECORE_EXE_PIPE_ERROR_LINE_BUFFERED:
|
||||
if value & enums.ECORE_EXE_PIPE_ERROR_LINE_BUFFERED:
|
||||
flags.append("PIPE_ERROR_LINE_BUFFERED")
|
||||
if value & ECORE_EXE_PIPE_AUTO:
|
||||
if value & enums.ECORE_EXE_PIPE_AUTO:
|
||||
flags.append("PIPE_AUTO")
|
||||
if value & ECORE_EXE_RESPAWN:
|
||||
if value & enums.ECORE_EXE_RESPAWN:
|
||||
flags.append("RESPAWN")
|
||||
if value & ECORE_EXE_USE_SH:
|
||||
if value & enums.ECORE_EXE_USE_SH:
|
||||
flags.append("USE_SH")
|
||||
if value & ECORE_EXE_NOT_LEADER:
|
||||
if value & enums.ECORE_EXE_NOT_LEADER:
|
||||
flags.append("NOT_LEADER")
|
||||
if value & ECORE_EXE_TERM_WITH_PARENT:
|
||||
if value & enums.ECORE_EXE_TERM_WITH_PARENT:
|
||||
flags.append("ECORE_EXE_TERM_WITH_PARENT")
|
||||
return ", ".join(flags)
|
||||
|
||||
|
@ -60,17 +60,17 @@ cdef Eina_Bool _exe_event_filter_cb(void *data, int type, void *event) with gil:
|
|||
|
||||
try:
|
||||
assert self.event_type == type, "event is not what we asked? impossible"
|
||||
if type == ECORE_EXE_EVENT_ADD:
|
||||
if type == enums.ECORE_EXE_EVENT_ADD:
|
||||
e_add = <Ecore_Exe_Event_Add *>event
|
||||
if e_add.exe != self.exe:
|
||||
return 1
|
||||
e = EventExeAdd()
|
||||
elif type == ECORE_EXE_EVENT_DEL:
|
||||
elif type == enums.ECORE_EXE_EVENT_DEL:
|
||||
e_del = <Ecore_Exe_Event_Del *>event
|
||||
if e_del.exe != self.exe:
|
||||
return 1
|
||||
e = EventExeDel()
|
||||
elif type == ECORE_EXE_EVENT_DATA or type == ECORE_EXE_EVENT_ERROR:
|
||||
elif type == enums.ECORE_EXE_EVENT_DATA or type == enums.ECORE_EXE_EVENT_ERROR:
|
||||
e_data = <Ecore_Exe_Event_Data *>event
|
||||
if e_data.exe != self.exe:
|
||||
return 1
|
||||
|
@ -648,10 +648,10 @@ cdef class Exe(object):
|
|||
:see: on_exe_add_event_add()
|
||||
|
||||
"""
|
||||
filter = self.__callbacks.get(ECORE_EXE_EVENT_ADD)
|
||||
filter = self.__callbacks.get(enums.ECORE_EXE_EVENT_ADD)
|
||||
if filter is None:
|
||||
filter = ExeEventFilter(self, ECORE_EXE_EVENT_ADD)
|
||||
self.__callbacks[ECORE_EXE_EVENT_ADD] = filter
|
||||
filter = ExeEventFilter(self, enums.ECORE_EXE_EVENT_ADD)
|
||||
self.__callbacks[enums.ECORE_EXE_EVENT_ADD] = filter
|
||||
filter.callback_add(func, args, kargs)
|
||||
|
||||
def on_add_event_del(self, func, *args, **kargs):
|
||||
|
@ -662,7 +662,7 @@ cdef class Exe(object):
|
|||
:raise ValueError: if parameters don't match an already
|
||||
registered callback.
|
||||
"""
|
||||
filter = self.__callbacks.get(ECORE_EXE_EVENT_ADD)
|
||||
filter = self.__callbacks.get(enums.ECORE_EXE_EVENT_ADD)
|
||||
if filter is None:
|
||||
raise ValueError("callback not registered %s, args=%s, kargs=%s" %
|
||||
(func, args, kargs))
|
||||
|
@ -684,10 +684,10 @@ cdef class Exe(object):
|
|||
:see: on_del_event_del()
|
||||
:see: on_exe_del_event_add()
|
||||
"""
|
||||
filter = self.__callbacks.get(ECORE_EXE_EVENT_DEL)
|
||||
filter = self.__callbacks.get(enums.ECORE_EXE_EVENT_DEL)
|
||||
if filter is None:
|
||||
filter = ExeEventFilter(self, ECORE_EXE_EVENT_DEL)
|
||||
self.__callbacks[ECORE_EXE_EVENT_DEL] = filter
|
||||
filter = ExeEventFilter(self, enums.ECORE_EXE_EVENT_DEL)
|
||||
self.__callbacks[enums.ECORE_EXE_EVENT_DEL] = filter
|
||||
filter.callback_add(func, args, kargs)
|
||||
|
||||
def on_del_event_del(self, func, *args, **kargs):
|
||||
|
@ -698,7 +698,7 @@ cdef class Exe(object):
|
|||
:raise ValueError: if parameters don't match an already
|
||||
registered callback.
|
||||
"""
|
||||
filter = self.__callbacks.get(ECORE_EXE_EVENT_DEL)
|
||||
filter = self.__callbacks.get(enums.ECORE_EXE_EVENT_DEL)
|
||||
if filter is None:
|
||||
raise ValueError("callback not registered %s, args=%s, kargs=%s" %
|
||||
(func, args, kargs))
|
||||
|
@ -720,10 +720,10 @@ cdef class Exe(object):
|
|||
:see: on_data_event_del()
|
||||
:see: on_exe_data_event_add()
|
||||
"""
|
||||
filter = self.__callbacks.get(ECORE_EXE_EVENT_DATA)
|
||||
filter = self.__callbacks.get(enums.ECORE_EXE_EVENT_DATA)
|
||||
if filter is None:
|
||||
filter = ExeEventFilter(self, ECORE_EXE_EVENT_DATA)
|
||||
self.__callbacks[ECORE_EXE_EVENT_DATA] = filter
|
||||
filter = ExeEventFilter(self, enums.ECORE_EXE_EVENT_DATA)
|
||||
self.__callbacks[enums.ECORE_EXE_EVENT_DATA] = filter
|
||||
filter.callback_add(func, args, kargs)
|
||||
|
||||
def on_data_event_del(self, func, *args, **kargs):
|
||||
|
@ -734,7 +734,7 @@ cdef class Exe(object):
|
|||
:raise ValueError: if parameters don't match an already
|
||||
registered callback.
|
||||
"""
|
||||
filter = self.__callbacks.get(ECORE_EXE_EVENT_DATA)
|
||||
filter = self.__callbacks.get(enums.ECORE_EXE_EVENT_DATA)
|
||||
if filter is None:
|
||||
raise ValueError("callback not registered %s, args=%s, kargs=%s" %
|
||||
(func, args, kargs))
|
||||
|
@ -756,10 +756,10 @@ cdef class Exe(object):
|
|||
:see: on_error_event_del()
|
||||
:see: on_exe_error_event_add()
|
||||
"""
|
||||
filter = self.__callbacks.get(ECORE_EXE_EVENT_ERROR)
|
||||
filter = self.__callbacks.get(enums.ECORE_EXE_EVENT_ERROR)
|
||||
if filter is None:
|
||||
filter = ExeEventFilter(self, ECORE_EXE_EVENT_ERROR)
|
||||
self.__callbacks[ECORE_EXE_EVENT_ERROR] = filter
|
||||
filter = ExeEventFilter(self, enums.ECORE_EXE_EVENT_ERROR)
|
||||
self.__callbacks[enums.ECORE_EXE_EVENT_ERROR] = filter
|
||||
filter.callback_add(func, args, kargs)
|
||||
|
||||
def on_error_event_del(self, func, *args, **kargs):
|
||||
|
@ -770,7 +770,7 @@ cdef class Exe(object):
|
|||
:raise ValueError: if parameters don't match an already
|
||||
registered callback.
|
||||
"""
|
||||
filter = self.__callbacks.get(ECORE_EXE_EVENT_ERROR)
|
||||
filter = self.__callbacks.get(enums.ECORE_EXE_EVENT_ERROR)
|
||||
if filter is None:
|
||||
raise ValueError("callback not registered %s, args=%s, kargs=%s" %
|
||||
(func, args, kargs))
|
||||
|
@ -899,7 +899,7 @@ def on_exe_add_event_add(func, *args, **kargs):
|
|||
:see: EventHandler
|
||||
:see: EventHandlerExe
|
||||
"""
|
||||
return EventHandlerExe(ECORE_EXE_EVENT_ADD, func, *args, **kargs)
|
||||
return EventHandlerExe(enums.ECORE_EXE_EVENT_ADD, func, *args, **kargs)
|
||||
|
||||
|
||||
def on_exe_del_event_add(func, *args, **kargs):
|
||||
|
@ -908,7 +908,7 @@ def on_exe_del_event_add(func, *args, **kargs):
|
|||
:see: EventHandler
|
||||
:see: EventHandlerExe
|
||||
"""
|
||||
return EventHandlerExe(ECORE_EXE_EVENT_DEL, func, *args, **kargs)
|
||||
return EventHandlerExe(enums.ECORE_EXE_EVENT_DEL, func, *args, **kargs)
|
||||
|
||||
|
||||
def on_exe_data_event_add(func, *args, **kargs):
|
||||
|
@ -917,7 +917,7 @@ def on_exe_data_event_add(func, *args, **kargs):
|
|||
:see: EventHandler
|
||||
:see: EventHandlerExe
|
||||
"""
|
||||
return EventHandlerExe(ECORE_EXE_EVENT_DATA, func, *args, **kargs)
|
||||
return EventHandlerExe(enums.ECORE_EXE_EVENT_DATA, func, *args, **kargs)
|
||||
|
||||
|
||||
def on_exe_error_event_add(func, *args, **kargs):
|
||||
|
@ -926,4 +926,4 @@ def on_exe_error_event_add(func, *args, **kargs):
|
|||
:see: :py:class:`EventHandler`
|
||||
:see: :py:class:`EventHandlerExe`
|
||||
"""
|
||||
return EventHandlerExe(ECORE_EXE_EVENT_ERROR, func, *args, **kargs)
|
||||
return EventHandlerExe(enums.ECORE_EXE_EVENT_ERROR, func, *args, **kargs)
|
||||
|
|
|
@ -31,11 +31,11 @@ cdef void fd_handler_prepare_cb(void *data, Ecore_Fd_Handler *fdh) with gil:
|
|||
|
||||
cdef flags2str(int value):
|
||||
flags = []
|
||||
if value & <int>ECORE_FD_READ:
|
||||
if value & <int>enums.ECORE_FD_READ:
|
||||
flags.append("READ")
|
||||
if value & <int>ECORE_FD_WRITE:
|
||||
if value & <int>enums.ECORE_FD_WRITE:
|
||||
flags.append("WRITE")
|
||||
if value & <int>ECORE_FD_ERROR:
|
||||
if value & <int>enums.ECORE_FD_ERROR:
|
||||
flags.append("ERROR")
|
||||
return ", ".join(flags)
|
||||
|
||||
|
@ -204,15 +204,15 @@ cdef class FdHandler(object):
|
|||
|
||||
def can_read(self):
|
||||
""":rtype: bool"""
|
||||
return bool(ecore_main_fd_handler_active_get(self.obj, ECORE_FD_READ))
|
||||
return bool(ecore_main_fd_handler_active_get(self.obj, enums.ECORE_FD_READ))
|
||||
|
||||
def can_write(self):
|
||||
""":rtype: bool"""
|
||||
return bool(ecore_main_fd_handler_active_get(self.obj, ECORE_FD_WRITE))
|
||||
return bool(ecore_main_fd_handler_active_get(self.obj, enums.ECORE_FD_WRITE))
|
||||
|
||||
def has_error(self):
|
||||
""":rtype: bool"""
|
||||
return bool(ecore_main_fd_handler_active_get(self.obj, ECORE_FD_ERROR))
|
||||
return bool(ecore_main_fd_handler_active_get(self.obj, enums.ECORE_FD_ERROR))
|
||||
|
||||
def prepare_callback_set(self, func, *args, **kargs):
|
||||
"""Set a function to call before doing the select() on the fd.
|
||||
|
|
|
@ -173,6 +173,32 @@ import atexit
|
|||
from efl.ecore cimport _event_mapping_register, _event_mapping_get, \
|
||||
ecore_event_handler_add, ecore_event_handler_del
|
||||
|
||||
cimport efl.ecore_con.enums as enums
|
||||
|
||||
ECORE_CON_LOCAL_USER = enums.ECORE_CON_LOCAL_USER
|
||||
ECORE_CON_LOCAL_SYSTEM = enums.ECORE_CON_LOCAL_SYSTEM
|
||||
ECORE_CON_LOCAL_ABSTRACT = enums.ECORE_CON_LOCAL_ABSTRACT
|
||||
ECORE_CON_REMOTE_TCP = enums.ECORE_CON_REMOTE_TCP
|
||||
ECORE_CON_REMOTE_MCAST = enums.ECORE_CON_REMOTE_MCAST
|
||||
ECORE_CON_REMOTE_UDP = enums.ECORE_CON_REMOTE_UDP
|
||||
ECORE_CON_REMOTE_BROADCAST = enums.ECORE_CON_REMOTE_BROADCAST
|
||||
ECORE_CON_REMOTE_NODELAY = enums.ECORE_CON_REMOTE_NODELAY
|
||||
ECORE_CON_REMOTE_CORK = enums.ECORE_CON_REMOTE_CORK
|
||||
ECORE_CON_USE_SSL2 = enums.ECORE_CON_USE_SSL2
|
||||
ECORE_CON_USE_SSL3 = enums.ECORE_CON_USE_SSL3
|
||||
ECORE_CON_USE_TLS = enums.ECORE_CON_USE_TLS
|
||||
ECORE_CON_USE_MIXED = enums.ECORE_CON_USE_MIXED
|
||||
ECORE_CON_LOAD_CERT = enums.ECORE_CON_LOAD_CERT
|
||||
ECORE_CON_NO_PROXY = enums.ECORE_CON_NO_PROXY
|
||||
ECORE_CON_SOCKET_ACTIVATE = enums.ECORE_CON_SOCKET_ACTIVATE
|
||||
|
||||
ECORE_CON_URL_TIME_NONE = enums.ECORE_CON_URL_TIME_NONE
|
||||
ECORE_CON_URL_TIME_IFMODSINCE = enums.ECORE_CON_URL_TIME_IFMODSINCE
|
||||
ECORE_CON_URL_TIME_IFUNMODSINCE = enums.ECORE_CON_URL_TIME_IFUNMODSINCE
|
||||
|
||||
ECORE_CON_URL_HTTP_VERSION_1_0 = enums.ECORE_CON_URL_HTTP_VERSION_1_0
|
||||
ECORE_CON_URL_HTTP_VERSION_1_1 = enums.ECORE_CON_URL_HTTP_VERSION_1_1
|
||||
|
||||
|
||||
cdef int _con_events_registered = 0
|
||||
|
||||
|
|
|
@ -87,6 +87,7 @@ Classes and Functions
|
|||
import atexit
|
||||
import traceback
|
||||
|
||||
cimport efl.ecore_input.enums as enums
|
||||
|
||||
def init():
|
||||
""" Initialize the Ecore Input library
|
||||
|
|
|
@ -20,6 +20,21 @@ from efl.utils.conversions cimport _ctouni
|
|||
from efl.ecore cimport _event_mapping_register, _event_mapping_get
|
||||
|
||||
|
||||
ECORE_EVENT_MODIFIER_SHIFT = enums.ECORE_EVENT_MODIFIER_SHIFT
|
||||
ECORE_EVENT_MODIFIER_CTRL = enums.ECORE_EVENT_MODIFIER_CTRL
|
||||
ECORE_EVENT_MODIFIER_ALT = enums.ECORE_EVENT_MODIFIER_ALT
|
||||
ECORE_EVENT_MODIFIER_WIN = enums.ECORE_EVENT_MODIFIER_WIN
|
||||
ECORE_EVENT_MODIFIER_SCROLL = enums.ECORE_EVENT_MODIFIER_SCROLL
|
||||
ECORE_EVENT_MODIFIER_NUM = enums.ECORE_EVENT_MODIFIER_NUM
|
||||
ECORE_EVENT_MODIFIER_CAPS = enums.ECORE_EVENT_MODIFIER_CAPS
|
||||
ECORE_EVENT_LOCK_SCROLL = enums.ECORE_EVENT_LOCK_SCROLL
|
||||
ECORE_EVENT_LOCK_NUM = enums.ECORE_EVENT_LOCK_NUM
|
||||
ECORE_EVENT_LOCK_CAPS = enums.ECORE_EVENT_LOCK_CAPS
|
||||
ECORE_EVENT_LOCK_SHIFT = enums.ECORE_EVENT_LOCK_SHIFT
|
||||
ECORE_EVENT_MODIFIER_ALTGR = enums.ECORE_EVENT_MODIFIER_ALTGR
|
||||
|
||||
|
||||
|
||||
cdef int _input_events_registered = 0
|
||||
|
||||
cdef int _ecore_input_events_register() except 0:
|
||||
|
|
|
@ -45,6 +45,135 @@ import traceback
|
|||
import warnings
|
||||
import atexit
|
||||
|
||||
cimport efl.edje.enums as enums
|
||||
|
||||
EDJE_MESSAGE_NONE = enums.EDJE_MESSAGE_NONE
|
||||
EDJE_MESSAGE_SIGNAL = enums.EDJE_MESSAGE_SIGNAL
|
||||
EDJE_MESSAGE_STRING = enums.EDJE_MESSAGE_STRING
|
||||
EDJE_MESSAGE_INT = enums.EDJE_MESSAGE_INT
|
||||
EDJE_MESSAGE_FLOAT = enums.EDJE_MESSAGE_FLOAT
|
||||
EDJE_MESSAGE_STRING_SET = enums.EDJE_MESSAGE_STRING_SET
|
||||
EDJE_MESSAGE_INT_SET = enums.EDJE_MESSAGE_INT_SET
|
||||
EDJE_MESSAGE_FLOAT_SET = enums.EDJE_MESSAGE_FLOAT_SET
|
||||
EDJE_MESSAGE_STRING_INT = enums.EDJE_MESSAGE_STRING_INT
|
||||
EDJE_MESSAGE_STRING_FLOAT = enums.EDJE_MESSAGE_STRING_FLOAT
|
||||
EDJE_MESSAGE_STRING_INT_SET = enums.EDJE_MESSAGE_STRING_INT_SET
|
||||
EDJE_MESSAGE_STRING_FLOAT_SET = enums.EDJE_MESSAGE_STRING_FLOAT_SET
|
||||
|
||||
EDJE_ASPECT_CONTROL_NONE = enums.EDJE_ASPECT_CONTROL_NONE
|
||||
EDJE_ASPECT_CONTROL_NEITHER = enums.EDJE_ASPECT_CONTROL_NEITHER
|
||||
EDJE_ASPECT_CONTROL_HORIZONTAL = enums.EDJE_ASPECT_CONTROL_HORIZONTAL
|
||||
EDJE_ASPECT_CONTROL_VERTICAL = enums.EDJE_ASPECT_CONTROL_VERTICAL
|
||||
EDJE_ASPECT_CONTROL_BOTH = enums.EDJE_ASPECT_CONTROL_BOTH
|
||||
|
||||
EDJE_DRAG_DIR_NONE = enums.EDJE_DRAG_DIR_NONE
|
||||
EDJE_DRAG_DIR_X = enums.EDJE_DRAG_DIR_X
|
||||
EDJE_DRAG_DIR_Y = enums.EDJE_DRAG_DIR_Y
|
||||
EDJE_DRAG_DIR_XY = enums.EDJE_DRAG_DIR_XY
|
||||
|
||||
EDJE_LOAD_ERROR_NONE = enums.EDJE_LOAD_ERROR_NONE
|
||||
EDJE_LOAD_ERROR_GENERIC = enums.EDJE_LOAD_ERROR_GENERIC
|
||||
EDJE_LOAD_ERROR_DOES_NOT_EXIST = enums.EDJE_LOAD_ERROR_DOES_NOT_EXIST
|
||||
EDJE_LOAD_ERROR_PERMISSION_DENIED = enums.EDJE_LOAD_ERROR_PERMISSION_DENIED
|
||||
EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED = enums.EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED
|
||||
EDJE_LOAD_ERROR_CORRUPT_FILE = enums.EDJE_LOAD_ERROR_CORRUPT_FILE
|
||||
EDJE_LOAD_ERROR_UNKNOWN_FORMAT = enums.EDJE_LOAD_ERROR_UNKNOWN_FORMAT
|
||||
EDJE_LOAD_ERROR_INCOMPATIBLE_FILE = enums.EDJE_LOAD_ERROR_INCOMPATIBLE_FILE
|
||||
EDJE_LOAD_ERROR_UNKNOWN_COLLECTION = enums.EDJE_LOAD_ERROR_UNKNOWN_COLLECTION
|
||||
EDJE_LOAD_ERROR_RECURSIVE_REFERENCE = enums.EDJE_LOAD_ERROR_RECURSIVE_REFERENCE
|
||||
|
||||
EDJE_PART_TYPE_NONE = enums.EDJE_PART_TYPE_NONE
|
||||
EDJE_PART_TYPE_RECTANGLE = enums.EDJE_PART_TYPE_RECTANGLE
|
||||
EDJE_PART_TYPE_TEXT = enums.EDJE_PART_TYPE_TEXT
|
||||
EDJE_PART_TYPE_IMAGE = enums.EDJE_PART_TYPE_IMAGE
|
||||
EDJE_PART_TYPE_SWALLOW = enums.EDJE_PART_TYPE_SWALLOW
|
||||
EDJE_PART_TYPE_TEXTBLOCK = enums.EDJE_PART_TYPE_TEXTBLOCK
|
||||
EDJE_PART_TYPE_GRADIENT = enums.EDJE_PART_TYPE_GRADIENT
|
||||
EDJE_PART_TYPE_GROUP = enums.EDJE_PART_TYPE_GROUP
|
||||
EDJE_PART_TYPE_BOX = enums.EDJE_PART_TYPE_BOX
|
||||
EDJE_PART_TYPE_TABLE = enums.EDJE_PART_TYPE_TABLE
|
||||
EDJE_PART_TYPE_EXTERNAL = enums.EDJE_PART_TYPE_EXTERNAL
|
||||
EDJE_PART_TYPE_SPACER = enums.EDJE_PART_TYPE_SPACER
|
||||
EDJE_PART_TYPE_MESH_NODE = enums.EDJE_PART_TYPE_MESH_NODE
|
||||
EDJE_PART_TYPE_LIGHT = enums.EDJE_PART_TYPE_LIGHT
|
||||
EDJE_PART_TYPE_CAMERA = enums.EDJE_PART_TYPE_CAMERA
|
||||
EDJE_PART_TYPE_LAST = enums.EDJE_PART_TYPE_LAST
|
||||
|
||||
EDJE_TEXT_EFFECT_NONE = enums.EDJE_TEXT_EFFECT_NONE
|
||||
EDJE_TEXT_EFFECT_PLAIN = enums.EDJE_TEXT_EFFECT_PLAIN
|
||||
EDJE_TEXT_EFFECT_OUTLINE = enums.EDJE_TEXT_EFFECT_OUTLINE
|
||||
EDJE_TEXT_EFFECT_SOFT_OUTLINE = enums.EDJE_TEXT_EFFECT_SOFT_OUTLINE
|
||||
EDJE_TEXT_EFFECT_SHADOW = enums.EDJE_TEXT_EFFECT_SHADOW
|
||||
EDJE_TEXT_EFFECT_SOFT_SHADOW = enums.EDJE_TEXT_EFFECT_SOFT_SHADOW
|
||||
EDJE_TEXT_EFFECT_OUTLINE_SHADOW = enums.EDJE_TEXT_EFFECT_OUTLINE_SHADOW
|
||||
EDJE_TEXT_EFFECT_OUTLINE_SOFT_SHADOW = enums.EDJE_TEXT_EFFECT_OUTLINE_SOFT_SHADOW
|
||||
EDJE_TEXT_EFFECT_FAR_SHADOW = enums.EDJE_TEXT_EFFECT_FAR_SHADOW
|
||||
EDJE_TEXT_EFFECT_FAR_SOFT_SHADOW = enums.EDJE_TEXT_EFFECT_FAR_SOFT_SHADOW
|
||||
EDJE_TEXT_EFFECT_GLOW = enums.EDJE_TEXT_EFFECT_GLOW
|
||||
EDJE_TEXT_EFFECT_LAST = enums.EDJE_TEXT_EFFECT_LAST
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_RIGHT = enums.EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_RIGHT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM = enums.EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_LEFT = enums.EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_LEFT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_LEFT = enums.EDJE_TEXT_EFFECT_SHADOW_DIRECTION_LEFT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_LEFT = enums.EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_LEFT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP = enums.EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_RIGHT = enums.EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_RIGHT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_RIGHT = enums.EDJE_TEXT_EFFECT_SHADOW_DIRECTION_RIGHT
|
||||
|
||||
EDJE_ACTION_TYPE_NONE = enums.EDJE_ACTION_TYPE_NONE
|
||||
EDJE_ACTION_TYPE_STATE_SET = enums.EDJE_ACTION_TYPE_STATE_SET
|
||||
EDJE_ACTION_TYPE_ACTION_STOP = enums.EDJE_ACTION_TYPE_ACTION_STOP
|
||||
EDJE_ACTION_TYPE_SIGNAL_EMIT = enums.EDJE_ACTION_TYPE_SIGNAL_EMIT
|
||||
EDJE_ACTION_TYPE_DRAG_VAL_SET = enums.EDJE_ACTION_TYPE_DRAG_VAL_SET
|
||||
EDJE_ACTION_TYPE_DRAG_VAL_STEP = enums.EDJE_ACTION_TYPE_DRAG_VAL_STEP
|
||||
EDJE_ACTION_TYPE_DRAG_VAL_PAGE = enums.EDJE_ACTION_TYPE_DRAG_VAL_PAGE
|
||||
EDJE_ACTION_TYPE_SCRIPT = enums.EDJE_ACTION_TYPE_SCRIPT
|
||||
EDJE_ACTION_TYPE_FOCUS_SET = enums.EDJE_ACTION_TYPE_FOCUS_SET
|
||||
EDJE_ACTION_TYPE_RESERVED00 = enums.EDJE_ACTION_TYPE_RESERVED00
|
||||
EDJE_ACTION_TYPE_FOCUS_OBJECT = enums.EDJE_ACTION_TYPE_FOCUS_OBJECT
|
||||
EDJE_ACTION_TYPE_PARAM_COPY = enums.EDJE_ACTION_TYPE_PARAM_COPY
|
||||
EDJE_ACTION_TYPE_PARAM_SET = enums.EDJE_ACTION_TYPE_PARAM_SET
|
||||
EDJE_ACTION_TYPE_SOUND_SAMPLE = enums.EDJE_ACTION_TYPE_SOUND_SAMPLE
|
||||
EDJE_ACTION_TYPE_SOUND_TONE = enums.EDJE_ACTION_TYPE_SOUND_TONE
|
||||
EDJE_ACTION_TYPE_PHYSICS_IMPULSE = enums.EDJE_ACTION_TYPE_PHYSICS_IMPULSE
|
||||
EDJE_ACTION_TYPE_PHYSICS_TORQUE_IMPULSE = enums.EDJE_ACTION_TYPE_PHYSICS_TORQUE_IMPULSE
|
||||
EDJE_ACTION_TYPE_PHYSICS_FORCE = enums.EDJE_ACTION_TYPE_PHYSICS_FORCE
|
||||
EDJE_ACTION_TYPE_PHYSICS_TORQUE = enums.EDJE_ACTION_TYPE_PHYSICS_TORQUE
|
||||
EDJE_ACTION_TYPE_PHYSICS_FORCES_CLEAR = enums.EDJE_ACTION_TYPE_PHYSICS_FORCES_CLEAR
|
||||
EDJE_ACTION_TYPE_PHYSICS_VEL_SET = enums.EDJE_ACTION_TYPE_PHYSICS_VEL_SET
|
||||
EDJE_ACTION_TYPE_PHYSICS_ANG_VEL_SET = enums.EDJE_ACTION_TYPE_PHYSICS_ANG_VEL_SET
|
||||
EDJE_ACTION_TYPE_PHYSICS_STOP = enums.EDJE_ACTION_TYPE_PHYSICS_STOP
|
||||
EDJE_ACTION_TYPE_PHYSICS_ROT_SET = enums.EDJE_ACTION_TYPE_PHYSICS_ROT_SET
|
||||
EDJE_ACTION_TYPE_VIBRATION_SAMPLE = enums.EDJE_ACTION_TYPE_VIBRATION_SAMPLE
|
||||
EDJE_ACTION_TYPE_LAST = enums.EDJE_ACTION_TYPE_LAST
|
||||
|
||||
EDJE_TWEEN_MODE_NONE = enums.EDJE_TWEEN_MODE_NONE
|
||||
EDJE_TWEEN_MODE_LINEAR = enums.EDJE_TWEEN_MODE_LINEAR
|
||||
EDJE_TWEEN_MODE_SINUSOIDAL = enums.EDJE_TWEEN_MODE_SINUSOIDAL
|
||||
EDJE_TWEEN_MODE_ACCELERATE = enums.EDJE_TWEEN_MODE_ACCELERATE
|
||||
EDJE_TWEEN_MODE_DECELERATE = enums.EDJE_TWEEN_MODE_DECELERATE
|
||||
EDJE_TWEEN_MODE_ACCELERATE_FACTOR = enums.EDJE_TWEEN_MODE_ACCELERATE_FACTOR
|
||||
EDJE_TWEEN_MODE_DECELERATE_FACTOR = enums.EDJE_TWEEN_MODE_DECELERATE_FACTOR
|
||||
EDJE_TWEEN_MODE_SINUSOIDAL_FACTOR = enums.EDJE_TWEEN_MODE_SINUSOIDAL_FACTOR
|
||||
EDJE_TWEEN_MODE_DIVISOR_INTERP = enums.EDJE_TWEEN_MODE_DIVISOR_INTERP
|
||||
EDJE_TWEEN_MODE_BOUNCE = enums.EDJE_TWEEN_MODE_BOUNCE
|
||||
EDJE_TWEEN_MODE_SPRING = enums.EDJE_TWEEN_MODE_SPRING
|
||||
EDJE_TWEEN_MODE_CUBIC_BEZIER = enums.EDJE_TWEEN_MODE_CUBIC_BEZIER
|
||||
EDJE_TWEEN_MODE_LAST = enums.EDJE_TWEEN_MODE_LAST
|
||||
EDJE_TWEEN_MODE_MASK = enums.EDJE_TWEEN_MODE_MASK
|
||||
EDJE_TWEEN_MODE_OPT_FROM_CURRENT = enums.EDJE_TWEEN_MODE_OPT_FROM_CURRENT
|
||||
|
||||
EDJE_EXTERNAL_PARAM_TYPE_INT = enums.EDJE_EXTERNAL_PARAM_TYPE_INT
|
||||
EDJE_EXTERNAL_PARAM_TYPE_DOUBLE = enums.EDJE_EXTERNAL_PARAM_TYPE_DOUBLE
|
||||
EDJE_EXTERNAL_PARAM_TYPE_STRING = enums.EDJE_EXTERNAL_PARAM_TYPE_STRING
|
||||
EDJE_EXTERNAL_PARAM_TYPE_BOOL = enums.EDJE_EXTERNAL_PARAM_TYPE_BOOL
|
||||
EDJE_EXTERNAL_PARAM_TYPE_CHOICE = enums.EDJE_EXTERNAL_PARAM_TYPE_CHOICE
|
||||
EDJE_EXTERNAL_PARAM_TYPE_MAX = enums.EDJE_EXTERNAL_PARAM_TYPE_MAX
|
||||
|
||||
EDJE_INPUT_HINT_NONE = enums.EDJE_INPUT_HINT_NONE
|
||||
EDJE_INPUT_HINT_AUTO_COMPLETE = enums.EDJE_INPUT_HINT_AUTO_COMPLETE
|
||||
EDJE_INPUT_HINT_SENSITIVE_DATA = enums.EDJE_INPUT_HINT_SENSITIVE_DATA
|
||||
|
||||
|
||||
def init():
|
||||
cdef int r = edje_init()
|
||||
|
|
|
@ -60,15 +60,15 @@ cdef class ExternalParam:
|
|||
def __get__(self):
|
||||
if self.obj == NULL:
|
||||
raise ValueError("Object uninitialized")
|
||||
if self.obj.type == <int>EDJE_EXTERNAL_PARAM_TYPE_INT:
|
||||
if self.obj.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_INT:
|
||||
return self.obj.i
|
||||
elif self.obj.type == <int>EDJE_EXTERNAL_PARAM_TYPE_DOUBLE:
|
||||
elif self.obj.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_DOUBLE:
|
||||
return self.obj.d
|
||||
elif self.obj.type == <int>EDJE_EXTERNAL_PARAM_TYPE_STRING or \
|
||||
self.obj.type == <int>EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
|
||||
elif self.obj.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_STRING or \
|
||||
self.obj.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
|
||||
if self.obj.s != NULL:
|
||||
return self.obj.s
|
||||
elif self.obj.type == <int>EDJE_EXTERNAL_PARAM_TYPE_BOOL:
|
||||
elif self.obj.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_BOOL:
|
||||
return bool(self.obj.i)
|
||||
|
||||
|
||||
|
@ -308,15 +308,15 @@ cdef class ExternalParamInfoChoice(ExternalParamInfo):
|
|||
|
||||
cdef ExternalParamInfo ExternalParamInfo_from_ptr(type, Edje_External_Param_Info *ptr):
|
||||
cdef ExternalParamInfo p
|
||||
if ptr.type == <int>EDJE_EXTERNAL_PARAM_TYPE_INT:
|
||||
if ptr.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_INT:
|
||||
p = ExternalParamInfoInt()
|
||||
elif ptr.type == <int>EDJE_EXTERNAL_PARAM_TYPE_DOUBLE:
|
||||
elif ptr.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_DOUBLE:
|
||||
p = ExternalParamInfoDouble()
|
||||
elif ptr.type == <int>EDJE_EXTERNAL_PARAM_TYPE_STRING:
|
||||
elif ptr.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_STRING:
|
||||
p = ExternalParamInfoString()
|
||||
elif ptr.type == <int>EDJE_EXTERNAL_PARAM_TYPE_BOOL:
|
||||
elif ptr.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_BOOL:
|
||||
p = ExternalParamInfoBool()
|
||||
elif ptr.type == <int>EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
|
||||
elif ptr.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
|
||||
p = ExternalParamInfoChoice()
|
||||
else:
|
||||
msg = "Don't know how to convert parameter %s of type %s" % \
|
||||
|
|
|
@ -345,29 +345,29 @@ cdef Message MessageStringFloatSet_from_ptr(void *msg):
|
|||
|
||||
cdef Message Message_from_type(Edje_Message_Type type, int id, void *msg):
|
||||
cdef Message m
|
||||
if type == <int>EDJE_MESSAGE_NONE:
|
||||
if type == <int>enums.EDJE_MESSAGE_NONE:
|
||||
return None
|
||||
elif type == <int>EDJE_MESSAGE_SIGNAL:
|
||||
elif type == <int>enums.EDJE_MESSAGE_SIGNAL:
|
||||
m = MessageSignal()
|
||||
elif type == <int>EDJE_MESSAGE_STRING:
|
||||
elif type == <int>enums.EDJE_MESSAGE_STRING:
|
||||
m = MessageString_from_ptr(msg)
|
||||
elif type == <int>EDJE_MESSAGE_INT:
|
||||
elif type == <int>enums.EDJE_MESSAGE_INT:
|
||||
m = MessageInt_from_ptr(msg)
|
||||
elif type == <int>EDJE_MESSAGE_FLOAT:
|
||||
elif type == <int>enums.EDJE_MESSAGE_FLOAT:
|
||||
m = MessageFloat_from_ptr(msg)
|
||||
elif type == <int>EDJE_MESSAGE_STRING_SET:
|
||||
elif type == <int>enums.EDJE_MESSAGE_STRING_SET:
|
||||
m = MessageStringSet_from_ptr(msg)
|
||||
elif type == <int>EDJE_MESSAGE_INT_SET:
|
||||
elif type == <int>enums.EDJE_MESSAGE_INT_SET:
|
||||
m = MessageIntSet_from_ptr(msg)
|
||||
elif type == <int>EDJE_MESSAGE_FLOAT_SET:
|
||||
elif type == <int>enums.EDJE_MESSAGE_FLOAT_SET:
|
||||
m = MessageFloatSet_from_ptr(msg)
|
||||
elif type == <int>EDJE_MESSAGE_STRING_INT:
|
||||
elif type == <int>enums.EDJE_MESSAGE_STRING_INT:
|
||||
m = MessageStringInt_from_ptr(msg)
|
||||
elif type == <int>EDJE_MESSAGE_STRING_FLOAT:
|
||||
elif type == <int>enums.EDJE_MESSAGE_STRING_FLOAT:
|
||||
m = MessageStringFloat_from_ptr(msg)
|
||||
elif type == <int>EDJE_MESSAGE_STRING_INT_SET :
|
||||
elif type == <int>enums.EDJE_MESSAGE_STRING_INT_SET :
|
||||
m = MessageStringIntSet_from_ptr(msg)
|
||||
elif type == <int>EDJE_MESSAGE_STRING_FLOAT_SET :
|
||||
elif type == <int>enums.EDJE_MESSAGE_STRING_FLOAT_SET :
|
||||
m = MessageStringFloatSet_from_ptr(msg)
|
||||
|
||||
m._type = type
|
||||
|
|
|
@ -60,23 +60,23 @@ cdef void signal_cb(void *data, Evas_Object *obj,
|
|||
|
||||
class EdjeLoadError(Exception):
|
||||
def __init__(self, int code, char *file, char *group):
|
||||
if code == EDJE_LOAD_ERROR_NONE:
|
||||
if code == enums.EDJE_LOAD_ERROR_NONE:
|
||||
msg = "No error"
|
||||
elif code == EDJE_LOAD_ERROR_GENERIC:
|
||||
elif code == enums.EDJE_LOAD_ERROR_GENERIC:
|
||||
msg = "Generic error"
|
||||
elif code == EDJE_LOAD_ERROR_DOES_NOT_EXIST:
|
||||
elif code == enums.EDJE_LOAD_ERROR_DOES_NOT_EXIST:
|
||||
msg = "Does not exist"
|
||||
elif code == EDJE_LOAD_ERROR_PERMISSION_DENIED:
|
||||
elif code == enums.EDJE_LOAD_ERROR_PERMISSION_DENIED:
|
||||
msg = "Permission denied"
|
||||
elif code == EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED:
|
||||
elif code == enums.EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED:
|
||||
msg = "Resource allocation failed"
|
||||
elif code == EDJE_LOAD_ERROR_CORRUPT_FILE:
|
||||
elif code == enums.EDJE_LOAD_ERROR_CORRUPT_FILE:
|
||||
msg = "Corrupt file"
|
||||
elif code == EDJE_LOAD_ERROR_UNKNOWN_FORMAT:
|
||||
elif code == enums.EDJE_LOAD_ERROR_UNKNOWN_FORMAT:
|
||||
msg = "Unknown format"
|
||||
elif code == EDJE_LOAD_ERROR_INCOMPATIBLE_FILE:
|
||||
elif code == enums.EDJE_LOAD_ERROR_INCOMPATIBLE_FILE:
|
||||
msg = "Incompatible file"
|
||||
elif code == EDJE_LOAD_ERROR_UNKNOWN_COLLECTION:
|
||||
elif code == enums.EDJE_LOAD_ERROR_UNKNOWN_COLLECTION:
|
||||
msg = "Unknown collection"
|
||||
|
||||
self.code = code
|
||||
|
@ -852,13 +852,13 @@ cdef class Edje(Object):
|
|||
|
||||
p.name = c_param
|
||||
if isinstance(value, bool): # bool is int, so keep it before!
|
||||
p.type = EDJE_EXTERNAL_PARAM_TYPE_BOOL
|
||||
p.type = enums.EDJE_EXTERNAL_PARAM_TYPE_BOOL
|
||||
p.i = value
|
||||
elif isinstance(value, int):
|
||||
p.type = EDJE_EXTERNAL_PARAM_TYPE_INT
|
||||
p.type = enums.EDJE_EXTERNAL_PARAM_TYPE_INT
|
||||
p.i = value
|
||||
elif isinstance(value, float):
|
||||
p.type = EDJE_EXTERNAL_PARAM_TYPE_DOUBLE
|
||||
p.type = enums.EDJE_EXTERNAL_PARAM_TYPE_DOUBLE
|
||||
p.d = value
|
||||
elif isinstance(value, (str, unicode)):
|
||||
# may be STRING or CHOICE
|
||||
|
@ -904,19 +904,19 @@ cdef class Edje(Object):
|
|||
|
||||
p.name = c_param
|
||||
p.type = edje_object_part_external_param_type_get(self.obj, c_part, c_param)
|
||||
if p.type >= <int>EDJE_EXTERNAL_PARAM_TYPE_MAX:
|
||||
if p.type >= <int>enums.EDJE_EXTERNAL_PARAM_TYPE_MAX:
|
||||
return None
|
||||
|
||||
if not edje_object_part_external_param_get(self.obj, c_part, &p):
|
||||
return None
|
||||
if p.type == <int>EDJE_EXTERNAL_PARAM_TYPE_BOOL:
|
||||
if p.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_BOOL:
|
||||
return bool(p.i)
|
||||
elif p.type == <int>EDJE_EXTERNAL_PARAM_TYPE_INT:
|
||||
elif p.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_INT:
|
||||
return p.i
|
||||
elif p.type == <int>EDJE_EXTERNAL_PARAM_TYPE_DOUBLE:
|
||||
elif p.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_DOUBLE:
|
||||
return p.d
|
||||
elif p.type == <int>EDJE_EXTERNAL_PARAM_TYPE_STRING or \
|
||||
p.type == <int>EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
|
||||
elif p.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_STRING or \
|
||||
p.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
|
||||
return _ctouni(p.s)
|
||||
|
||||
def part_box_append(self, part, Object obj):
|
||||
|
@ -1199,18 +1199,18 @@ cdef class Edje(Object):
|
|||
cdef void message_send_int(self, int id, int data):
|
||||
cdef Edje_Message_Int m
|
||||
m.val = data
|
||||
edje_object_message_send(self.obj, EDJE_MESSAGE_INT, id, <void*>&m)
|
||||
edje_object_message_send(self.obj, enums.EDJE_MESSAGE_INT, id, <void*>&m)
|
||||
|
||||
cdef void message_send_float(self, int id, float data):
|
||||
cdef Edje_Message_Float m
|
||||
m.val = data
|
||||
edje_object_message_send(self.obj, EDJE_MESSAGE_FLOAT, id, <void*>&m)
|
||||
edje_object_message_send(self.obj, enums.EDJE_MESSAGE_FLOAT, id, <void*>&m)
|
||||
|
||||
cdef void message_send_str(self, int id, data):
|
||||
cdef Edje_Message_String m
|
||||
if isinstance(data, unicode): data = PyUnicode_AsUTF8String(data)
|
||||
m.str = <char *>data if data is not None else NULL
|
||||
edje_object_message_send(self.obj, EDJE_MESSAGE_STRING, id, <void*>&m)
|
||||
edje_object_message_send(self.obj, enums.EDJE_MESSAGE_STRING, id, <void*>&m)
|
||||
|
||||
cdef void message_send_str_set(self, int id, data):
|
||||
cdef int count, i
|
||||
|
@ -1226,7 +1226,7 @@ cdef class Edje(Object):
|
|||
m.str[i] = s
|
||||
i += 1
|
||||
|
||||
edje_object_message_send(self.obj, EDJE_MESSAGE_STRING_SET, id,
|
||||
edje_object_message_send(self.obj, enums.EDJE_MESSAGE_STRING_SET, id,
|
||||
<void*>m)
|
||||
PyMem_Free(m)
|
||||
|
||||
|
@ -1235,7 +1235,7 @@ cdef class Edje(Object):
|
|||
if isinstance(s, unicode): s = PyUnicode_AsUTF8String(s)
|
||||
m.str = <char *>s if s is not None else NULL
|
||||
m.val = i
|
||||
edje_object_message_send(self.obj, EDJE_MESSAGE_STRING_INT, id,
|
||||
edje_object_message_send(self.obj, enums.EDJE_MESSAGE_STRING_INT, id,
|
||||
<void*>&m)
|
||||
|
||||
cdef void message_send_str_float(self, int id, s, float f):
|
||||
|
@ -1243,7 +1243,7 @@ cdef class Edje(Object):
|
|||
if isinstance(s, unicode): s = PyUnicode_AsUTF8String(s)
|
||||
m.str = <char *>s if s is not None else NULL
|
||||
m.val = f
|
||||
edje_object_message_send(self.obj, EDJE_MESSAGE_STRING_FLOAT, id,
|
||||
edje_object_message_send(self.obj, enums.EDJE_MESSAGE_STRING_FLOAT, id,
|
||||
<void*>&m)
|
||||
|
||||
cdef void message_send_str_int_set(self, int id, s, data):
|
||||
|
@ -1262,7 +1262,7 @@ cdef class Edje(Object):
|
|||
m.val[i] = f
|
||||
i += 1
|
||||
|
||||
edje_object_message_send(self.obj, EDJE_MESSAGE_STRING_INT_SET, id,
|
||||
edje_object_message_send(self.obj, enums.EDJE_MESSAGE_STRING_INT_SET, id,
|
||||
<void*>m)
|
||||
PyMem_Free(m)
|
||||
|
||||
|
@ -1283,7 +1283,7 @@ cdef class Edje(Object):
|
|||
m.val[i] = f
|
||||
i += 1
|
||||
|
||||
edje_object_message_send(self.obj, EDJE_MESSAGE_STRING_FLOAT_SET, id,
|
||||
edje_object_message_send(self.obj, enums.EDJE_MESSAGE_STRING_FLOAT_SET, id,
|
||||
<void*>m)
|
||||
PyMem_Free(m)
|
||||
|
||||
|
@ -1301,7 +1301,7 @@ cdef class Edje(Object):
|
|||
m.val[i] = f
|
||||
i += 1
|
||||
|
||||
edje_object_message_send(self.obj, EDJE_MESSAGE_INT_SET, id,
|
||||
edje_object_message_send(self.obj, enums.EDJE_MESSAGE_INT_SET, id,
|
||||
<void*>m)
|
||||
PyMem_Free(m)
|
||||
|
||||
|
@ -1319,7 +1319,7 @@ cdef class Edje(Object):
|
|||
m.val[i] = f
|
||||
i += 1
|
||||
|
||||
edje_object_message_send(self.obj, EDJE_MESSAGE_FLOAT_SET, id,
|
||||
edje_object_message_send(self.obj, enums.EDJE_MESSAGE_FLOAT_SET, id,
|
||||
<void*>m)
|
||||
PyMem_Free(m)
|
||||
|
||||
|
|
|
@ -26,6 +26,12 @@ from efl.evas cimport Canvas
|
|||
from efl.edje cimport Edje_Part_Type, Edje, ExternalParam_from_ptr
|
||||
from efl.edje import EDJE_PART_TYPE_EXTERNAL
|
||||
|
||||
cimport efl.edje_edit.enums as enums
|
||||
|
||||
EDJE_EDIT_IMAGE_COMP_RAW = enums.EDJE_EDIT_IMAGE_COMP_RAW
|
||||
EDJE_EDIT_IMAGE_COMP_USER = enums.EDJE_EDIT_IMAGE_COMP_USER
|
||||
EDJE_EDIT_IMAGE_COMP_COMP = enums.EDJE_EDIT_IMAGE_COMP_COMP
|
||||
EDJE_EDIT_IMAGE_COMP_LOSSY = enums.EDJE_EDIT_IMAGE_COMP_LOSSY
|
||||
|
||||
cdef class EdjeEdit(Edje):
|
||||
|
|
@ -39,9 +39,615 @@ import traceback
|
|||
import atexit
|
||||
|
||||
|
||||
include "elementary_cdef.pxi"
|
||||
cimport efl.elementary.enums as enums
|
||||
|
||||
|
||||
EDJE_CHANNEL_EFFECT = enums.EDJE_CHANNEL_EFFECT
|
||||
EDJE_CHANNEL_BACKGROUND = enums.EDJE_CHANNEL_BACKGROUND
|
||||
EDJE_CHANNEL_MUSIC = enums.EDJE_CHANNEL_MUSIC
|
||||
EDJE_CHANNEL_FOREGROUND = enums.EDJE_CHANNEL_FOREGROUND
|
||||
EDJE_CHANNEL_INTERFACE = enums.EDJE_CHANNEL_INTERFACE
|
||||
EDJE_CHANNEL_INPUT = enums.EDJE_CHANNEL_INPUT
|
||||
EDJE_CHANNEL_ALERT = enums.EDJE_CHANNEL_ALERT
|
||||
EDJE_CHANNEL_ALL = enums.EDJE_CHANNEL_ALL
|
||||
|
||||
|
||||
ELM_EVENT_CONFIG_ALL_CHANGED = enums.ELM_EVENT_CONFIG_ALL_CHANGED
|
||||
ELM_EVENT_POLICY_CHANGED = enums.ELM_EVENT_POLICY_CHANGED
|
||||
ELM_EVENT_PROCESS_BACKGROUND = enums.ELM_EVENT_PROCESS_BACKGROUND
|
||||
ELM_EVENT_PROCESS_FOREGROUND = enums.ELM_EVENT_PROCESS_FOREGROUND
|
||||
ELM_ECORE_EVENT_ETHUMB_CONNECT = enums.ELM_ECORE_EVENT_ETHUMB_CONNECT
|
||||
ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED = enums.ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED
|
||||
ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED = enums.ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED
|
||||
ELM_EVENT_SYSTRAY_READY = enums.ELM_EVENT_SYSTRAY_READY
|
||||
|
||||
|
||||
ELM_FOCUS_PREVIOUS = enums.ELM_FOCUS_PREVIOUS
|
||||
ELM_FOCUS_NEXT = enums.ELM_FOCUS_NEXT
|
||||
ELM_FOCUS_UP = enums.ELM_FOCUS_UP
|
||||
ELM_FOCUS_DOWN = enums.ELM_FOCUS_DOWN
|
||||
ELM_FOCUS_RIGHT = enums.ELM_FOCUS_RIGHT
|
||||
ELM_FOCUS_LEFT = enums.ELM_FOCUS_LEFT
|
||||
|
||||
ELM_FOCUS_MOVE_POLICY_CLICK = enums.ELM_FOCUS_MOVE_POLICY_CLICK
|
||||
ELM_FOCUS_MOVE_POLICY_IN = enums.ELM_FOCUS_MOVE_POLICY_IN
|
||||
ELM_FOCUS_MOVE_POLICY_KEY_ONLY = enums.ELM_FOCUS_MOVE_POLICY_KEY_ONLY
|
||||
|
||||
ELM_FOCUS_REGION_SHOW_WIDGET = enums.ELM_FOCUS_REGION_SHOW_WIDGET
|
||||
ELM_FOCUS_REGION_SHOW_ITEM = enums.ELM_FOCUS_REGION_SHOW_ITEM
|
||||
|
||||
ELM_FOCUS_AUTOSCROLL_MODE_SHOW = enums.ELM_FOCUS_AUTOSCROLL_MODE_SHOW
|
||||
ELM_FOCUS_AUTOSCROLL_MODE_NONE = enums.ELM_FOCUS_AUTOSCROLL_MODE_NONE
|
||||
ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN = enums.ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN
|
||||
|
||||
ELM_SEL_TYPE_PRIMARY = enums.ELM_SEL_TYPE_PRIMARY
|
||||
ELM_SEL_TYPE_SECONDARY = enums.ELM_SEL_TYPE_SECONDARY
|
||||
ELM_SEL_TYPE_XDND = enums.ELM_SEL_TYPE_XDND
|
||||
ELM_SEL_TYPE_CLIPBOARD = enums.ELM_SEL_TYPE_CLIPBOARD
|
||||
|
||||
ELM_SEL_FORMAT_TARGETS = enums.ELM_SEL_FORMAT_TARGETS
|
||||
ELM_SEL_FORMAT_NONE = enums.ELM_SEL_FORMAT_NONE
|
||||
ELM_SEL_FORMAT_TEXT = enums.ELM_SEL_FORMAT_TEXT
|
||||
ELM_SEL_FORMAT_MARKUP = enums.ELM_SEL_FORMAT_MARKUP
|
||||
ELM_SEL_FORMAT_IMAGE = enums.ELM_SEL_FORMAT_IMAGE
|
||||
ELM_SEL_FORMAT_VCARD = enums.ELM_SEL_FORMAT_VCARD
|
||||
ELM_SEL_FORMAT_HTML = enums.ELM_SEL_FORMAT_HTML
|
||||
|
||||
ELM_XDND_ACTION_UNKNOWN = enums.ELM_XDND_ACTION_UNKNOWN
|
||||
ELM_XDND_ACTION_COPY = enums.ELM_XDND_ACTION_COPY
|
||||
ELM_XDND_ACTION_MOVE = enums.ELM_XDND_ACTION_MOVE
|
||||
ELM_XDND_ACTION_PRIVATE = enums.ELM_XDND_ACTION_PRIVATE
|
||||
ELM_XDND_ACTION_ASK = enums.ELM_XDND_ACTION_ASK
|
||||
ELM_XDND_ACTION_LIST = enums.ELM_XDND_ACTION_LIST
|
||||
ELM_XDND_ACTION_LINK = enums.ELM_XDND_ACTION_LINK
|
||||
ELM_XDND_ACTION_DESCRIPTION = enums.ELM_XDND_ACTION_DESCRIPTION
|
||||
|
||||
ELM_TOOLTIP_ORIENT_NONE = enums.ELM_TOOLTIP_ORIENT_NONE
|
||||
ELM_TOOLTIP_ORIENT_TOP_LEFT = enums.ELM_TOOLTIP_ORIENT_TOP_LEFT
|
||||
ELM_TOOLTIP_ORIENT_TOP = enums.ELM_TOOLTIP_ORIENT_TOP
|
||||
ELM_TOOLTIP_ORIENT_TOP_RIGHT = enums.ELM_TOOLTIP_ORIENT_TOP_RIGHT
|
||||
ELM_TOOLTIP_ORIENT_LEFT = enums.ELM_TOOLTIP_ORIENT_LEFT
|
||||
ELM_TOOLTIP_ORIENT_CENTER = enums.ELM_TOOLTIP_ORIENT_CENTER
|
||||
ELM_TOOLTIP_ORIENT_RIGHT = enums.ELM_TOOLTIP_ORIENT_RIGHT
|
||||
ELM_TOOLTIP_ORIENT_BOTTOM_LEFT = enums.ELM_TOOLTIP_ORIENT_BOTTOM_LEFT
|
||||
ELM_TOOLTIP_ORIENT_BOTTOM = enums.ELM_TOOLTIP_ORIENT_BOTTOM
|
||||
ELM_TOOLTIP_ORIENT_BOTTOM_RIGHT = enums.ELM_TOOLTIP_ORIENT_BOTTOM_RIGHT
|
||||
ELM_TOOLTIP_ORIENT_LAST = enums.ELM_TOOLTIP_ORIENT_LAST
|
||||
|
||||
ELM_POLICY_QUIT = enums.ELM_POLICY_QUIT
|
||||
ELM_POLICY_EXIT = enums.ELM_POLICY_EXIT
|
||||
ELM_POLICY_THROTTLE = enums.ELM_POLICY_THROTTLE
|
||||
ELM_POLICY_LAST = enums.ELM_POLICY_LAST
|
||||
|
||||
ELM_POLICY_QUIT_NONE = enums.ELM_POLICY_QUIT_NONE
|
||||
ELM_POLICY_QUIT_LAST_WINDOW_CLOSED = enums.ELM_POLICY_QUIT_LAST_WINDOW_CLOSED
|
||||
ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN = enums.ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN
|
||||
|
||||
ELM_POLICY_EXIT_NONE = enums.ELM_POLICY_EXIT_NONE
|
||||
ELM_POLICY_EXIT_WINDOWS_DEL = enums.ELM_POLICY_EXIT_WINDOWS_DEL
|
||||
|
||||
ELM_POLICY_THROTTLE_CONFIG = enums.ELM_POLICY_THROTTLE_CONFIG
|
||||
ELM_POLICY_THROTTLE_HIDDEN_ALWAYS = enums.ELM_POLICY_THROTTLE_HIDDEN_ALWAYS
|
||||
ELM_POLICY_THROTTLE_NEVER = enums.ELM_POLICY_THROTTLE_NEVER
|
||||
|
||||
ELM_SYS_NOTIFY_URGENCY_LOW = enums.ELM_SYS_NOTIFY_URGENCY_LOW
|
||||
ELM_SYS_NOTIFY_URGENCY_NORMAL = enums.ELM_SYS_NOTIFY_URGENCY_NORMAL
|
||||
ELM_SYS_NOTIFY_URGENCY_CRITICAL = enums.ELM_SYS_NOTIFY_URGENCY_CRITICAL
|
||||
|
||||
ELM_GLOB_MATCH_NO_ESCAPE = enums.ELM_GLOB_MATCH_NO_ESCAPE
|
||||
ELM_GLOB_MATCH_PATH = enums.ELM_GLOB_MATCH_PATH
|
||||
ELM_GLOB_MATCH_PERIOD = enums.ELM_GLOB_MATCH_PERIOD
|
||||
ELM_GLOB_MATCH_NOCASE = enums.ELM_GLOB_MATCH_NOCASE
|
||||
|
||||
ELM_PROCESS_STATE_FOREGROUND = enums.ELM_PROCESS_STATE_FOREGROUND
|
||||
ELM_PROCESS_STATE_BACKGROUND = enums.ELM_PROCESS_STATE_BACKGROUND
|
||||
|
||||
ELM_SYS_NOTIFY_URGENCY_LOW = enums.ELM_SYS_NOTIFY_URGENCY_LOW
|
||||
ELM_SYS_NOTIFY_URGENCY_NORMAL = enums.ELM_SYS_NOTIFY_URGENCY_NORMAL
|
||||
ELM_SYS_NOTIFY_URGENCY_CRITICAL = enums.ELM_SYS_NOTIFY_URGENCY_CRITICAL
|
||||
|
||||
ELM_ACTIONSLIDER_NONE = enums.ELM_ACTIONSLIDER_NONE
|
||||
ELM_ACTIONSLIDER_LEFT = enums.ELM_ACTIONSLIDER_LEFT
|
||||
ELM_ACTIONSLIDER_CENTER = enums.ELM_ACTIONSLIDER_CENTER
|
||||
ELM_ACTIONSLIDER_RIGHT = enums.ELM_ACTIONSLIDER_RIGHT
|
||||
ELM_ACTIONSLIDER_ALL = enums.ELM_ACTIONSLIDER_ALL
|
||||
|
||||
ELM_BG_OPTION_CENTER = enums.ELM_BG_OPTION_CENTER
|
||||
ELM_BG_OPTION_SCALE = enums.ELM_BG_OPTION_SCALE
|
||||
ELM_BG_OPTION_STRETCH = enums.ELM_BG_OPTION_STRETCH
|
||||
ELM_BG_OPTION_TILE = enums.ELM_BG_OPTION_TILE
|
||||
ELM_BG_OPTION_LAST = enums.ELM_BG_OPTION_LAST
|
||||
|
||||
ELM_BUBBLE_POS_TOP_LEFT = enums.ELM_BUBBLE_POS_TOP_LEFT
|
||||
ELM_BUBBLE_POS_TOP_RIGHT = enums.ELM_BUBBLE_POS_TOP_RIGHT
|
||||
ELM_BUBBLE_POS_BOTTOM_LEFT = enums.ELM_BUBBLE_POS_BOTTOM_LEFT
|
||||
ELM_BUBBLE_POS_BOTTOM_RIGHT = enums.ELM_BUBBLE_POS_BOTTOM_RIGHT
|
||||
|
||||
ELM_CALENDAR_UNIQUE = enums.ELM_CALENDAR_UNIQUE
|
||||
ELM_CALENDAR_DAILY = enums.ELM_CALENDAR_DAILY
|
||||
ELM_CALENDAR_WEEKLY = enums.ELM_CALENDAR_WEEKLY
|
||||
ELM_CALENDAR_MONTHLY = enums.ELM_CALENDAR_MONTHLY
|
||||
ELM_CALENDAR_ANNUALLY = enums.ELM_CALENDAR_ANNUALLY
|
||||
ELM_CALENDAR_LAST_DAY_OF_MONTH = enums.ELM_CALENDAR_LAST_DAY_OF_MONTH
|
||||
|
||||
ELM_CALENDAR_SELECT_MODE_DEFAULT = enums.ELM_CALENDAR_SELECT_MODE_DEFAULT
|
||||
ELM_CALENDAR_SELECT_MODE_ALWAYS = enums.ELM_CALENDAR_SELECT_MODE_ALWAYS
|
||||
ELM_CALENDAR_SELECT_MODE_NONE = enums.ELM_CALENDAR_SELECT_MODE_NONE
|
||||
ELM_CALENDAR_SELECT_MODE_ONDEMAND = enums.ELM_CALENDAR_SELECT_MODE_ONDEMAND
|
||||
|
||||
ELM_CALENDAR_SELECTABLE_NONE = enums.ELM_CALENDAR_SELECTABLE_NONE
|
||||
ELM_CALENDAR_SELECTABLE_YEAR = enums.ELM_CALENDAR_SELECTABLE_YEAR
|
||||
ELM_CALENDAR_SELECTABLE_MONTH = enums.ELM_CALENDAR_SELECTABLE_MONTH
|
||||
ELM_CALENDAR_SELECTABLE_DAY = enums.ELM_CALENDAR_SELECTABLE_DAY
|
||||
|
||||
ELM_DAY_SUNDAY = enums.ELM_DAY_SUNDAY
|
||||
ELM_DAY_MONDAY = enums.ELM_DAY_MONDAY
|
||||
ELM_DAY_TUESDAY = enums.ELM_DAY_TUESDAY
|
||||
ELM_DAY_WEDNESDAY = enums.ELM_DAY_WEDNESDAY
|
||||
ELM_DAY_THURSDAY = enums.ELM_DAY_THURSDAY
|
||||
ELM_DAY_FRIDAY = enums.ELM_DAY_FRIDAY
|
||||
ELM_DAY_SATURDAY = enums.ELM_DAY_SATURDAY
|
||||
ELM_DAY_LAST = enums.ELM_DAY_LAST
|
||||
|
||||
ELM_CLOCK_EDIT_DEFAULT = enums.ELM_CLOCK_EDIT_DEFAULT
|
||||
ELM_CLOCK_EDIT_HOUR_DECIMAL = enums.ELM_CLOCK_EDIT_HOUR_DECIMAL
|
||||
ELM_CLOCK_EDIT_HOUR_UNIT = enums.ELM_CLOCK_EDIT_HOUR_UNIT
|
||||
ELM_CLOCK_EDIT_MIN_DECIMAL = enums.ELM_CLOCK_EDIT_MIN_DECIMAL
|
||||
ELM_CLOCK_EDIT_MIN_UNIT = enums.ELM_CLOCK_EDIT_MIN_UNIT
|
||||
ELM_CLOCK_EDIT_SEC_DECIMAL = enums.ELM_CLOCK_EDIT_SEC_DECIMAL
|
||||
ELM_CLOCK_EDIT_SEC_UNIT = enums.ELM_CLOCK_EDIT_SEC_UNIT
|
||||
ELM_CLOCK_EDIT_ALL = enums.ELM_CLOCK_EDIT_ALL
|
||||
|
||||
ELM_COLORSELECTOR_PALETTE = enums.ELM_COLORSELECTOR_PALETTE
|
||||
ELM_COLORSELECTOR_COMPONENTS = enums.ELM_COLORSELECTOR_COMPONENTS
|
||||
ELM_COLORSELECTOR_BOTH = enums.ELM_COLORSELECTOR_BOTH
|
||||
|
||||
ELM_SOFTCURSOR_MODE_AUTO = enums.ELM_SOFTCURSOR_MODE_AUTO
|
||||
ELM_SOFTCURSOR_MODE_ON = enums.ELM_SOFTCURSOR_MODE_ON
|
||||
ELM_SOFTCURSOR_MODE_OFF = enums.ELM_SOFTCURSOR_MODE_OFF
|
||||
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT = enums.ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS = enums.ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS = enums.ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE = enums.ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE
|
||||
|
||||
ELM_CTXPOPUP_DIRECTION_DOWN = enums.ELM_CTXPOPUP_DIRECTION_DOWN
|
||||
ELM_CTXPOPUP_DIRECTION_RIGHT = enums.ELM_CTXPOPUP_DIRECTION_RIGHT
|
||||
ELM_CTXPOPUP_DIRECTION_LEFT = enums.ELM_CTXPOPUP_DIRECTION_LEFT
|
||||
ELM_CTXPOPUP_DIRECTION_UP = enums.ELM_CTXPOPUP_DIRECTION_UP
|
||||
ELM_CTXPOPUP_DIRECTION_UNKNOWN = enums.ELM_CTXPOPUP_DIRECTION_UNKNOWN
|
||||
|
||||
ELM_DATETIME_YEAR = enums.ELM_DATETIME_YEAR
|
||||
ELM_DATETIME_MONTH = enums.ELM_DATETIME_MONTH
|
||||
ELM_DATETIME_DATE = enums.ELM_DATETIME_DATE
|
||||
ELM_DATETIME_HOUR = enums.ELM_DATETIME_HOUR
|
||||
ELM_DATETIME_MINUTE = enums.ELM_DATETIME_MINUTE
|
||||
ELM_DATETIME_AMPM = enums.ELM_DATETIME_AMPM
|
||||
|
||||
ELM_DAYSELECTOR_SUN = enums.ELM_DAYSELECTOR_SUN
|
||||
ELM_DAYSELECTOR_MON = enums.ELM_DAYSELECTOR_MON
|
||||
ELM_DAYSELECTOR_TUE = enums.ELM_DAYSELECTOR_TUE
|
||||
ELM_DAYSELECTOR_WED = enums.ELM_DAYSELECTOR_WED
|
||||
ELM_DAYSELECTOR_THU = enums.ELM_DAYSELECTOR_THU
|
||||
ELM_DAYSELECTOR_FRI = enums.ELM_DAYSELECTOR_FRI
|
||||
ELM_DAYSELECTOR_SAT = enums.ELM_DAYSELECTOR_SAT
|
||||
ELM_DAYSELECTOR_MAX = enums.ELM_DAYSELECTOR_MAX
|
||||
|
||||
ELM_AUTOCAPITAL_TYPE_NONE = enums.ELM_AUTOCAPITAL_TYPE_NONE
|
||||
ELM_AUTOCAPITAL_TYPE_WORD = enums.ELM_AUTOCAPITAL_TYPE_WORD
|
||||
ELM_AUTOCAPITAL_TYPE_SENTENCE = enums.ELM_AUTOCAPITAL_TYPE_SENTENCE
|
||||
ELM_AUTOCAPITAL_TYPE_ALLCHARACTER = enums.ELM_AUTOCAPITAL_TYPE_ALLCHARACTER
|
||||
|
||||
ELM_CNP_MODE_MARKUP = enums.ELM_CNP_MODE_MARKUP
|
||||
ELM_CNP_MODE_NO_IMAGE = enums.ELM_CNP_MODE_NO_IMAGE
|
||||
ELM_CNP_MODE_PLAINTEXT = enums.ELM_CNP_MODE_PLAINTEXT
|
||||
|
||||
ELM_INPUT_HINT_NONE = enums.ELM_INPUT_HINT_NONE
|
||||
ELM_INPUT_HINT_AUTO_COMPLETE = enums.ELM_INPUT_HINT_AUTO_COMPLETE
|
||||
ELM_INPUT_HINT_SENSITIVE_DATA = enums.ELM_INPUT_HINT_SENSITIVE_DATA
|
||||
|
||||
ELM_INPUT_PANEL_LANG_AUTOMATIC = enums.ELM_INPUT_PANEL_LANG_AUTOMATIC
|
||||
ELM_INPUT_PANEL_LANG_ALPHABET = enums.ELM_INPUT_PANEL_LANG_ALPHABET
|
||||
|
||||
ELM_INPUT_PANEL_LAYOUT_NORMAL = enums.ELM_INPUT_PANEL_LAYOUT_NORMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBER = enums.ELM_INPUT_PANEL_LAYOUT_NUMBER
|
||||
ELM_INPUT_PANEL_LAYOUT_EMAIL = enums.ELM_INPUT_PANEL_LAYOUT_EMAIL
|
||||
ELM_INPUT_PANEL_LAYOUT_URL = enums.ELM_INPUT_PANEL_LAYOUT_URL
|
||||
ELM_INPUT_PANEL_LAYOUT_PHONENUMBER = enums.ELM_INPUT_PANEL_LAYOUT_PHONENUMBER
|
||||
ELM_INPUT_PANEL_LAYOUT_IP = enums.ELM_INPUT_PANEL_LAYOUT_IP
|
||||
ELM_INPUT_PANEL_LAYOUT_MONTH = enums.ELM_INPUT_PANEL_LAYOUT_MONTH
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY = enums.ELM_INPUT_PANEL_LAYOUT_NUMBERONLY
|
||||
ELM_INPUT_PANEL_LAYOUT_INVALID = enums.ELM_INPUT_PANEL_LAYOUT_INVALID
|
||||
ELM_INPUT_PANEL_LAYOUT_HEX = enums.ELM_INPUT_PANEL_LAYOUT_HEX
|
||||
ELM_INPUT_PANEL_LAYOUT_TERMINAL = enums.ELM_INPUT_PANEL_LAYOUT_TERMINAL
|
||||
ELM_INPUT_PANEL_LAYOUT_PASSWORD = enums.ELM_INPUT_PANEL_LAYOUT_PASSWORD
|
||||
ELM_INPUT_PANEL_LAYOUT_DATETIME = enums.ELM_INPUT_PANEL_LAYOUT_DATETIME
|
||||
ELM_INPUT_PANEL_LAYOUT_EMOTICON = enums.ELM_INPUT_PANEL_LAYOUT_EMOTICON
|
||||
|
||||
ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_NORMAL = enums.ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_NORMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_FILENAME = enums.ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_FILENAME
|
||||
ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_PERSON_NAME = enums.ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_PERSON_NAME
|
||||
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_NORMAL = enums.ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_NORMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED = enums.ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_DECIMAL = enums.ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_DECIMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED_AND_DECIMAL = enums.ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED_AND_DECIMAL
|
||||
|
||||
ELM_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NORMAL = enums.ELM_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NORMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NUMBERONLY = enums.ELM_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NUMBERONLY
|
||||
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT = enums.ELM_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_DONE = enums.ELM_INPUT_PANEL_RETURN_KEY_TYPE_DONE
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_GO = enums.ELM_INPUT_PANEL_RETURN_KEY_TYPE_GO
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_JOIN = enums.ELM_INPUT_PANEL_RETURN_KEY_TYPE_JOIN
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_LOGIN = enums.ELM_INPUT_PANEL_RETURN_KEY_TYPE_LOGIN
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_NEXT = enums.ELM_INPUT_PANEL_RETURN_KEY_TYPE_NEXT
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEARCH = enums.ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEARCH
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEND = enums.ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEND
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN = enums.ELM_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN
|
||||
|
||||
ELM_TEXT_FORMAT_PLAIN_UTF8 = enums.ELM_TEXT_FORMAT_PLAIN_UTF8
|
||||
ELM_TEXT_FORMAT_MARKUP_UTF8 = enums.ELM_TEXT_FORMAT_MARKUP_UTF8
|
||||
|
||||
ELM_WRAP_NONE = enums.ELM_WRAP_NONE
|
||||
ELM_WRAP_CHAR = enums.ELM_WRAP_CHAR
|
||||
ELM_WRAP_WORD = enums.ELM_WRAP_WORD
|
||||
ELM_WRAP_MIXED = enums.ELM_WRAP_MIXED
|
||||
|
||||
ELM_FILESELECTOR_LIST = enums.ELM_FILESELECTOR_LIST
|
||||
ELM_FILESELECTOR_GRID = enums.ELM_FILESELECTOR_GRID
|
||||
|
||||
ELM_FILESELECTOR_SORT_BY_FILENAME_ASC = enums.ELM_FILESELECTOR_SORT_BY_FILENAME_ASC
|
||||
ELM_FILESELECTOR_SORT_BY_FILENAME_DESC = enums.ELM_FILESELECTOR_SORT_BY_FILENAME_DESC
|
||||
ELM_FILESELECTOR_SORT_BY_TYPE_ASC = enums.ELM_FILESELECTOR_SORT_BY_TYPE_ASC
|
||||
ELM_FILESELECTOR_SORT_BY_TYPE_DESC = enums.ELM_FILESELECTOR_SORT_BY_TYPE_DESC
|
||||
ELM_FILESELECTOR_SORT_BY_SIZE_ASC = enums.ELM_FILESELECTOR_SORT_BY_SIZE_ASC
|
||||
ELM_FILESELECTOR_SORT_BY_SIZE_DESC = enums.ELM_FILESELECTOR_SORT_BY_SIZE_DESC
|
||||
ELM_FILESELECTOR_SORT_BY_MODIFIED_ASC = enums.ELM_FILESELECTOR_SORT_BY_MODIFIED_ASC
|
||||
ELM_FILESELECTOR_SORT_BY_MODIFIED_DESC = enums.ELM_FILESELECTOR_SORT_BY_MODIFIED_DESC
|
||||
ELM_FILESELECTOR_SORT_LAST = enums.ELM_FILESELECTOR_SORT_LAST
|
||||
|
||||
ELM_FLIP_DIRECTION_UP = enums.ELM_FLIP_DIRECTION_UP
|
||||
ELM_FLIP_DIRECTION_DOWN = enums.ELM_FLIP_DIRECTION_DOWN
|
||||
ELM_FLIP_DIRECTION_LEFT = enums.ELM_FLIP_DIRECTION_LEFT
|
||||
ELM_FLIP_DIRECTION_RIGHT = enums.ELM_FLIP_DIRECTION_RIGHT
|
||||
|
||||
ELM_FLIP_INTERACTION_NONE = enums.ELM_FLIP_INTERACTION_NONE
|
||||
ELM_FLIP_INTERACTION_ROTATE = enums.ELM_FLIP_INTERACTION_ROTATE
|
||||
ELM_FLIP_INTERACTION_CUBE = enums.ELM_FLIP_INTERACTION_CUBE
|
||||
ELM_FLIP_INTERACTION_PAGE = enums.ELM_FLIP_INTERACTION_PAGE
|
||||
|
||||
ELM_FLIP_ROTATE_Y_CENTER_AXIS = enums.ELM_FLIP_ROTATE_Y_CENTER_AXIS
|
||||
ELM_FLIP_ROTATE_X_CENTER_AXIS = enums.ELM_FLIP_ROTATE_X_CENTER_AXIS
|
||||
ELM_FLIP_ROTATE_XZ_CENTER_AXIS = enums.ELM_FLIP_ROTATE_XZ_CENTER_AXIS
|
||||
ELM_FLIP_ROTATE_YZ_CENTER_AXIS = enums.ELM_FLIP_ROTATE_YZ_CENTER_AXIS
|
||||
ELM_FLIP_CUBE_LEFT = enums.ELM_FLIP_CUBE_LEFT
|
||||
ELM_FLIP_CUBE_RIGHT = enums.ELM_FLIP_CUBE_RIGHT
|
||||
ELM_FLIP_CUBE_UP = enums.ELM_FLIP_CUBE_UP
|
||||
ELM_FLIP_CUBE_DOWN = enums.ELM_FLIP_CUBE_DOWN
|
||||
ELM_FLIP_PAGE_LEFT = enums.ELM_FLIP_PAGE_LEFT
|
||||
ELM_FLIP_PAGE_RIGHT = enums.ELM_FLIP_PAGE_RIGHT
|
||||
ELM_FLIP_PAGE_UP = enums.ELM_FLIP_PAGE_UP
|
||||
ELM_FLIP_PAGE_DOWN = enums.ELM_FLIP_PAGE_DOWN
|
||||
|
||||
ELM_GENGRID_ITEM_SCROLLTO_NONE = enums.ELM_GENGRID_ITEM_SCROLLTO_NONE
|
||||
ELM_GENGRID_ITEM_SCROLLTO_IN = enums.ELM_GENGRID_ITEM_SCROLLTO_IN
|
||||
ELM_GENGRID_ITEM_SCROLLTO_TOP = enums.ELM_GENGRID_ITEM_SCROLLTO_TOP
|
||||
ELM_GENGRID_ITEM_SCROLLTO_MIDDLE = enums.ELM_GENGRID_ITEM_SCROLLTO_MIDDLE
|
||||
ELM_GENGRID_ITEM_SCROLLTO_BOTTOM = enums.ELM_GENGRID_ITEM_SCROLLTO_BOTTOM
|
||||
|
||||
ELM_GENGRID_REORDER_TYPE_NORMAL = enums.ELM_GENGRID_REORDER_TYPE_NORMAL
|
||||
ELM_GENGRID_REORDER_TYPE_SWAP = enums.ELM_GENGRID_REORDER_TYPE_SWAP
|
||||
|
||||
ELM_GENLIST_ITEM_NONE = enums.ELM_GENLIST_ITEM_NONE
|
||||
ELM_GENLIST_ITEM_TREE = enums.ELM_GENLIST_ITEM_TREE
|
||||
ELM_GENLIST_ITEM_GROUP = enums.ELM_GENLIST_ITEM_GROUP
|
||||
ELM_GENLIST_ITEM_MAX = enums.ELM_GENLIST_ITEM_MAX
|
||||
|
||||
ELM_GENLIST_ITEM_FIELD_ALL = enums.ELM_GENLIST_ITEM_FIELD_ALL
|
||||
ELM_GENLIST_ITEM_FIELD_TEXT = enums.ELM_GENLIST_ITEM_FIELD_TEXT
|
||||
ELM_GENLIST_ITEM_FIELD_CONTENT = enums.ELM_GENLIST_ITEM_FIELD_CONTENT
|
||||
ELM_GENLIST_ITEM_FIELD_STATE = enums.ELM_GENLIST_ITEM_FIELD_STATE
|
||||
|
||||
ELM_GENLIST_ITEM_SCROLLTO_NONE = enums.ELM_GENLIST_ITEM_SCROLLTO_NONE
|
||||
ELM_GENLIST_ITEM_SCROLLTO_IN = enums.ELM_GENLIST_ITEM_SCROLLTO_IN
|
||||
ELM_GENLIST_ITEM_SCROLLTO_TOP = enums.ELM_GENLIST_ITEM_SCROLLTO_TOP
|
||||
ELM_GENLIST_ITEM_SCROLLTO_MIDDLE = enums.ELM_GENLIST_ITEM_SCROLLTO_MIDDLE
|
||||
ELM_GENLIST_ITEM_SCROLLTO_BOTTOM = enums.ELM_GENLIST_ITEM_SCROLLTO_BOTTOM
|
||||
|
||||
ELM_GESTURE_STATE_UNDEFINED = enums.ELM_GESTURE_STATE_UNDEFINED
|
||||
ELM_GESTURE_STATE_START = enums.ELM_GESTURE_STATE_START
|
||||
ELM_GESTURE_STATE_MOVE = enums.ELM_GESTURE_STATE_MOVE
|
||||
ELM_GESTURE_STATE_END = enums.ELM_GESTURE_STATE_END
|
||||
ELM_GESTURE_STATE_ABORT = enums.ELM_GESTURE_STATE_ABORT
|
||||
|
||||
ELM_GESTURE_FIRST = enums.ELM_GESTURE_FIRST
|
||||
ELM_GESTURE_N_TAPS = enums.ELM_GESTURE_N_TAPS
|
||||
ELM_GESTURE_N_LONG_TAPS = enums.ELM_GESTURE_N_LONG_TAPS
|
||||
ELM_GESTURE_N_DOUBLE_TAPS = enums.ELM_GESTURE_N_DOUBLE_TAPS
|
||||
ELM_GESTURE_N_TRIPLE_TAPS = enums.ELM_GESTURE_N_TRIPLE_TAPS
|
||||
ELM_GESTURE_MOMENTUM = enums.ELM_GESTURE_MOMENTUM
|
||||
ELM_GESTURE_N_LINES = enums.ELM_GESTURE_N_LINES
|
||||
ELM_GESTURE_N_FLICKS = enums.ELM_GESTURE_N_FLICKS
|
||||
ELM_GESTURE_ZOOM = enums.ELM_GESTURE_ZOOM
|
||||
ELM_GESTURE_ROTATE = enums.ELM_GESTURE_ROTATE
|
||||
ELM_GESTURE_LAST = enums.ELM_GESTURE_LAST
|
||||
|
||||
ELM_HOVER_AXIS_NONE = enums.ELM_HOVER_AXIS_NONE
|
||||
ELM_HOVER_AXIS_HORIZONTAL = enums.ELM_HOVER_AXIS_HORIZONTAL
|
||||
ELM_HOVER_AXIS_VERTICAL = enums.ELM_HOVER_AXIS_VERTICAL
|
||||
ELM_HOVER_AXIS_BOTH = enums.ELM_HOVER_AXIS_BOTH
|
||||
|
||||
ELM_ICON_LOOKUP_FDO_THEME = enums.ELM_ICON_LOOKUP_FDO_THEME
|
||||
ELM_ICON_LOOKUP_THEME_FDO = enums.ELM_ICON_LOOKUP_THEME_FDO
|
||||
ELM_ICON_LOOKUP_FDO = enums.ELM_ICON_LOOKUP_FDO
|
||||
ELM_ICON_LOOKUP_THEME = enums.ELM_ICON_LOOKUP_THEME
|
||||
|
||||
ELM_ICON_NONE = enums.ELM_ICON_NONE
|
||||
ELM_ICON_FILE = enums.ELM_ICON_FILE
|
||||
ELM_ICON_STANDARD = enums.ELM_ICON_STANDARD
|
||||
|
||||
ELM_IMAGE_ORIENT_NONE = enums.ELM_IMAGE_ORIENT_NONE
|
||||
ELM_IMAGE_ORIENT_0 = enums.ELM_IMAGE_ORIENT_0
|
||||
ELM_IMAGE_ROTATE_90 = enums.ELM_IMAGE_ROTATE_90
|
||||
ELM_IMAGE_ROTATE_180 = enums.ELM_IMAGE_ROTATE_180
|
||||
ELM_IMAGE_ROTATE_270 = enums.ELM_IMAGE_ROTATE_270
|
||||
ELM_IMAGE_FLIP_HORIZONTAL = enums.ELM_IMAGE_FLIP_HORIZONTAL
|
||||
ELM_IMAGE_FLIP_VERTICAL = enums.ELM_IMAGE_FLIP_VERTICAL
|
||||
ELM_IMAGE_FLIP_TRANSPOSE = enums.ELM_IMAGE_FLIP_TRANSPOSE
|
||||
ELM_IMAGE_FLIP_TRANSVERSE = enums.ELM_IMAGE_FLIP_TRANSVERSE
|
||||
|
||||
ELM_WRAP_NONE = enums.ELM_WRAP_NONE
|
||||
ELM_WRAP_CHAR = enums.ELM_WRAP_CHAR
|
||||
ELM_WRAP_WORD = enums.ELM_WRAP_WORD
|
||||
ELM_WRAP_MIXED = enums.ELM_WRAP_MIXED
|
||||
|
||||
ELM_LABEL_SLIDE_MODE_NONE = enums.ELM_LABEL_SLIDE_MODE_NONE
|
||||
ELM_LABEL_SLIDE_MODE_AUTO = enums.ELM_LABEL_SLIDE_MODE_AUTO
|
||||
ELM_LABEL_SLIDE_MODE_ALWAYS = enums.ELM_LABEL_SLIDE_MODE_ALWAYS
|
||||
|
||||
ELM_LIST_COMPRESS = enums.ELM_LIST_COMPRESS
|
||||
ELM_LIST_SCROLL = enums.ELM_LIST_SCROLL
|
||||
ELM_LIST_LIMIT = enums.ELM_LIST_LIMIT
|
||||
ELM_LIST_EXPAND = enums.ELM_LIST_EXPAND
|
||||
|
||||
ELM_MAP_OVERLAY_TYPE_NONE = enums.ELM_MAP_OVERLAY_TYPE_NONE
|
||||
ELM_MAP_OVERLAY_TYPE_DEFAULT = enums.ELM_MAP_OVERLAY_TYPE_DEFAULT
|
||||
ELM_MAP_OVERLAY_TYPE_CLASS = enums.ELM_MAP_OVERLAY_TYPE_CLASS
|
||||
ELM_MAP_OVERLAY_TYPE_GROUP = enums.ELM_MAP_OVERLAY_TYPE_GROUP
|
||||
ELM_MAP_OVERLAY_TYPE_BUBBLE = enums.ELM_MAP_OVERLAY_TYPE_BUBBLE
|
||||
ELM_MAP_OVERLAY_TYPE_ROUTE = enums.ELM_MAP_OVERLAY_TYPE_ROUTE
|
||||
ELM_MAP_OVERLAY_TYPE_LINE = enums.ELM_MAP_OVERLAY_TYPE_LINE
|
||||
ELM_MAP_OVERLAY_TYPE_POLYGON = enums.ELM_MAP_OVERLAY_TYPE_POLYGON
|
||||
ELM_MAP_OVERLAY_TYPE_CIRCLE = enums.ELM_MAP_OVERLAY_TYPE_CIRCLE
|
||||
ELM_MAP_OVERLAY_TYPE_SCALE = enums.ELM_MAP_OVERLAY_TYPE_SCALE
|
||||
|
||||
ELM_MAP_ROUTE_METHOD_FASTEST = enums.ELM_MAP_ROUTE_METHOD_FASTEST
|
||||
ELM_MAP_ROUTE_METHOD_SHORTEST = enums.ELM_MAP_ROUTE_METHOD_SHORTEST
|
||||
ELM_MAP_ROUTE_METHOD_LAST = enums.ELM_MAP_ROUTE_METHOD_LAST
|
||||
|
||||
ELM_MAP_ROUTE_TYPE_MOTOCAR = enums.ELM_MAP_ROUTE_TYPE_MOTOCAR
|
||||
ELM_MAP_ROUTE_TYPE_BICYCLE = enums.ELM_MAP_ROUTE_TYPE_BICYCLE
|
||||
ELM_MAP_ROUTE_TYPE_FOOT = enums.ELM_MAP_ROUTE_TYPE_FOOT
|
||||
ELM_MAP_ROUTE_TYPE_LAST = enums.ELM_MAP_ROUTE_TYPE_LAST
|
||||
|
||||
ELM_MAP_SOURCE_TYPE_TILE = enums.ELM_MAP_SOURCE_TYPE_TILE
|
||||
ELM_MAP_SOURCE_TYPE_ROUTE = enums.ELM_MAP_SOURCE_TYPE_ROUTE
|
||||
ELM_MAP_SOURCE_TYPE_NAME = enums.ELM_MAP_SOURCE_TYPE_NAME
|
||||
ELM_MAP_SOURCE_TYPE_LAST = enums.ELM_MAP_SOURCE_TYPE_LAST
|
||||
|
||||
ELM_MAP_ZOOM_MODE_MANUAL = enums.ELM_MAP_ZOOM_MODE_MANUAL
|
||||
ELM_MAP_ZOOM_MODE_AUTO_FIT = enums.ELM_MAP_ZOOM_MODE_AUTO_FIT
|
||||
ELM_MAP_ZOOM_MODE_AUTO_FILL = enums.ELM_MAP_ZOOM_MODE_AUTO_FILL
|
||||
ELM_MAP_ZOOM_MODE_LAST = enums.ELM_MAP_ZOOM_MODE_LAST
|
||||
|
||||
ELM_SYS_NOTIFY_CLOSED_EXPIRED = enums.ELM_SYS_NOTIFY_CLOSED_EXPIRED
|
||||
ELM_SYS_NOTIFY_CLOSED_DISMISSED = enums.ELM_SYS_NOTIFY_CLOSED_DISMISSED
|
||||
ELM_SYS_NOTIFY_CLOSED_REQUESTED = enums.ELM_SYS_NOTIFY_CLOSED_REQUESTED
|
||||
ELM_SYS_NOTIFY_CLOSED_UNDEFINED = enums.ELM_SYS_NOTIFY_CLOSED_UNDEFINED
|
||||
|
||||
ELM_NOTIFY_ORIENT_TOP = enums.ELM_NOTIFY_ORIENT_TOP
|
||||
ELM_NOTIFY_ORIENT_CENTER = enums.ELM_NOTIFY_ORIENT_CENTER
|
||||
ELM_NOTIFY_ORIENT_BOTTOM = enums.ELM_NOTIFY_ORIENT_BOTTOM
|
||||
ELM_NOTIFY_ORIENT_LEFT = enums.ELM_NOTIFY_ORIENT_LEFT
|
||||
ELM_NOTIFY_ORIENT_RIGHT = enums.ELM_NOTIFY_ORIENT_RIGHT
|
||||
ELM_NOTIFY_ORIENT_TOP_LEFT = enums.ELM_NOTIFY_ORIENT_TOP_LEFT
|
||||
ELM_NOTIFY_ORIENT_TOP_RIGHT = enums.ELM_NOTIFY_ORIENT_TOP_RIGHT
|
||||
ELM_NOTIFY_ORIENT_BOTTOM_LEFT = enums.ELM_NOTIFY_ORIENT_BOTTOM_LEFT
|
||||
ELM_NOTIFY_ORIENT_BOTTOM_RIGHT = enums.ELM_NOTIFY_ORIENT_BOTTOM_RIGHT
|
||||
ELM_NOTIFY_ORIENT_LAST = enums.ELM_NOTIFY_ORIENT_LAST
|
||||
|
||||
ELM_OBJECT_SELECT_MODE_DEFAULT = enums.ELM_OBJECT_SELECT_MODE_DEFAULT
|
||||
ELM_OBJECT_SELECT_MODE_ALWAYS = enums.ELM_OBJECT_SELECT_MODE_ALWAYS
|
||||
ELM_OBJECT_SELECT_MODE_NONE = enums.ELM_OBJECT_SELECT_MODE_NONE
|
||||
ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY = enums.ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY
|
||||
ELM_OBJECT_SELECT_MODE_MAX = enums.ELM_OBJECT_SELECT_MODE_MAX
|
||||
|
||||
ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT = enums.ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT
|
||||
ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL = enums.ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL
|
||||
ELM_OBJECT_MULTI_SELECT_MODE_MAX = enums.ELM_OBJECT_MULTI_SELECT_MODE_MAX
|
||||
|
||||
ELM_OBJECT_LAYER_BACKGROUND = enums.ELM_OBJECT_LAYER_BACKGROUND
|
||||
ELM_OBJECT_LAYER_DEFAULT = enums.ELM_OBJECT_LAYER_DEFAULT
|
||||
ELM_OBJECT_LAYER_FOCUS = enums.ELM_OBJECT_LAYER_FOCUS
|
||||
ELM_OBJECT_LAYER_TOOLTIP = enums.ELM_OBJECT_LAYER_TOOLTIP
|
||||
ELM_OBJECT_LAYER_CURSOR = enums.ELM_OBJECT_LAYER_CURSOR
|
||||
ELM_OBJECT_LAYER_LAST = enums.ELM_OBJECT_LAYER_LAST
|
||||
|
||||
ELM_PANEL_ORIENT_TOP = enums.ELM_PANEL_ORIENT_TOP
|
||||
ELM_PANEL_ORIENT_BOTTOM = enums.ELM_PANEL_ORIENT_BOTTOM
|
||||
ELM_PANEL_ORIENT_LEFT = enums.ELM_PANEL_ORIENT_LEFT
|
||||
ELM_PANEL_ORIENT_RIGHT = enums.ELM_PANEL_ORIENT_RIGHT
|
||||
|
||||
ELM_PHOTOCAM_ZOOM_MODE_MANUAL = enums.ELM_PHOTOCAM_ZOOM_MODE_MANUAL
|
||||
ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT = enums.ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT
|
||||
ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL = enums.ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL
|
||||
ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN = enums.ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN
|
||||
ELM_PHOTOCAM_ZOOM_MODE_LAST = enums.ELM_PHOTOCAM_ZOOM_MODE_LAST
|
||||
|
||||
ELM_POPUP_ORIENT_TOP = enums.ELM_POPUP_ORIENT_TOP
|
||||
ELM_POPUP_ORIENT_CENTER = enums.ELM_POPUP_ORIENT_CENTER
|
||||
ELM_POPUP_ORIENT_BOTTOM = enums.ELM_POPUP_ORIENT_BOTTOM
|
||||
ELM_POPUP_ORIENT_LEFT = enums.ELM_POPUP_ORIENT_LEFT
|
||||
ELM_POPUP_ORIENT_RIGHT = enums.ELM_POPUP_ORIENT_RIGHT
|
||||
ELM_POPUP_ORIENT_TOP_LEFT = enums.ELM_POPUP_ORIENT_TOP_LEFT
|
||||
ELM_POPUP_ORIENT_TOP_RIGHT = enums.ELM_POPUP_ORIENT_TOP_RIGHT
|
||||
ELM_POPUP_ORIENT_BOTTOM_LEFT = enums.ELM_POPUP_ORIENT_BOTTOM_LEFT
|
||||
ELM_POPUP_ORIENT_BOTTOM_RIGHT = enums.ELM_POPUP_ORIENT_BOTTOM_RIGHT
|
||||
ELM_POPUP_ORIENT_LAST = enums.ELM_POPUP_ORIENT_LAST
|
||||
|
||||
ELM_SCROLLER_POLICY_AUTO = enums.ELM_SCROLLER_POLICY_AUTO
|
||||
ELM_SCROLLER_POLICY_ON = enums.ELM_SCROLLER_POLICY_ON
|
||||
ELM_SCROLLER_POLICY_OFF = enums.ELM_SCROLLER_POLICY_OFF
|
||||
|
||||
ELM_SCROLLER_SINGLE_DIRECTION_NONE = enums.ELM_SCROLLER_SINGLE_DIRECTION_NONE
|
||||
ELM_SCROLLER_SINGLE_DIRECTION_SOFT = enums.ELM_SCROLLER_SINGLE_DIRECTION_SOFT
|
||||
ELM_SCROLLER_SINGLE_DIRECTION_HARD = enums.ELM_SCROLLER_SINGLE_DIRECTION_HARD
|
||||
ELM_SCROLLER_SINGLE_DIRECTION_LAST = enums.ELM_SCROLLER_SINGLE_DIRECTION_LAST
|
||||
|
||||
ELM_SCROLLER_MOVEMENT_NO_BLOCK = enums.ELM_SCROLLER_MOVEMENT_NO_BLOCK
|
||||
ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL = enums.ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL
|
||||
ELM_SCROLLER_MOVEMENT_BLOCK_HORIZONTAL = enums.ELM_SCROLLER_MOVEMENT_BLOCK_HORIZONTAL
|
||||
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT = enums.ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS = enums.ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS = enums.ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE = enums.ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE
|
||||
|
||||
ELM_EVENT_SYSTRAY_READY = enums.ELM_EVENT_SYSTRAY_READY
|
||||
|
||||
ELM_SYSTRAY_CATEGORY_APP_STATUS = enums.ELM_SYSTRAY_CATEGORY_APP_STATUS
|
||||
ELM_SYSTRAY_CATEGORY_COMMUNICATIONS = enums.ELM_SYSTRAY_CATEGORY_COMMUNICATIONS
|
||||
ELM_SYSTRAY_CATEGORY_SYS_SERVICES = enums.ELM_SYSTRAY_CATEGORY_SYS_SERVICES
|
||||
ELM_SYSTRAY_CATEGORY_HARDWARE = enums.ELM_SYSTRAY_CATEGORY_HARDWARE
|
||||
ELM_SYSTRAY_CATEGORY_OTHER = enums.ELM_SYSTRAY_CATEGORY_OTHER
|
||||
|
||||
ELM_SYSTRAY_STATUS_PASSIVE = enums.ELM_SYSTRAY_STATUS_PASSIVE
|
||||
ELM_SYSTRAY_STATUS_ACTIVE = enums.ELM_SYSTRAY_STATUS_ACTIVE
|
||||
ELM_SYSTRAY_STATUS_ATTENTION = enums.ELM_SYSTRAY_STATUS_ATTENTION
|
||||
|
||||
ELM_THUMB_ANIMATION_START = enums.ELM_THUMB_ANIMATION_START
|
||||
ELM_THUMB_ANIMATION_LOOP = enums.ELM_THUMB_ANIMATION_LOOP
|
||||
ELM_THUMB_ANIMATION_STOP = enums.ELM_THUMB_ANIMATION_STOP
|
||||
ELM_THUMB_ANIMATION_LAST = enums.ELM_THUMB_ANIMATION_LAST
|
||||
|
||||
ETHUMB_THUMB_NORMAL = enums.ETHUMB_THUMB_NORMAL
|
||||
ETHUMB_THUMB_LARGE = enums.ETHUMB_THUMB_LARGE
|
||||
|
||||
ETHUMB_THUMB_FDO = enums.ETHUMB_THUMB_FDO
|
||||
ETHUMB_THUMB_JPEG = enums.ETHUMB_THUMB_JPEG
|
||||
ETHUMB_THUMB_EET = enums.ETHUMB_THUMB_EET
|
||||
|
||||
ETHUMB_THUMB_KEEP_ASPECT = enums.ETHUMB_THUMB_KEEP_ASPECT
|
||||
ETHUMB_THUMB_IGNORE_ASPECT = enums.ETHUMB_THUMB_IGNORE_ASPECT
|
||||
ETHUMB_THUMB_CROP = enums.ETHUMB_THUMB_CROP
|
||||
|
||||
ETHUMB_THUMB_ORIENT_NONE = enums.ETHUMB_THUMB_ORIENT_NONE
|
||||
ETHUMB_THUMB_ROTATE_90_CW = enums.ETHUMB_THUMB_ROTATE_90_CW
|
||||
ETHUMB_THUMB_ROTATE_180 = enums.ETHUMB_THUMB_ROTATE_180
|
||||
ETHUMB_THUMB_ROTATE_90_CCW = enums.ETHUMB_THUMB_ROTATE_90_CCW
|
||||
ETHUMB_THUMB_FLIP_HORIZONTAL = enums.ETHUMB_THUMB_FLIP_HORIZONTAL
|
||||
ETHUMB_THUMB_FLIP_VERTICAL = enums.ETHUMB_THUMB_FLIP_VERTICAL
|
||||
ETHUMB_THUMB_FLIP_TRANSPOSE = enums.ETHUMB_THUMB_FLIP_TRANSPOSE
|
||||
ETHUMB_THUMB_FLIP_TRANSVERSE = enums.ETHUMB_THUMB_FLIP_TRANSVERSE
|
||||
ETHUMB_THUMB_ORIENT_ORIGINAL = enums.ETHUMB_THUMB_ORIENT_ORIGINAL
|
||||
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_NONE = enums.ELM_TOOLBAR_ITEM_SCROLLTO_NONE
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_IN = enums.ELM_TOOLBAR_ITEM_SCROLLTO_IN
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_FIRST = enums.ELM_TOOLBAR_ITEM_SCROLLTO_FIRST
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_MIDDLE = enums.ELM_TOOLBAR_ITEM_SCROLLTO_MIDDLE
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_LAST = enums.ELM_TOOLBAR_ITEM_SCROLLTO_LAST
|
||||
|
||||
ELM_TOOLBAR_SHRINK_NONE = enums.ELM_TOOLBAR_SHRINK_NONE
|
||||
ELM_TOOLBAR_SHRINK_HIDE = enums.ELM_TOOLBAR_SHRINK_HIDE
|
||||
ELM_TOOLBAR_SHRINK_SCROLL = enums.ELM_TOOLBAR_SHRINK_SCROLL
|
||||
ELM_TOOLBAR_SHRINK_MENU = enums.ELM_TOOLBAR_SHRINK_MENU
|
||||
ELM_TOOLBAR_SHRINK_EXPAND = enums.ELM_TOOLBAR_SHRINK_EXPAND
|
||||
ELM_TOOLBAR_SHRINK_LAST = enums.ELM_TOOLBAR_SHRINK_LAST
|
||||
|
||||
ELM_TRANSIT_EFFECT_FLIP_AXIS_X = enums.ELM_TRANSIT_EFFECT_FLIP_AXIS_X
|
||||
ELM_TRANSIT_EFFECT_FLIP_AXIS_Y = enums.ELM_TRANSIT_EFFECT_FLIP_AXIS_Y
|
||||
|
||||
ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT = enums.ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT
|
||||
ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT = enums.ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT
|
||||
ELM_TRANSIT_EFFECT_WIPE_DIR_UP = enums.ELM_TRANSIT_EFFECT_WIPE_DIR_UP
|
||||
ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN = enums.ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN
|
||||
|
||||
ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE = enums.ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE
|
||||
ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW = enums.ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW
|
||||
|
||||
ELM_TRANSIT_TWEEN_MODE_LINEAR = enums.ELM_TRANSIT_TWEEN_MODE_LINEAR
|
||||
ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL = enums.ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL
|
||||
ELM_TRANSIT_TWEEN_MODE_DECELERATE = enums.ELM_TRANSIT_TWEEN_MODE_DECELERATE
|
||||
ELM_TRANSIT_TWEEN_MODE_ACCELERATE = enums.ELM_TRANSIT_TWEEN_MODE_ACCELERATE
|
||||
ELM_TRANSIT_TWEEN_MODE_DIVISOR_INTERP = enums.ELM_TRANSIT_TWEEN_MODE_DIVISOR_INTERP
|
||||
ELM_TRANSIT_TWEEN_MODE_BOUNCE = enums.ELM_TRANSIT_TWEEN_MODE_BOUNCE
|
||||
ELM_TRANSIT_TWEEN_MODE_SPRING = enums.ELM_TRANSIT_TWEEN_MODE_SPRING
|
||||
ELM_TRANSIT_TWEEN_MODE_BEZIER_CURVE = enums.ELM_TRANSIT_TWEEN_MODE_BEZIER_CURVE
|
||||
|
||||
ELM_WEB_WINDOW_FEATURE_TOOLBAR = enums.ELM_WEB_WINDOW_FEATURE_TOOLBAR
|
||||
ELM_WEB_WINDOW_FEATURE_STATUSBAR = enums.ELM_WEB_WINDOW_FEATURE_STATUSBAR
|
||||
ELM_WEB_WINDOW_FEATURE_SCROLLBARS = enums.ELM_WEB_WINDOW_FEATURE_SCROLLBARS
|
||||
ELM_WEB_WINDOW_FEATURE_MENUBAR = enums.ELM_WEB_WINDOW_FEATURE_MENUBAR
|
||||
ELM_WEB_WINDOW_FEATURE_LOCATIONBAR = enums.ELM_WEB_WINDOW_FEATURE_LOCATIONBAR
|
||||
ELM_WEB_WINDOW_FEATURE_FULLSCREEN = enums.ELM_WEB_WINDOW_FEATURE_FULLSCREEN
|
||||
|
||||
ELM_WEB_ZOOM_MODE_MANUAL = enums.ELM_WEB_ZOOM_MODE_MANUAL
|
||||
ELM_WEB_ZOOM_MODE_AUTO_FIT = enums.ELM_WEB_ZOOM_MODE_AUTO_FIT
|
||||
ELM_WEB_ZOOM_MODE_AUTO_FILL = enums.ELM_WEB_ZOOM_MODE_AUTO_FILL
|
||||
|
||||
ELM_WIN_UNKNOWN = enums.ELM_WIN_UNKNOWN
|
||||
ELM_WIN_BASIC = enums.ELM_WIN_BASIC
|
||||
ELM_WIN_DIALOG_BASIC = enums.ELM_WIN_DIALOG_BASIC
|
||||
ELM_WIN_DESKTOP = enums.ELM_WIN_DESKTOP
|
||||
ELM_WIN_DOCK = enums.ELM_WIN_DOCK
|
||||
ELM_WIN_TOOLBAR = enums.ELM_WIN_TOOLBAR
|
||||
ELM_WIN_MENU = enums.ELM_WIN_MENU
|
||||
ELM_WIN_UTILITY = enums.ELM_WIN_UTILITY
|
||||
ELM_WIN_SPLASH = enums.ELM_WIN_SPLASH
|
||||
ELM_WIN_DROPDOWN_MENU = enums.ELM_WIN_DROPDOWN_MENU
|
||||
ELM_WIN_POPUP_MENU = enums.ELM_WIN_POPUP_MENU
|
||||
ELM_WIN_TOOLTIP = enums.ELM_WIN_TOOLTIP
|
||||
ELM_WIN_NOTIFICATION = enums.ELM_WIN_NOTIFICATION
|
||||
ELM_WIN_COMBO = enums.ELM_WIN_COMBO
|
||||
ELM_WIN_DND = enums.ELM_WIN_DND
|
||||
ELM_WIN_INLINED_IMAGE = enums.ELM_WIN_INLINED_IMAGE
|
||||
ELM_WIN_SOCKET_IMAGE = enums.ELM_WIN_SOCKET_IMAGE
|
||||
|
||||
ELM_WIN_INDICATOR_UNKNOWN = enums.ELM_WIN_INDICATOR_UNKNOWN
|
||||
ELM_WIN_INDICATOR_HIDE = enums.ELM_WIN_INDICATOR_HIDE
|
||||
ELM_WIN_INDICATOR_SHOW = enums.ELM_WIN_INDICATOR_SHOW
|
||||
|
||||
ELM_WIN_INDICATOR_OPACITY_UNKNOWN = enums.ELM_WIN_INDICATOR_OPACITY_UNKNOWN
|
||||
ELM_WIN_INDICATOR_OPAQUE = enums.ELM_WIN_INDICATOR_OPAQUE
|
||||
ELM_WIN_INDICATOR_TRANSLUCENT = enums.ELM_WIN_INDICATOR_TRANSLUCENT
|
||||
ELM_WIN_INDICATOR_TRANSPARENT = enums.ELM_WIN_INDICATOR_TRANSPARENT
|
||||
|
||||
ELM_WIN_KEYBOARD_UNKNOWN = enums.ELM_WIN_KEYBOARD_UNKNOWN
|
||||
ELM_WIN_KEYBOARD_OFF = enums.ELM_WIN_KEYBOARD_OFF
|
||||
ELM_WIN_KEYBOARD_ON = enums.ELM_WIN_KEYBOARD_ON
|
||||
ELM_WIN_KEYBOARD_ALPHA = enums.ELM_WIN_KEYBOARD_ALPHA
|
||||
ELM_WIN_KEYBOARD_NUMERIC = enums.ELM_WIN_KEYBOARD_NUMERIC
|
||||
ELM_WIN_KEYBOARD_PIN = enums.ELM_WIN_KEYBOARD_PIN
|
||||
ELM_WIN_KEYBOARD_PHONE_NUMBER = enums.ELM_WIN_KEYBOARD_PHONE_NUMBER
|
||||
ELM_WIN_KEYBOARD_HEX = enums.ELM_WIN_KEYBOARD_HEX
|
||||
ELM_WIN_KEYBOARD_TERMINAL = enums.ELM_WIN_KEYBOARD_TERMINAL
|
||||
ELM_WIN_KEYBOARD_PASSWORD = enums.ELM_WIN_KEYBOARD_PASSWORD
|
||||
ELM_WIN_KEYBOARD_IP = enums.ELM_WIN_KEYBOARD_IP
|
||||
ELM_WIN_KEYBOARD_HOST = enums.ELM_WIN_KEYBOARD_HOST
|
||||
ELM_WIN_KEYBOARD_FILE = enums.ELM_WIN_KEYBOARD_FILE
|
||||
ELM_WIN_KEYBOARD_URL = enums.ELM_WIN_KEYBOARD_URL
|
||||
ELM_WIN_KEYBOARD_KEYPAD = enums.ELM_WIN_KEYBOARD_KEYPAD
|
||||
ELM_WIN_KEYBOARD_J2ME = enums.ELM_WIN_KEYBOARD_J2ME
|
||||
|
||||
ELM_ILLUME_COMMAND_FOCUS_BACK = enums.ELM_ILLUME_COMMAND_FOCUS_BACK
|
||||
ELM_ILLUME_COMMAND_FOCUS_FORWARD = enums.ELM_ILLUME_COMMAND_FOCUS_FORWARD
|
||||
ELM_ILLUME_COMMAND_FOCUS_HOME = enums.ELM_ILLUME_COMMAND_FOCUS_HOME
|
||||
ELM_ILLUME_COMMAND_CLOSE = enums.ELM_ILLUME_COMMAND_CLOSE
|
||||
|
||||
|
||||
include "elementary_cdef.pxi"
|
||||
|
||||
|
||||
elm_log = add_logger("efl.elementary")
|
||||
cdef int PY_EFL_ELM_LOG_DOMAIN = elm_log.eina_log_domain
|
||||
|
@ -163,10 +769,10 @@ def shutdown():
|
|||
init()
|
||||
atexit.register(shutdown)
|
||||
|
||||
_event_mapping_register(ELM_EVENT_CONFIG_ALL_CHANGED, ConfigAllChanged)
|
||||
_event_mapping_register(ELM_EVENT_POLICY_CHANGED, PolicyChanged)
|
||||
_event_mapping_register(ELM_EVENT_PROCESS_BACKGROUND, ProcessBackground)
|
||||
_event_mapping_register(ELM_EVENT_PROCESS_FOREGROUND, ProcessForeground)
|
||||
_event_mapping_register(enums.ELM_EVENT_CONFIG_ALL_CHANGED, ConfigAllChanged)
|
||||
_event_mapping_register(enums.ELM_EVENT_POLICY_CHANGED, PolicyChanged)
|
||||
_event_mapping_register(enums.ELM_EVENT_PROCESS_BACKGROUND, ProcessBackground)
|
||||
_event_mapping_register(enums.ELM_EVENT_PROCESS_FOREGROUND, ProcessForeground)
|
||||
|
||||
|
||||
cdef void py_elm_sys_notify_send_cb(void *data, unsigned int id):
|
||||
|
@ -184,7 +790,7 @@ def on_ethumb_connect(func, *args, **kwargs):
|
|||
|
||||
.. versionadded:: 1.14
|
||||
"""
|
||||
return EventHandler(ELM_ECORE_EVENT_ETHUMB_CONNECT, func, *args, **kwargs)
|
||||
return EventHandler(enums.ELM_ECORE_EVENT_ETHUMB_CONNECT, func, *args, **kwargs)
|
||||
|
||||
|
||||
def on_config_all_changed(func, *args, **kwargs):
|
||||
|
@ -195,7 +801,7 @@ def on_config_all_changed(func, *args, **kwargs):
|
|||
|
||||
.. versionadded:: 1.14
|
||||
"""
|
||||
return EventHandler(ELM_EVENT_CONFIG_ALL_CHANGED, func, *args, **kwargs)
|
||||
return EventHandler(enums.ELM_EVENT_CONFIG_ALL_CHANGED, func, *args, **kwargs)
|
||||
|
||||
|
||||
def on_policy_changed(func, *args, **kwargs):
|
||||
|
@ -205,7 +811,7 @@ def on_policy_changed(func, *args, **kwargs):
|
|||
|
||||
.. versionadded:: 1.14
|
||||
"""
|
||||
return EventHandler(ELM_EVENT_POLICY_CHANGED, func, *args, **kwargs)
|
||||
return EventHandler(enums.ELM_EVENT_POLICY_CHANGED, func, *args, **kwargs)
|
||||
|
||||
|
||||
def on_process_background(func, *args, **kwargs):
|
||||
|
@ -216,7 +822,7 @@ def on_process_background(func, *args, **kwargs):
|
|||
|
||||
.. versionadded:: 1.14
|
||||
"""
|
||||
return EventHandler(ELM_EVENT_PROCESS_BACKGROUND, func, *args, **kwargs)
|
||||
return EventHandler(enums.ELM_EVENT_PROCESS_BACKGROUND, func, *args, **kwargs)
|
||||
|
||||
|
||||
def on_process_foreground(func, *args, **kwargs):
|
||||
|
@ -227,18 +833,18 @@ def on_process_foreground(func, *args, **kwargs):
|
|||
|
||||
.. versionadded:: 1.14
|
||||
"""
|
||||
return EventHandler(ELM_EVENT_PROCESS_FOREGROUND, func, *args, **kwargs)
|
||||
return EventHandler(enums.ELM_EVENT_PROCESS_FOREGROUND, func, *args, **kwargs)
|
||||
|
||||
|
||||
def on_sys_notify_notification_closed(func, *args, **kargs):
|
||||
return EventHandler(
|
||||
ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED, func, *args, **kargs
|
||||
enums.ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED, func, *args, **kargs
|
||||
)
|
||||
|
||||
|
||||
def on_sys_notify_action_invoked(func, *args, **kargs):
|
||||
return EventHandler(
|
||||
ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED, func, *args, **kargs
|
||||
enums.ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED, func, *args, **kargs
|
||||
)
|
||||
|
||||
|
||||
|
@ -543,7 +1149,7 @@ def sys_notify_close(unsigned int id):
|
|||
def sys_notify_send(
|
||||
unsigned int replaces_id=0,
|
||||
icon=None, summary=None, body=None,
|
||||
Elm_Sys_Notify_Urgency urgency=ELM_SYS_NOTIFY_URGENCY_NORMAL,
|
||||
Elm_Sys_Notify_Urgency urgency=enums.ELM_SYS_NOTIFY_URGENCY_NORMAL,
|
||||
int timeout=-1, cb=None, cb_data=None
|
||||
):
|
||||
"""Sends a notification to the notification server.
|
||||
|
|
|
@ -1,15 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Actionslider_Pos
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Actionslider_Pos:
|
||||
ELM_ACTIONSLIDER_NONE
|
||||
ELM_ACTIONSLIDER_LEFT
|
||||
ELM_ACTIONSLIDER_CENTER
|
||||
ELM_ACTIONSLIDER_RIGHT
|
||||
ELM_ACTIONSLIDER_ALL
|
||||
ctypedef enum Elm_Actionslider_Pos:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object *elm_actionslider_add(Evas_Object *parent)
|
||||
const char *elm_actionslider_selected_label_get(const Evas_Object *obj)
|
||||
void elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos)
|
||||
|
|
|
@ -1,15 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Bg_Option
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Bg_Option:
|
||||
ELM_BG_OPTION_CENTER
|
||||
ELM_BG_OPTION_SCALE
|
||||
ELM_BG_OPTION_STRETCH
|
||||
ELM_BG_OPTION_TILE
|
||||
ELM_BG_OPTION_LAST
|
||||
ctypedef enum Elm_Bg_Option:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object *elm_bg_add(Evas_Object *parent)
|
||||
Eina_Bool elm_bg_file_set(Evas_Object *obj, const char *file, const char *group)
|
||||
void elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group)
|
||||
|
|
|
@ -1,14 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Bubble_Pos
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Bubble_Pos:
|
||||
ELM_BUBBLE_POS_TOP_LEFT
|
||||
ELM_BUBBLE_POS_TOP_RIGHT
|
||||
ELM_BUBBLE_POS_BOTTOM_LEFT
|
||||
ELM_BUBBLE_POS_BOTTOM_RIGHT
|
||||
ctypedef enum Elm_Bubble_Pos:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object *elm_bubble_add(Evas_Object *parent)
|
||||
void elm_bubble_pos_set(Evas_Object *obj, Elm_Bubble_Pos pos)
|
||||
Elm_Bubble_Pos elm_bubble_pos_get(const Evas_Object *obj)
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Calendar_Mark_Repeat_Type, \
|
||||
Elm_Calendar_Select_Mode, Elm_Calendar_Selectable, Elm_Calendar_Weekday
|
||||
|
||||
cdef extern from "time.h":
|
||||
struct tm:
|
||||
int tm_sec
|
||||
|
@ -14,46 +17,6 @@ cdef extern from "time.h":
|
|||
const char *tm_zone
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Calendar_Mark_Repeat_Type:
|
||||
ELM_CALENDAR_UNIQUE
|
||||
ELM_CALENDAR_DAILY
|
||||
ELM_CALENDAR_WEEKLY
|
||||
ELM_CALENDAR_MONTHLY
|
||||
ELM_CALENDAR_ANNUALLY
|
||||
ELM_CALENDAR_LAST_DAY_OF_MONTH
|
||||
ctypedef enum Elm_Calendar_Mark_Repeat_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Calendar_Select_Mode:
|
||||
ELM_CALENDAR_SELECT_MODE_DEFAULT
|
||||
ELM_CALENDAR_SELECT_MODE_ALWAYS
|
||||
ELM_CALENDAR_SELECT_MODE_NONE
|
||||
ELM_CALENDAR_SELECT_MODE_ONDEMAND
|
||||
ctypedef enum Elm_Calendar_Select_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Calendar_Selectable:
|
||||
ELM_CALENDAR_SELECTABLE_NONE
|
||||
ELM_CALENDAR_SELECTABLE_YEAR
|
||||
ELM_CALENDAR_SELECTABLE_MONTH
|
||||
ELM_CALENDAR_SELECTABLE_DAY
|
||||
ctypedef enum Elm_Calendar_Selectable:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Calendar_Weekday:
|
||||
ELM_DAY_SUNDAY
|
||||
ELM_DAY_MONDAY
|
||||
ELM_DAY_TUESDAY
|
||||
ELM_DAY_WEDNESDAY
|
||||
ELM_DAY_THURSDAY
|
||||
ELM_DAY_FRIDAY
|
||||
ELM_DAY_SATURDAY
|
||||
ELM_DAY_LAST
|
||||
ctypedef enum Elm_Calendar_Weekday:
|
||||
pass
|
||||
|
||||
|
||||
ctypedef char *(*Elm_Calendar_Format_Cb) (tm *stime)
|
||||
|
||||
|
||||
|
|
|
@ -1,18 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Clock_Edit_Mode
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Clock_Edit_Mode:
|
||||
ELM_CLOCK_EDIT_DEFAULT
|
||||
ELM_CLOCK_EDIT_HOUR_DECIMAL
|
||||
ELM_CLOCK_EDIT_HOUR_UNIT
|
||||
ELM_CLOCK_EDIT_MIN_DECIMAL
|
||||
ELM_CLOCK_EDIT_MIN_UNIT
|
||||
ELM_CLOCK_EDIT_SEC_DECIMAL
|
||||
ELM_CLOCK_EDIT_SEC_UNIT
|
||||
ELM_CLOCK_EDIT_ALL
|
||||
ctypedef enum Elm_Clock_Edit_Mode:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object *elm_clock_add(Evas_Object *parent)
|
||||
void elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec)
|
||||
void elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec)
|
||||
|
|
|
@ -1,13 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Colorselector_Mode
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Colorselector_Mode:
|
||||
ELM_COLORSELECTOR_PALETTE
|
||||
ELM_COLORSELECTOR_COMPONENTS
|
||||
ELM_COLORSELECTOR_BOTH
|
||||
ctypedef enum Elm_Colorselector_Mode:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object * elm_colorselector_add(Evas_Object *parent)
|
||||
void elm_colorselector_color_set(Evas_Object *obj, int r, int g, int b, int a)
|
||||
void elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a)
|
||||
|
|
|
@ -1,35 +1,8 @@
|
|||
cdef extern from "Edje.h":
|
||||
|
||||
cpdef enum Edje_Channel:
|
||||
EDJE_CHANNEL_EFFECT
|
||||
EDJE_CHANNEL_BACKGROUND
|
||||
EDJE_CHANNEL_MUSIC
|
||||
EDJE_CHANNEL_FOREGROUND
|
||||
EDJE_CHANNEL_INTERFACE
|
||||
EDJE_CHANNEL_INPUT
|
||||
EDJE_CHANNEL_ALERT
|
||||
EDJE_CHANNEL_ALL
|
||||
ctypedef enum Edje_Channel:
|
||||
pass
|
||||
|
||||
from efl.elementary.enums cimport Elm_Softcursor_Mode, \
|
||||
Elm_Slider_Indicator_Visible_Mode, Elm_Focus_Move_Policy, \
|
||||
Elm_Focus_Autoscroll_Mode, Edje_Channel
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Softcursor_Mode:
|
||||
ELM_SOFTCURSOR_MODE_AUTO
|
||||
ELM_SOFTCURSOR_MODE_ON
|
||||
ELM_SOFTCURSOR_MODE_OFF
|
||||
ctypedef enum Elm_Softcursor_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Slider_Indicator_Visible_Mode:
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE
|
||||
ctypedef enum Elm_Slider_Indicator_Visible_Mode:
|
||||
pass
|
||||
|
||||
ctypedef struct Elm_Font_Overlay:
|
||||
const char *text_class
|
||||
const char *font
|
||||
|
|
|
@ -1,15 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Ctxpopup_Direction
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Ctxpopup_Direction:
|
||||
ELM_CTXPOPUP_DIRECTION_DOWN
|
||||
ELM_CTXPOPUP_DIRECTION_RIGHT
|
||||
ELM_CTXPOPUP_DIRECTION_LEFT
|
||||
ELM_CTXPOPUP_DIRECTION_UP
|
||||
ELM_CTXPOPUP_DIRECTION_UNKNOWN
|
||||
ctypedef enum Elm_Ctxpopup_Direction:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object *elm_ctxpopup_add(Evas_Object *parent)
|
||||
void elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent)
|
||||
Evas_Object *elm_ctxpopup_hover_parent_get(const Evas_Object *obj)
|
||||
|
|
|
@ -1,16 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Datetime_Field_Type
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Datetime_Field_Type:
|
||||
ELM_DATETIME_YEAR
|
||||
ELM_DATETIME_MONTH
|
||||
ELM_DATETIME_DATE
|
||||
ELM_DATETIME_HOUR
|
||||
ELM_DATETIME_MINUTE
|
||||
ELM_DATETIME_AMPM
|
||||
ctypedef enum Elm_Datetime_Field_Type:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object * elm_datetime_add(Evas_Object *parent)
|
||||
const char * elm_datetime_format_get(const Evas_Object *obj)
|
||||
void elm_datetime_format_set(Evas_Object *obj, const char *fmt)
|
||||
|
|
|
@ -1,18 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Dayselector_Day
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Dayselector_Day:
|
||||
ELM_DAYSELECTOR_SUN
|
||||
ELM_DAYSELECTOR_MON
|
||||
ELM_DAYSELECTOR_TUE
|
||||
ELM_DAYSELECTOR_WED
|
||||
ELM_DAYSELECTOR_THU
|
||||
ELM_DAYSELECTOR_FRI
|
||||
ELM_DAYSELECTOR_SAT
|
||||
ELM_DAYSELECTOR_MAX
|
||||
ctypedef enum Elm_Dayselector_Day:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object *elm_dayselector_add(Evas_Object *parent)
|
||||
void elm_dayselector_day_selected_set(Evas_Object *obj, Elm_Dayselector_Day day, Eina_Bool selected)
|
||||
Eina_Bool elm_dayselector_day_selected_get(const Evas_Object *obj, Elm_Dayselector_Day day)
|
||||
|
|
|
@ -3,12 +3,16 @@ from efl.eina cimport Eina_Rectangle, Eina_Compare_Cb, \
|
|||
eina_list_free, eina_list_append, eina_stringshare_del
|
||||
from efl.evas cimport Eina_List, Eina_Bool, Evas_Object, Evas_Font_Size, \
|
||||
Evas_Coord, Evas_Callback_Type, Evas_Smart_Cb, Evas_Event_Flags, \
|
||||
Evas_Load_Error, Evas_Image_Orient, EVAS_EVENT_FLAG_NONE, \
|
||||
evas_object_smart_callback_add, EVAS_CALLBACK_KEY_DOWN, \
|
||||
Evas_Load_Error, Evas_Image_Orient, \
|
||||
evas_object_smart_callback_add
|
||||
from efl.evas.enums cimport EVAS_EVENT_FLAG_NONE, EVAS_CALLBACK_KEY_DOWN, \
|
||||
EVAS_CALLBACK_KEY_UP, EVAS_CALLBACK_MOUSE_WHEEL
|
||||
|
||||
from efl.ecore cimport Ecore_Pos_Map
|
||||
|
||||
from efl.elementary.enums cimport Elm_Process_State, Elm_Sys_Notify_Urgency, \
|
||||
Elm_Policy, Elm_Policy_Quit, Elm_Policy_Exit, Elm_Policy_Throttle
|
||||
|
||||
|
||||
cdef extern from "time.h":
|
||||
struct tm:
|
||||
|
@ -32,85 +36,6 @@ cdef extern from "Edje.h":
|
|||
ctypedef void (*Edje_Signal_Cb)(void *data, Evas_Object *obj, const char *emission, const char *source)
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
#define
|
||||
cpdef enum:
|
||||
ELM_ECORE_EVENT_ETHUMB_CONNECT
|
||||
ELM_EVENT_CONFIG_ALL_CHANGED
|
||||
ELM_EVENT_POLICY_CHANGED
|
||||
ELM_EVENT_PROCESS_BACKGROUND
|
||||
ELM_EVENT_PROCESS_FOREGROUND
|
||||
ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED
|
||||
ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED
|
||||
ELM_EVENT_SYSTRAY_READY
|
||||
|
||||
#enums
|
||||
cpdef enum Elm_Object_Layer:
|
||||
ELM_OBJECT_LAYER_BACKGROUND # where to place backgrounds
|
||||
ELM_OBJECT_LAYER_DEFAULT # Evas_Object default layer (and thus for Elementary)
|
||||
ELM_OBJECT_LAYER_FOCUS # where focus object visualization is
|
||||
ELM_OBJECT_LAYER_TOOLTIP # where to show tooltips
|
||||
ELM_OBJECT_LAYER_CURSOR # where to show cursors
|
||||
ELM_OBJECT_LAYER_LAST # last layer known by Elementary
|
||||
ctypedef enum Elm_Object_Layer:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Policy:
|
||||
ELM_POLICY_QUIT
|
||||
ELM_POLICY_EXIT
|
||||
ELM_POLICY_THROTTLE
|
||||
ELM_POLICY_LAST
|
||||
ctypedef enum Elm_Policy:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Policy_Quit:
|
||||
ELM_POLICY_QUIT_NONE
|
||||
ELM_POLICY_QUIT_LAST_WINDOW_CLOSED
|
||||
ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN
|
||||
ctypedef enum Elm_Policy_Quit:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Policy_Exit:
|
||||
ELM_POLICY_EXIT_NONE
|
||||
ELM_POLICY_EXIT_WINDOWS_DEL
|
||||
ctypedef enum Elm_Policy_Exit:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Policy_Throttle:
|
||||
ELM_POLICY_THROTTLE_CONFIG
|
||||
ELM_POLICY_THROTTLE_HIDDEN_ALWAYS
|
||||
ELM_POLICY_THROTTLE_NEVER
|
||||
ctypedef enum Elm_Policy_Throttle:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Object_Multi_Select_Mode:
|
||||
ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT
|
||||
ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL
|
||||
ELM_OBJECT_MULTI_SELECT_MODE_MAX
|
||||
ctypedef enum Elm_Object_Multi_Select_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Sys_Notify_Urgency:
|
||||
ELM_SYS_NOTIFY_URGENCY_LOW
|
||||
ELM_SYS_NOTIFY_URGENCY_NORMAL
|
||||
ELM_SYS_NOTIFY_URGENCY_CRITICAL
|
||||
ctypedef enum Elm_Sys_Notify_Urgency:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Glob_Match_Flags:
|
||||
ELM_GLOB_MATCH_NO_ESCAPE
|
||||
ELM_GLOB_MATCH_PATH
|
||||
ELM_GLOB_MATCH_PERIOD
|
||||
ELM_GLOB_MATCH_NOCASE
|
||||
ctypedef enum Elm_Glob_Match_Flags:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Process_State:
|
||||
ELM_PROCESS_STATE_FOREGROUND
|
||||
ELM_PROCESS_STATE_BACKGROUND
|
||||
ctypedef enum Elm_Process_State:
|
||||
pass
|
||||
|
||||
#colors
|
||||
ctypedef struct Elm_Color_RGBA:
|
||||
unsigned int r
|
||||
|
|
|
@ -871,7 +871,7 @@ cdef class Entry(LayoutClass):
|
|||
"""
|
||||
elm_entry_context_menu_clear(self.obj)
|
||||
|
||||
def context_menu_item_add(self, label = None, icon_file = None, Elm_Icon_Type icon_type = ELM_ICON_NONE, func = None, *args, **kwargs):
|
||||
def context_menu_item_add(self, label = None, icon_file = None, Elm_Icon_Type icon_type = enums.ELM_ICON_NONE, func = None, *args, **kwargs):
|
||||
"""This adds an item to the entry's contextual menu.
|
||||
|
||||
A longpress on an entry will make the contextual menu show up, if this
|
||||
|
@ -1096,7 +1096,7 @@ cdef class Entry(LayoutClass):
|
|||
if isinstance(a1, unicode): a1 = PyUnicode_AsUTF8String(a1)
|
||||
if not elm_entry_file_set(self.obj,
|
||||
<const char *>a1 if a1 is not None else NULL,
|
||||
a2 if a2 is not None else ELM_TEXT_FORMAT_PLAIN_UTF8):
|
||||
a2 if a2 is not None else enums.ELM_TEXT_FORMAT_PLAIN_UTF8):
|
||||
raise RuntimeError("Could not set file")
|
||||
|
||||
def file_set(self, file_name, file_format):
|
||||
|
@ -1105,7 +1105,7 @@ cdef class Entry(LayoutClass):
|
|||
if isinstance(a1, unicode): a1 = PyUnicode_AsUTF8String(a1)
|
||||
if not elm_entry_file_set(self.obj,
|
||||
<const char *>a1 if a1 is not None else NULL,
|
||||
a2 if a2 is not None else ELM_TEXT_FORMAT_PLAIN_UTF8):
|
||||
a2 if a2 is not None else enums.ELM_TEXT_FORMAT_PLAIN_UTF8):
|
||||
raise RuntimeError("Could not set file")
|
||||
def file_get(self):
|
||||
cdef const char *file
|
||||
|
|
|
@ -1,114 +1,9 @@
|
|||
from efl.elementary.enums cimport Elm_Autocapital_Type, Elm_Cnp_Mode, \
|
||||
Elm_Input_Hints, Elm_Input_Panel_Lang, Elm_Input_Panel_Layout, \
|
||||
Elm_Input_Panel_Return_Key_Type, Elm_Scroller_Policy, Elm_Text_Format, \
|
||||
Elm_Wrap_Type, Elm_Icon_Type, Elm_Sel_Format, Elm_Xdnd_Action
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Autocapital_Type:
|
||||
ELM_AUTOCAPITAL_TYPE_NONE
|
||||
ELM_AUTOCAPITAL_TYPE_WORD
|
||||
ELM_AUTOCAPITAL_TYPE_SENTENCE
|
||||
ELM_AUTOCAPITAL_TYPE_ALLCHARACTER
|
||||
ctypedef enum Elm_Autocapital_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Cnp_Mode:
|
||||
ELM_CNP_MODE_MARKUP
|
||||
ELM_CNP_MODE_NO_IMAGE
|
||||
ELM_CNP_MODE_PLAINTEXT
|
||||
ctypedef enum Elm_Cnp_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Input_Hints:
|
||||
ELM_INPUT_HINT_NONE
|
||||
ELM_INPUT_HINT_AUTO_COMPLETE
|
||||
ELM_INPUT_HINT_SENSITIVE_DATA
|
||||
ctypedef enum Elm_Input_Hints:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Input_Panel_Lang:
|
||||
ELM_INPUT_PANEL_LANG_AUTOMATIC
|
||||
ELM_INPUT_PANEL_LANG_ALPHABET
|
||||
ctypedef enum Elm_Input_Panel_Lang:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Input_Panel_Layout:
|
||||
ELM_INPUT_PANEL_LAYOUT_NORMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBER
|
||||
ELM_INPUT_PANEL_LAYOUT_EMAIL
|
||||
ELM_INPUT_PANEL_LAYOUT_URL
|
||||
ELM_INPUT_PANEL_LAYOUT_PHONENUMBER
|
||||
ELM_INPUT_PANEL_LAYOUT_IP
|
||||
ELM_INPUT_PANEL_LAYOUT_MONTH
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY
|
||||
ELM_INPUT_PANEL_LAYOUT_INVALID
|
||||
ELM_INPUT_PANEL_LAYOUT_HEX
|
||||
ELM_INPUT_PANEL_LAYOUT_TERMINAL
|
||||
ELM_INPUT_PANEL_LAYOUT_PASSWORD
|
||||
ELM_INPUT_PANEL_LAYOUT_DATETIME
|
||||
ELM_INPUT_PANEL_LAYOUT_EMOTICON
|
||||
ctypedef enum Elm_Input_Panel_Layout:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Input_Panel_Layout_Normal_Variation:
|
||||
ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_NORMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_FILENAME
|
||||
ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_PERSON_NAME
|
||||
ctypedef enum Elm_Input_Panel_Layout_Normal_Variation:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Input_Panel_Layout_Numberonly_Variation:
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_NORMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_DECIMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED_AND_DECIMAL
|
||||
ctypedef enum Elm_Input_Panel_Layout_Numberonly_Variation:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Input_Panel_Layout_Password_Variation:
|
||||
ELM_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NORMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NUMBERONLY
|
||||
ctypedef enum Elm_Input_Panel_Layout_Password_Variation:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Input_Panel_Return_Key_Type:
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_DONE
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_GO
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_JOIN
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_LOGIN
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_NEXT
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEARCH
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEND
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN
|
||||
ctypedef enum Elm_Input_Panel_Return_Key_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Scroller_Policy:
|
||||
ELM_SCROLLER_POLICY_AUTO
|
||||
ELM_SCROLLER_POLICY_ON
|
||||
ELM_SCROLLER_POLICY_OFF
|
||||
ctypedef enum Elm_Scroller_Policy:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Text_Format:
|
||||
ELM_TEXT_FORMAT_PLAIN_UTF8
|
||||
ELM_TEXT_FORMAT_MARKUP_UTF8
|
||||
ctypedef enum Elm_Text_Format:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Wrap_Type:
|
||||
ELM_WRAP_NONE
|
||||
ELM_WRAP_CHAR
|
||||
ELM_WRAP_WORD
|
||||
ELM_WRAP_MIXED
|
||||
ctypedef enum Elm_Wrap_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Icon_Type:
|
||||
ELM_ICON_NONE
|
||||
ELM_ICON_FILE
|
||||
ELM_ICON_STANDARD
|
||||
ctypedef enum Elm_Icon_Type:
|
||||
pass
|
||||
|
||||
|
||||
ctypedef struct Elm_Entry_Anchor_Info:
|
||||
char *name
|
||||
int button
|
||||
|
|
|
@ -1,25 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Fileselector_Mode, Elm_Fileselector_Sort
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Fileselector_Mode:
|
||||
ELM_FILESELECTOR_LIST
|
||||
ELM_FILESELECTOR_GRID
|
||||
ctypedef enum Elm_Fileselector_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Fileselector_Sort:
|
||||
ELM_FILESELECTOR_SORT_BY_FILENAME_ASC
|
||||
ELM_FILESELECTOR_SORT_BY_FILENAME_DESC
|
||||
ELM_FILESELECTOR_SORT_BY_TYPE_ASC
|
||||
ELM_FILESELECTOR_SORT_BY_TYPE_DESC
|
||||
ELM_FILESELECTOR_SORT_BY_SIZE_ASC
|
||||
ELM_FILESELECTOR_SORT_BY_SIZE_DESC
|
||||
ELM_FILESELECTOR_SORT_BY_MODIFIED_ASC
|
||||
ELM_FILESELECTOR_SORT_BY_MODIFIED_DESC
|
||||
ELM_FILESELECTOR_SORT_LAST
|
||||
ctypedef enum Elm_Fileselector_Sort:
|
||||
pass
|
||||
|
||||
|
||||
ctypedef Eina_Bool (*Elm_Fileselector_Filter_Func)(const char *path, Eina_Bool dir, void *data)
|
||||
|
||||
Evas_Object * elm_fileselector_add(Evas_Object *parent)
|
||||
|
|
|
@ -1,38 +1,7 @@
|
|||
from efl.elementary.enums cimport Elm_Flip_Direction, Elm_Flip_Interaction, \
|
||||
Elm_Flip_Mode
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Flip_Direction:
|
||||
ELM_FLIP_DIRECTION_UP
|
||||
ELM_FLIP_DIRECTION_DOWN
|
||||
ELM_FLIP_DIRECTION_LEFT
|
||||
ELM_FLIP_DIRECTION_RIGHT
|
||||
ctypedef enum Elm_Flip_Direction:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Flip_Interaction:
|
||||
ELM_FLIP_INTERACTION_NONE
|
||||
ELM_FLIP_INTERACTION_ROTATE
|
||||
ELM_FLIP_INTERACTION_CUBE
|
||||
ELM_FLIP_INTERACTION_PAGE
|
||||
ctypedef enum Elm_Flip_Interaction:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Flip_Mode:
|
||||
ELM_FLIP_ROTATE_Y_CENTER_AXIS
|
||||
ELM_FLIP_ROTATE_X_CENTER_AXIS
|
||||
ELM_FLIP_ROTATE_XZ_CENTER_AXIS
|
||||
ELM_FLIP_ROTATE_YZ_CENTER_AXIS
|
||||
ELM_FLIP_CUBE_LEFT
|
||||
ELM_FLIP_CUBE_RIGHT
|
||||
ELM_FLIP_CUBE_UP
|
||||
ELM_FLIP_CUBE_DOWN
|
||||
ELM_FLIP_PAGE_LEFT
|
||||
ELM_FLIP_PAGE_RIGHT
|
||||
ELM_FLIP_PAGE_UP
|
||||
ELM_FLIP_PAGE_DOWN
|
||||
ctypedef enum Elm_Flip_Mode:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object *elm_flip_add(Evas_Object *parent)
|
||||
Eina_Bool elm_flip_front_visible_get(const Evas_Object *obj)
|
||||
void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y)
|
||||
|
|
|
@ -1,48 +1,10 @@
|
|||
from efl.elementary.enums cimport Elm_Gengrid_Item_Scrollto_Type, \
|
||||
Elm_Gengrid_Reorder_Type, Elm_Object_Select_Mode, \
|
||||
Elm_Object_Multi_Select_Mode, Elm_Glob_Match_Flags
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
ctypedef cEo Elm_Gengrid
|
||||
|
||||
# deprecated
|
||||
cpdef enum Elm_Genlist_Item_Scrollto_Type:
|
||||
ELM_GENLIST_ITEM_SCROLLTO_NONE
|
||||
ELM_GENLIST_ITEM_SCROLLTO_IN
|
||||
ELM_GENLIST_ITEM_SCROLLTO_TOP
|
||||
ELM_GENLIST_ITEM_SCROLLTO_MIDDLE
|
||||
ctypedef enum Elm_Genlist_Item_Scrollto_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Gengrid_Item_Scrollto_Type:
|
||||
ELM_GENGRID_ITEM_SCROLLTO_NONE
|
||||
ELM_GENGRID_ITEM_SCROLLTO_IN
|
||||
ELM_GENGRID_ITEM_SCROLLTO_TOP
|
||||
ELM_GENGRID_ITEM_SCROLLTO_MIDDLE
|
||||
ELM_GENGRID_ITEM_SCROLLTO_BOTTOM
|
||||
ctypedef enum Elm_Gengrid_Item_Scrollto_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Object_Select_Mode:
|
||||
ELM_OBJECT_SELECT_MODE_DEFAULT
|
||||
ELM_OBJECT_SELECT_MODE_ALWAYS
|
||||
ELM_OBJECT_SELECT_MODE_NONE
|
||||
ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY
|
||||
ELM_OBJECT_SELECT_MODE_MAX
|
||||
ctypedef enum Elm_Object_Select_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Object_Multi_Select_Mode:
|
||||
ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT
|
||||
ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL
|
||||
ELM_OBJECT_MULTI_SELECT_MODE_MAX
|
||||
ctypedef enum Elm_Object_Multi_Select_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Gengrid_Reorder_Type:
|
||||
ELM_GENGRID_REORDER_TYPE_NORMAL
|
||||
ELM_GENGRID_REORDER_TYPE_SWAP
|
||||
ctypedef enum Elm_Gengrid_Reorder_Type:
|
||||
pass
|
||||
|
||||
|
||||
ctypedef char *(*GengridItemLabelGetFunc) (void *data, Evas_Object *obj, const char *part)
|
||||
ctypedef Evas_Object *(*GengridItemIconGetFunc) (void *data, Evas_Object *obj, const char *part)
|
||||
ctypedef Eina_Bool (*GengridItemStateGetFunc) (void *data, Evas_Object *obj, const char *part)
|
||||
|
@ -117,8 +79,8 @@ cdef extern from "Elementary.h":
|
|||
Elm_Object_Item * elm_gengrid_item_prev_get(const Elm_Object_Item *item)
|
||||
void elm_gengrid_item_selected_set(Elm_Object_Item *item, Eina_Bool selected)
|
||||
Eina_Bool elm_gengrid_item_selected_get(const Elm_Object_Item *item)
|
||||
void elm_gengrid_item_show(Elm_Object_Item *item, Elm_Genlist_Item_Scrollto_Type scrollto_type)
|
||||
void elm_gengrid_item_bring_in(Elm_Object_Item *item, Elm_Genlist_Item_Scrollto_Type scrollto_type)
|
||||
void elm_gengrid_item_show(Elm_Object_Item *item, Elm_Gengrid_Item_Scrollto_Type scrollto_type)
|
||||
void elm_gengrid_item_bring_in(Elm_Object_Item *item, Elm_Gengrid_Item_Scrollto_Type scrollto_type)
|
||||
void elm_gengrid_item_update(Elm_Object_Item *item)
|
||||
void elm_gengrid_item_pos_get(const Elm_Object_Item *item, unsigned int *x, unsigned int *y)
|
||||
void elm_gengrid_item_all_contents_unset(Elm_Object_Item *obj, Eina_List **l)
|
||||
|
|
|
@ -261,7 +261,7 @@ cdef class GengridItem(ObjectItem):
|
|||
def selected_get(self):
|
||||
return bool(elm_gengrid_item_selected_get(self.item))
|
||||
|
||||
def show(self, scrollto_type=ELM_GENGRID_ITEM_SCROLLTO_IN):
|
||||
def show(self, scrollto_type=enums.ELM_GENGRID_ITEM_SCROLLTO_IN):
|
||||
"""This causes gengrid to **redraw** its viewport's contents to the
|
||||
region containing the given ``item``, if it is not fully
|
||||
visible.
|
||||
|
@ -274,7 +274,7 @@ cdef class GengridItem(ObjectItem):
|
|||
"""
|
||||
elm_gengrid_item_show(self.item, scrollto_type)
|
||||
|
||||
def bring_in(self, scrollto_type=ELM_GENGRID_ITEM_SCROLLTO_IN):
|
||||
def bring_in(self, scrollto_type=enums.ELM_GENGRID_ITEM_SCROLLTO_IN):
|
||||
"""This causes gengrid to jump to the item and show
|
||||
it (by scrolling), if it is not fully visible. This will use
|
||||
animation to do so and take a period of time to complete.
|
||||
|
|
|
@ -1,67 +1,8 @@
|
|||
from efl.elementary.enums cimport Elm_Genlist_Item_Type, \
|
||||
Elm_Genlist_Item_Field_Type, Elm_Genlist_Item_Scrollto_Type, \
|
||||
Elm_Object_Select_Mode, Elm_Object_Multi_Select_Mode, Elm_List_Mode
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Genlist_Item_Type:
|
||||
ELM_GENLIST_ITEM_NONE
|
||||
ELM_GENLIST_ITEM_TREE
|
||||
ELM_GENLIST_ITEM_GROUP
|
||||
ELM_GENLIST_ITEM_MAX
|
||||
ctypedef enum Elm_Genlist_Item_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Genlist_Item_Field_Type:
|
||||
ELM_GENLIST_ITEM_FIELD_ALL
|
||||
ELM_GENLIST_ITEM_FIELD_TEXT
|
||||
ELM_GENLIST_ITEM_FIELD_CONTENT
|
||||
ELM_GENLIST_ITEM_FIELD_STATE
|
||||
ctypedef enum Elm_Genlist_Item_Field_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Genlist_Item_Scrollto_Type:
|
||||
ELM_GENLIST_ITEM_SCROLLTO_NONE
|
||||
ELM_GENLIST_ITEM_SCROLLTO_IN
|
||||
ELM_GENLIST_ITEM_SCROLLTO_TOP
|
||||
ELM_GENLIST_ITEM_SCROLLTO_MIDDLE
|
||||
ELM_GENLIST_ITEM_SCROLLTO_BOTTOM
|
||||
ctypedef enum Elm_Genlist_Item_Scrollto_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_List_Mode:
|
||||
ELM_LIST_COMPRESS
|
||||
ELM_LIST_SCROLL
|
||||
ELM_LIST_LIMIT
|
||||
ELM_LIST_EXPAND
|
||||
ctypedef enum Elm_List_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Object_Select_Mode:
|
||||
ELM_OBJECT_SELECT_MODE_DEFAULT
|
||||
ELM_OBJECT_SELECT_MODE_ALWAYS
|
||||
ELM_OBJECT_SELECT_MODE_NONE
|
||||
ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY
|
||||
ELM_OBJECT_SELECT_MODE_MAX
|
||||
ctypedef enum Elm_Object_Select_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Sel_Format:
|
||||
ELM_SEL_FORMAT_TARGETS
|
||||
ELM_SEL_FORMAT_NONE
|
||||
ELM_SEL_FORMAT_TEXT
|
||||
ELM_SEL_FORMAT_MARKUP
|
||||
ELM_SEL_FORMAT_IMAGE
|
||||
ELM_SEL_FORMAT_VCARD
|
||||
ELM_SEL_FORMAT_HTML
|
||||
ctypedef enum Elm_Sel_Format:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Sel_Type:
|
||||
ELM_SEL_TYPE_PRIMARY
|
||||
ELM_SEL_TYPE_SECONDARY
|
||||
ELM_SEL_TYPE_XDND
|
||||
ELM_SEL_TYPE_CLIPBOARD
|
||||
ctypedef enum Elm_Sel_Type:
|
||||
pass
|
||||
|
||||
|
||||
ctypedef char *(*GenlistItemLabelGetFunc) (void *data, Evas_Object *obj, const char *part)
|
||||
ctypedef Evas_Object *(*GenlistItemIconGetFunc) (void *data, Evas_Object *obj, const char *part)
|
||||
ctypedef Evas_Object *(*GenlistItemReusableIconGetFunc)(void *data, Evas_Object *obj, const char *part, Evas_Object *old)
|
||||
|
|
|
@ -13,7 +13,7 @@ cdef class GenlistItem(ObjectItem):
|
|||
|
||||
def __init__(self, GenlistItemClass item_class not None, item_data=None,
|
||||
GenlistItem parent_item=None,
|
||||
Elm_Genlist_Item_Type flags=ELM_GENLIST_ITEM_NONE,
|
||||
Elm_Genlist_Item_Type flags=enums.ELM_GENLIST_ITEM_NONE,
|
||||
func=None, func_data=None, *args, **kwargs):
|
||||
"""GenlistItem(...)
|
||||
|
||||
|
@ -330,7 +330,7 @@ cdef class GenlistItem(ObjectItem):
|
|||
cdef bint ret = elm_genlist_item_selected_get(self.item)
|
||||
return ret
|
||||
|
||||
def show(self, scrollto_type=ELM_GENLIST_ITEM_SCROLLTO_IN):
|
||||
def show(self, scrollto_type=enums.ELM_GENLIST_ITEM_SCROLLTO_IN):
|
||||
"""This causes genlist to jump to the item and show it (by
|
||||
jumping to that position), if it is not fully visible.
|
||||
|
||||
|
@ -342,7 +342,7 @@ cdef class GenlistItem(ObjectItem):
|
|||
"""
|
||||
elm_genlist_item_show(self.item, scrollto_type)
|
||||
|
||||
def bring_in(self, scrollto_type=ELM_GENLIST_ITEM_SCROLLTO_IN):
|
||||
def bring_in(self, scrollto_type=enums.ELM_GENLIST_ITEM_SCROLLTO_IN):
|
||||
"""This causes genlist to jump to the item and show it (by
|
||||
animatedly scrolling), if it is not fully visible.
|
||||
This may use animation and take a some time to do so.
|
||||
|
|
|
@ -105,7 +105,7 @@ cdef class Genlist(Object):
|
|||
GenlistItemClass item_class not None,
|
||||
item_data,
|
||||
ObjectItem parent_item=None,
|
||||
int flags=ELM_GENLIST_ITEM_NONE,
|
||||
int flags=enums.ELM_GENLIST_ITEM_NONE,
|
||||
func=None):
|
||||
"""Append a new item (add as last row) to this genlist.
|
||||
|
||||
|
@ -143,7 +143,7 @@ cdef class Genlist(Object):
|
|||
GenlistItemClass item_class not None,
|
||||
item_data,
|
||||
ObjectItem parent_item=None,
|
||||
int flags=ELM_GENLIST_ITEM_NONE,
|
||||
int flags=enums.ELM_GENLIST_ITEM_NONE,
|
||||
func=None):
|
||||
"""Prepend a new item (add as first row) to this genlist.
|
||||
|
||||
|
@ -181,7 +181,7 @@ cdef class Genlist(Object):
|
|||
GenlistItemClass item_class not None,
|
||||
item_data,
|
||||
ObjectItem before_item=None,
|
||||
int flags=ELM_GENLIST_ITEM_NONE,
|
||||
int flags=enums.ELM_GENLIST_ITEM_NONE,
|
||||
func=None
|
||||
):
|
||||
"""Insert a new item before another item to this genlist.
|
||||
|
@ -217,7 +217,7 @@ cdef class Genlist(Object):
|
|||
GenlistItemClass item_class not None,
|
||||
item_data,
|
||||
ObjectItem after_item=None,
|
||||
int flags=ELM_GENLIST_ITEM_NONE,
|
||||
int flags=enums.ELM_GENLIST_ITEM_NONE,
|
||||
func=None
|
||||
):
|
||||
"""Insert a new item after another item to this genlist.
|
||||
|
@ -254,7 +254,7 @@ cdef class Genlist(Object):
|
|||
item_data,
|
||||
comparison_func not None,
|
||||
ObjectItem parent_item=None,
|
||||
int flags=ELM_GENLIST_ITEM_NONE,
|
||||
int flags=enums.ELM_GENLIST_ITEM_NONE,
|
||||
func=None
|
||||
):
|
||||
"""This inserts a new item in the genlist based on a user defined
|
||||
|
|
|
@ -404,19 +404,19 @@ cdef class GestureLayer(Object):
|
|||
if not callable(callback):
|
||||
raise TypeError("callback is not callable")
|
||||
|
||||
if idx == <int>ELM_GESTURE_N_TAPS or \
|
||||
idx == <int>ELM_GESTURE_N_LONG_TAPS or \
|
||||
idx == <int>ELM_GESTURE_N_DOUBLE_TAPS or \
|
||||
idx == <int>ELM_GESTURE_N_TRIPLE_TAPS:
|
||||
if idx == <int>enums.ELM_GESTURE_N_TAPS or \
|
||||
idx == <int>enums.ELM_GESTURE_N_LONG_TAPS or \
|
||||
idx == <int>enums.ELM_GESTURE_N_DOUBLE_TAPS or \
|
||||
idx == <int>enums.ELM_GESTURE_N_TRIPLE_TAPS:
|
||||
cb = _gesture_layer_taps_event_cb
|
||||
elif idx == <int>ELM_GESTURE_MOMENTUM:
|
||||
elif idx == <int>enums.ELM_GESTURE_MOMENTUM:
|
||||
cb = _gesture_layer_momentum_event_cb
|
||||
elif idx == <int>ELM_GESTURE_N_LINES or \
|
||||
idx == <int>ELM_GESTURE_N_FLICKS:
|
||||
elif idx == <int>enums.ELM_GESTURE_N_LINES or \
|
||||
idx == <int>enums.ELM_GESTURE_N_FLICKS:
|
||||
cb = _gesture_layer_line_event_cb
|
||||
elif idx == <int>ELM_GESTURE_ZOOM:
|
||||
elif idx == <int>enums.ELM_GESTURE_ZOOM:
|
||||
cb = _gesture_layer_zoom_event_cb
|
||||
elif idx == <int>ELM_GESTURE_ROTATE:
|
||||
elif idx == <int>enums.ELM_GESTURE_ROTATE:
|
||||
cb = _gesture_layer_rotate_event_cb
|
||||
else:
|
||||
raise TypeError("Unknown gesture type")
|
||||
|
|
|
@ -1,30 +1,8 @@
|
|||
from efl.evas.enums cimport EVAS_EVENT_FLAG_NONE
|
||||
|
||||
from efl.elementary.enums cimport Elm_Gesture_State, Elm_Gesture_Type
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Gesture_State:
|
||||
ELM_GESTURE_STATE_UNDEFINED
|
||||
ELM_GESTURE_STATE_START
|
||||
ELM_GESTURE_STATE_MOVE
|
||||
ELM_GESTURE_STATE_END
|
||||
ELM_GESTURE_STATE_ABORT
|
||||
ctypedef enum Elm_Gesture_State:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Gesture_Type:
|
||||
ELM_GESTURE_FIRST
|
||||
ELM_GESTURE_N_TAPS
|
||||
ELM_GESTURE_N_LONG_TAPS
|
||||
ELM_GESTURE_N_DOUBLE_TAPS
|
||||
ELM_GESTURE_N_TRIPLE_TAPS
|
||||
ELM_GESTURE_MOMENTUM
|
||||
ELM_GESTURE_N_LINES
|
||||
ELM_GESTURE_N_FLICKS
|
||||
ELM_GESTURE_ZOOM
|
||||
ELM_GESTURE_ROTATE
|
||||
ELM_GESTURE_LAST
|
||||
ctypedef enum Elm_Gesture_Type:
|
||||
pass
|
||||
|
||||
|
||||
ctypedef struct Elm_Gesture_Taps_Info:
|
||||
Evas_Coord x, y
|
||||
unsigned int n
|
||||
|
|
|
@ -1,13 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Hover_Axis
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Hover_Axis:
|
||||
ELM_HOVER_AXIS_NONE
|
||||
ELM_HOVER_AXIS_HORIZONTAL
|
||||
ELM_HOVER_AXIS_VERTICAL
|
||||
ELM_HOVER_AXIS_BOTH
|
||||
ctypedef enum Elm_Hover_Axis:
|
||||
pass
|
||||
|
||||
Evas_Object *elm_hover_add(Evas_Object *parent)
|
||||
void elm_hover_target_set(Evas_Object *obj, Evas_Object *target)
|
||||
Evas_Object *elm_hover_target_get(const Evas_Object *obj)
|
||||
|
|
|
@ -32,7 +32,7 @@ cdef class HoverselItem(ObjectItem):
|
|||
Elm_Icon_Type icon_type
|
||||
|
||||
def __init__(self, label = None, icon_file = None,
|
||||
icon_type = ELM_ICON_NONE, callback = None, cb_data = None,
|
||||
icon_type = enums.ELM_ICON_NONE, callback = None, cb_data = None,
|
||||
*args, **kwargs):
|
||||
"""HoverselItem(...)
|
||||
|
||||
|
@ -295,7 +295,7 @@ cdef class Hoversel(Button):
|
|||
return _object_item_list_to_python(elm_hoversel_items_get(self.obj))
|
||||
|
||||
def item_add(self, label = None, icon_file = None,
|
||||
icon_type = ELM_ICON_NONE, callback = None, *args, **kwargs):
|
||||
icon_type = enums.ELM_ICON_NONE, callback = None, *args, **kwargs):
|
||||
cdef:
|
||||
Elm_Object_Item *item
|
||||
Evas_Smart_Cb cb = NULL
|
||||
|
|
|
@ -1,12 +1,4 @@
|
|||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Icon_Type:
|
||||
ELM_ICON_NONE
|
||||
ELM_ICON_FILE
|
||||
ELM_ICON_STANDARD
|
||||
ctypedef enum Elm_Icon_Type:
|
||||
pass
|
||||
|
||||
Evas_Object *elm_hoversel_add(Evas_Object *parent)
|
||||
void elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
|
||||
Eina_Bool elm_hoversel_horizontal_get(const Evas_Object *obj)
|
||||
|
|
|
@ -1,25 +1,9 @@
|
|||
from efl.elementary.enums cimport Elm_Icon_Lookup_Order
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Icon_Lookup_Order:
|
||||
ELM_ICON_LOOKUP_FDO_THEME
|
||||
ELM_ICON_LOOKUP_THEME_FDO
|
||||
ELM_ICON_LOOKUP_FDO
|
||||
ELM_ICON_LOOKUP_THEME
|
||||
ctypedef enum Elm_Icon_Lookup_Order:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Icon_Type:
|
||||
ELM_ICON_NONE
|
||||
ELM_ICON_FILE
|
||||
ELM_ICON_STANDARD
|
||||
ctypedef enum Elm_Icon_Type:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object * elm_icon_add(Evas_Object *parent)
|
||||
void elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group)
|
||||
Eina_Bool elm_icon_standard_set(Evas_Object *obj, const char *name)
|
||||
const char * elm_icon_standard_get(const Evas_Object *obj)
|
||||
void elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order)
|
||||
Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj)
|
||||
|
||||
|
|
|
@ -1,19 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Image_Orient
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Image_Orient:
|
||||
ELM_IMAGE_ORIENT_NONE
|
||||
ELM_IMAGE_ORIENT_0
|
||||
ELM_IMAGE_ROTATE_90
|
||||
ELM_IMAGE_ROTATE_180
|
||||
ELM_IMAGE_ROTATE_270
|
||||
ELM_IMAGE_FLIP_HORIZONTAL
|
||||
ELM_IMAGE_FLIP_VERTICAL
|
||||
ELM_IMAGE_FLIP_TRANSPOSE
|
||||
ELM_IMAGE_FLIP_TRANSVERSE
|
||||
ctypedef enum Elm_Image_Orient:
|
||||
pass
|
||||
|
||||
|
||||
ctypedef struct Elm_Image_Progress:
|
||||
double now
|
||||
double total
|
||||
|
|
|
@ -1,20 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Wrap_Type, Elm_Label_Slide_Mode
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Wrap_Type:
|
||||
ELM_WRAP_NONE
|
||||
ELM_WRAP_CHAR
|
||||
ELM_WRAP_WORD
|
||||
ELM_WRAP_MIXED
|
||||
ctypedef enum Elm_Wrap_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Label_Slide_Mode:
|
||||
ELM_LABEL_SLIDE_MODE_NONE
|
||||
ELM_LABEL_SLIDE_MODE_AUTO
|
||||
ELM_LABEL_SLIDE_MODE_ALWAYS
|
||||
ctypedef enum Elm_Label_Slide_Mode:
|
||||
pass
|
||||
|
||||
Evas_Object *elm_label_add(Evas_Object *parent)
|
||||
void elm_label_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap)
|
||||
Elm_Wrap_Type elm_label_line_wrap_get(const Evas_Object *obj)
|
||||
|
|
|
@ -1,29 +1,4 @@
|
|||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_List_Mode:
|
||||
ELM_LIST_COMPRESS
|
||||
ELM_LIST_SCROLL
|
||||
ELM_LIST_LIMIT
|
||||
ELM_LIST_EXPAND
|
||||
ctypedef enum Elm_List_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Object_Select_Mode:
|
||||
ELM_OBJECT_SELECT_MODE_DEFAULT
|
||||
ELM_OBJECT_SELECT_MODE_ALWAYS
|
||||
ELM_OBJECT_SELECT_MODE_NONE
|
||||
ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY
|
||||
ELM_OBJECT_SELECT_MODE_MAX
|
||||
ctypedef enum Elm_Object_Select_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Scroller_Policy:
|
||||
ELM_SCROLLER_POLICY_AUTO
|
||||
ELM_SCROLLER_POLICY_ON
|
||||
ELM_SCROLLER_POLICY_OFF
|
||||
ctypedef enum Elm_Scroller_Policy:
|
||||
pass
|
||||
|
||||
Evas_Object *elm_list_add(Evas_Object *parent)
|
||||
void elm_list_go(Evas_Object *obj)
|
||||
void elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi)
|
||||
|
|
|
@ -1,51 +1,7 @@
|
|||
from efl.elementary.enums cimport Elm_Map_Overlay_Type, Elm_Map_Route_Method, \
|
||||
Elm_Map_Route_Type, Elm_Map_Source_Type, Elm_Map_Zoom_Mode
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Map_Overlay_Type:
|
||||
ELM_MAP_OVERLAY_TYPE_NONE
|
||||
ELM_MAP_OVERLAY_TYPE_DEFAULT
|
||||
ELM_MAP_OVERLAY_TYPE_CLASS
|
||||
ELM_MAP_OVERLAY_TYPE_GROUP
|
||||
ELM_MAP_OVERLAY_TYPE_BUBBLE
|
||||
ELM_MAP_OVERLAY_TYPE_ROUTE
|
||||
ELM_MAP_OVERLAY_TYPE_LINE
|
||||
ELM_MAP_OVERLAY_TYPE_POLYGON
|
||||
ELM_MAP_OVERLAY_TYPE_CIRCLE
|
||||
ELM_MAP_OVERLAY_TYPE_SCALE
|
||||
ctypedef enum Elm_Map_Overlay_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Map_Route_Method:
|
||||
ELM_MAP_ROUTE_METHOD_FASTEST
|
||||
ELM_MAP_ROUTE_METHOD_SHORTEST
|
||||
ELM_MAP_ROUTE_METHOD_LAST
|
||||
ctypedef enum Elm_Map_Route_Method:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Map_Route_Type:
|
||||
ELM_MAP_ROUTE_TYPE_MOTOCAR
|
||||
ELM_MAP_ROUTE_TYPE_BICYCLE
|
||||
ELM_MAP_ROUTE_TYPE_FOOT
|
||||
ELM_MAP_ROUTE_TYPE_LAST
|
||||
ctypedef enum Elm_Map_Route_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Map_Source_Type:
|
||||
ELM_MAP_SOURCE_TYPE_TILE
|
||||
ELM_MAP_SOURCE_TYPE_ROUTE
|
||||
ELM_MAP_SOURCE_TYPE_NAME
|
||||
ELM_MAP_SOURCE_TYPE_LAST
|
||||
ctypedef enum Elm_Map_Source_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Map_Zoom_Mode:
|
||||
ELM_MAP_ZOOM_MODE_MANUAL
|
||||
ELM_MAP_ZOOM_MODE_AUTO_FIT
|
||||
ELM_MAP_ZOOM_MODE_AUTO_FILL
|
||||
ELM_MAP_ZOOM_MODE_LAST
|
||||
ctypedef enum Elm_Map_Zoom_Mode:
|
||||
pass
|
||||
|
||||
|
||||
ctypedef void *Elm_Map_Overlay
|
||||
ctypedef void *Elm_Map_Route
|
||||
ctypedef void *Elm_Map_Name
|
||||
|
|
|
@ -126,7 +126,7 @@ def need_systray():
|
|||
cdef bint ret = elm_need_systray()
|
||||
if ret:
|
||||
try:
|
||||
_event_mapping_register(ELM_EVENT_SYSTRAY_READY, EventSystrayReady)
|
||||
_event_mapping_register(enums.ELM_EVENT_SYSTRAY_READY, EventSystrayReady)
|
||||
except ValueError:
|
||||
pass
|
||||
return ret
|
||||
|
@ -148,11 +148,11 @@ def need_sys_notify():
|
|||
if ret:
|
||||
try:
|
||||
_event_mapping_register(
|
||||
ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED,
|
||||
enums.ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED,
|
||||
SysNotifyNotificationClosed
|
||||
)
|
||||
_event_mapping_register(
|
||||
ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED,
|
||||
enums.ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED,
|
||||
SysNotifyActionInvoked
|
||||
)
|
||||
except ValueError:
|
||||
|
@ -218,7 +218,7 @@ def need_ethumb():
|
|||
"""
|
||||
cdef bint ret = elm_need_ethumb()
|
||||
try:
|
||||
_event_mapping_register(ELM_ECORE_EVENT_ETHUMB_CONNECT, EthumbConnect)
|
||||
_event_mapping_register(enums.ELM_ECORE_EVENT_ETHUMB_CONNECT, EthumbConnect)
|
||||
except ValueError:
|
||||
pass
|
||||
return ret
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
cdef extern from "Elementary.h":
|
||||
cpdef enum:
|
||||
ELM_ECORE_EVENT_ETHUMB_CONNECT
|
||||
ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED
|
||||
ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED
|
||||
ELM_EVENT_SYSTRAY_READY
|
||||
from efl.elementary.enums cimport Elm_Sys_Notify_Closed_Reason
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
ctypedef struct Elm_Sys_Notify_Notification_Closed:
|
||||
unsigned int id # ID of the notification.
|
||||
Elm_Sys_Notify_Closed_Reason reason # The Reason the notification was closed.
|
||||
|
@ -13,15 +9,6 @@ cdef extern from "Elementary.h":
|
|||
unsigned int id # ID of the notification.
|
||||
char *action_key # The key of the action invoked. These match the keys sent over in the list of actions.
|
||||
|
||||
cpdef enum Elm_Sys_Notify_Closed_Reason:
|
||||
ELM_SYS_NOTIFY_CLOSED_EXPIRED
|
||||
ELM_SYS_NOTIFY_CLOSED_DISMISSED
|
||||
ELM_SYS_NOTIFY_CLOSED_REQUESTED
|
||||
ELM_SYS_NOTIFY_CLOSED_UNDEFINED
|
||||
ctypedef enum Elm_Sys_Notify_Closed_Reason:
|
||||
pass
|
||||
|
||||
|
||||
Eina_Bool elm_need_efreet()
|
||||
Eina_Bool elm_need_systray()
|
||||
Eina_Bool elm_need_sys_notify()
|
||||
|
|
|
@ -1,20 +1,4 @@
|
|||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Notify_Orient:
|
||||
ELM_NOTIFY_ORIENT_TOP
|
||||
ELM_NOTIFY_ORIENT_CENTER
|
||||
ELM_NOTIFY_ORIENT_BOTTOM
|
||||
ELM_NOTIFY_ORIENT_LEFT
|
||||
ELM_NOTIFY_ORIENT_RIGHT
|
||||
ELM_NOTIFY_ORIENT_TOP_LEFT
|
||||
ELM_NOTIFY_ORIENT_TOP_RIGHT
|
||||
ELM_NOTIFY_ORIENT_BOTTOM_LEFT
|
||||
ELM_NOTIFY_ORIENT_BOTTOM_RIGHT
|
||||
ELM_NOTIFY_ORIENT_LAST
|
||||
ctypedef enum Elm_Notify_Orient:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object *elm_notify_add(Evas_Object *parent)
|
||||
void elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent)
|
||||
Evas_Object *elm_notify_parent_get(const Evas_Object *obj)
|
||||
|
|
|
@ -15,89 +15,14 @@
|
|||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from efl.elementary.enums cimport Elm_Sel_Type, Elm_Focus_Direction, \
|
||||
Elm_Focus_Region_Show_Mode, Elm_Tooltip_Orient
|
||||
|
||||
cdef extern from "Edje.h":
|
||||
ctypedef void (*Edje_Signal_Cb)(void *data, Evas_Object *obj, const char *emission, const char *source)
|
||||
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Focus_Direction:
|
||||
ELM_FOCUS_PREVIOUS
|
||||
ELM_FOCUS_NEXT
|
||||
ELM_FOCUS_UP
|
||||
ELM_FOCUS_DOWN
|
||||
ELM_FOCUS_RIGHT
|
||||
ELM_FOCUS_LEFT
|
||||
ctypedef enum Elm_Focus_Direction:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Focus_Move_Policy:
|
||||
ELM_FOCUS_MOVE_POLICY_CLICK
|
||||
ELM_FOCUS_MOVE_POLICY_IN
|
||||
ELM_FOCUS_MOVE_POLICY_KEY_ONLY
|
||||
ctypedef enum Elm_Focus_Move_Policy:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Focus_Region_Show_Mode:
|
||||
ELM_FOCUS_REGION_SHOW_WIDGET
|
||||
ELM_FOCUS_REGION_SHOW_ITEM
|
||||
ctypedef enum Elm_Focus_Region_Show_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Focus_Autoscroll_Mode:
|
||||
ELM_FOCUS_AUTOSCROLL_MODE_SHOW
|
||||
ELM_FOCUS_AUTOSCROLL_MODE_NONE
|
||||
ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN
|
||||
ctypedef enum Elm_Focus_Autoscroll_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Sel_Type:
|
||||
ELM_SEL_TYPE_PRIMARY
|
||||
ELM_SEL_TYPE_SECONDARY
|
||||
ELM_SEL_TYPE_XDND
|
||||
ELM_SEL_TYPE_CLIPBOARD
|
||||
ctypedef enum Elm_Sel_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Sel_Format:
|
||||
ELM_SEL_FORMAT_TARGETS
|
||||
ELM_SEL_FORMAT_NONE
|
||||
ELM_SEL_FORMAT_TEXT
|
||||
ELM_SEL_FORMAT_MARKUP
|
||||
ELM_SEL_FORMAT_IMAGE
|
||||
ELM_SEL_FORMAT_VCARD
|
||||
ELM_SEL_FORMAT_HTML
|
||||
ctypedef enum Elm_Sel_Format:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Xdnd_Action:
|
||||
ELM_XDND_ACTION_UNKNOWN
|
||||
ELM_XDND_ACTION_COPY
|
||||
ELM_XDND_ACTION_MOVE
|
||||
ELM_XDND_ACTION_PRIVATE
|
||||
ELM_XDND_ACTION_ASK
|
||||
ELM_XDND_ACTION_LIST
|
||||
ELM_XDND_ACTION_LINK
|
||||
ELM_XDND_ACTION_DESCRIPTION
|
||||
ctypedef enum Elm_Xdnd_Action:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Tooltip_Orient:
|
||||
ELM_TOOLTIP_ORIENT_NONE
|
||||
ELM_TOOLTIP_ORIENT_TOP_LEFT
|
||||
ELM_TOOLTIP_ORIENT_TOP
|
||||
ELM_TOOLTIP_ORIENT_TOP_RIGHT
|
||||
ELM_TOOLTIP_ORIENT_LEFT
|
||||
ELM_TOOLTIP_ORIENT_CENTER
|
||||
ELM_TOOLTIP_ORIENT_RIGHT
|
||||
ELM_TOOLTIP_ORIENT_BOTTOM_LEFT
|
||||
ELM_TOOLTIP_ORIENT_BOTTOM
|
||||
ELM_TOOLTIP_ORIENT_BOTTOM_RIGHT
|
||||
ELM_TOOLTIP_ORIENT_LAST
|
||||
ctypedef enum Elm_Tooltip_Orient:
|
||||
pass
|
||||
|
||||
ctypedef struct Elm_Theme
|
||||
|
||||
ctypedef struct Elm_Object_Item
|
||||
|
|
|
@ -1,13 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Panel_Orient
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Panel_Orient:
|
||||
ELM_PANEL_ORIENT_TOP
|
||||
ELM_PANEL_ORIENT_BOTTOM
|
||||
ELM_PANEL_ORIENT_LEFT
|
||||
ELM_PANEL_ORIENT_RIGHT
|
||||
ctypedef enum Elm_Panel_Orient:
|
||||
pass
|
||||
|
||||
Evas_Object *elm_panel_add(Evas_Object *parent)
|
||||
void elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient)
|
||||
Elm_Panel_Orient elm_panel_orient_get(const Evas_Object *obj)
|
||||
|
|
|
@ -1,15 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Photocam_Zoom_Mode
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Photocam_Zoom_Mode:
|
||||
ELM_PHOTOCAM_ZOOM_MODE_MANUAL
|
||||
ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT
|
||||
ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL
|
||||
ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN
|
||||
ELM_PHOTOCAM_ZOOM_MODE_LAST
|
||||
ctypedef enum Elm_Photocam_Zoom_Mode:
|
||||
pass
|
||||
|
||||
|
||||
ctypedef struct Elm_Photocam_Progress:
|
||||
double now
|
||||
double total
|
||||
|
|
|
@ -1,28 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Popup_Orient, Elm_Wrap_Type
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Popup_Orient:
|
||||
ELM_POPUP_ORIENT_TOP
|
||||
ELM_POPUP_ORIENT_CENTER
|
||||
ELM_POPUP_ORIENT_BOTTOM
|
||||
ELM_POPUP_ORIENT_LEFT
|
||||
ELM_POPUP_ORIENT_RIGHT
|
||||
ELM_POPUP_ORIENT_TOP_LEFT
|
||||
ELM_POPUP_ORIENT_TOP_RIGHT
|
||||
ELM_POPUP_ORIENT_BOTTOM_LEFT
|
||||
ELM_POPUP_ORIENT_BOTTOM_RIGHT
|
||||
ELM_POPUP_ORIENT_LAST
|
||||
ctypedef enum Elm_Popup_Orient:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Wrap_Type:
|
||||
ELM_WRAP_NONE
|
||||
ELM_WRAP_CHAR
|
||||
ELM_WRAP_WORD
|
||||
ELM_WRAP_MIXED
|
||||
ctypedef enum Elm_Wrap_Type:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object *elm_popup_add(Evas_Object *parent)
|
||||
void elm_popup_align_set(Evas_Object *obj, double horizontal, double vertical)
|
||||
void elm_popup_align_get(const Evas_Object *obj, double *horizontal, double *vertical)
|
||||
|
|
|
@ -1,28 +1,7 @@
|
|||
from efl.elementary.enums cimport Elm_Scroller_Single_Direction, \
|
||||
Elm_Scroller_Movement_Block
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Scroller_Policy:
|
||||
ELM_SCROLLER_POLICY_AUTO
|
||||
ELM_SCROLLER_POLICY_ON
|
||||
ELM_SCROLLER_POLICY_OFF
|
||||
ctypedef enum Elm_Scroller_Policy:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Scroller_Single_Direction:
|
||||
ELM_SCROLLER_SINGLE_DIRECTION_NONE
|
||||
ELM_SCROLLER_SINGLE_DIRECTION_SOFT
|
||||
ELM_SCROLLER_SINGLE_DIRECTION_HARD
|
||||
ELM_SCROLLER_SINGLE_DIRECTION_LAST
|
||||
ctypedef enum Elm_Scroller_Single_Direction:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Scroller_Movement_Block:
|
||||
ELM_SCROLLER_MOVEMENT_NO_BLOCK
|
||||
ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL
|
||||
ELM_SCROLLER_MOVEMENT_BLOCK_HORIZONTAL
|
||||
ctypedef enum Elm_Scroller_Movement_Block:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object *elm_scroller_add(Evas_Object *parent)
|
||||
void elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base)
|
||||
void elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h)
|
||||
|
|
|
@ -1,13 +1,4 @@
|
|||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Slider_Indicator_Visible_Mode:
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE
|
||||
ctypedef enum Elm_Slider_Indicator_Visible_Mode:
|
||||
pass
|
||||
|
||||
Evas_Object * elm_slider_add(Evas_Object *parent)
|
||||
void elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size)
|
||||
Evas_Coord elm_slider_span_size_get(const Evas_Object *obj)
|
||||
|
|
|
@ -215,4 +215,4 @@ cdef class Systray(Eo):
|
|||
|
||||
def on_systray_ready(func, *args, **kwargs):
|
||||
"""Use this to set a handler for the systray ready event."""
|
||||
return EventHandler(ELM_EVENT_SYSTRAY_READY, func, *args, **kwargs)
|
||||
return EventHandler(enums.ELM_EVENT_SYSTRAY_READY, func, *args, **kwargs)
|
||||
|
|
|
@ -1,24 +1,9 @@
|
|||
from efl.elementary.enums cimport Elm_Systray_Category, Elm_Systray_Status
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
ctypedef cEo Elm_Systray
|
||||
|
||||
cpdef enum:
|
||||
ELM_EVENT_SYSTRAY_READY
|
||||
|
||||
cpdef enum _Elm_Systray_Category:
|
||||
ELM_SYSTRAY_CATEGORY_APP_STATUS
|
||||
ELM_SYSTRAY_CATEGORY_COMMUNICATIONS
|
||||
ELM_SYSTRAY_CATEGORY_SYS_SERVICES
|
||||
ELM_SYSTRAY_CATEGORY_HARDWARE
|
||||
ELM_SYSTRAY_CATEGORY_OTHER
|
||||
ctypedef _Elm_Systray_Category Elm_Systray_Category
|
||||
|
||||
cpdef enum _Elm_Systray_Status:
|
||||
ELM_SYSTRAY_STATUS_PASSIVE
|
||||
ELM_SYSTRAY_STATUS_ACTIVE
|
||||
ELM_SYSTRAY_STATUS_ATTENTION
|
||||
ctypedef _Elm_Systray_Status Elm_Systray_Status
|
||||
|
||||
const Eo_Class *elm_systray_class_get()
|
||||
|
||||
void elm_obj_systray_id_set(cEo *obj, const char *id)
|
||||
|
|
|
@ -1,47 +1,7 @@
|
|||
from efl.elementary.enums cimport Ethumb_Thumb_Aspect, Ethumb_Thumb_Format, \
|
||||
Ethumb_Thumb_Orientation, Ethumb_Thumb_FDO_Size, Elm_Thumb_Animation_Setting
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Thumb_Animation_Setting:
|
||||
ELM_THUMB_ANIMATION_START
|
||||
ELM_THUMB_ANIMATION_LOOP
|
||||
ELM_THUMB_ANIMATION_STOP
|
||||
ELM_THUMB_ANIMATION_LAST
|
||||
ctypedef enum Elm_Thumb_Animation_Setting:
|
||||
pass
|
||||
|
||||
cpdef enum Ethumb_Thumb_FDO_Size:
|
||||
ETHUMB_THUMB_NORMAL
|
||||
ETHUMB_THUMB_LARGE
|
||||
ctypedef enum Ethumb_Thumb_FDO_Size:
|
||||
pass
|
||||
|
||||
cpdef enum Ethumb_Thumb_Format:
|
||||
ETHUMB_THUMB_FDO
|
||||
ETHUMB_THUMB_JPEG
|
||||
ETHUMB_THUMB_EET
|
||||
ctypedef enum Ethumb_Thumb_Format:
|
||||
pass
|
||||
|
||||
cpdef enum Ethumb_Thumb_Aspect:
|
||||
ETHUMB_THUMB_KEEP_ASPECT
|
||||
ETHUMB_THUMB_IGNORE_ASPECT
|
||||
ETHUMB_THUMB_CROP
|
||||
ctypedef enum Ethumb_Thumb_Aspect:
|
||||
pass
|
||||
|
||||
cpdef enum Ethumb_Thumb_Orientation:
|
||||
ETHUMB_THUMB_ORIENT_NONE
|
||||
ETHUMB_THUMB_ROTATE_90_CW
|
||||
ETHUMB_THUMB_ROTATE_180
|
||||
ETHUMB_THUMB_ROTATE_90_CCW
|
||||
ETHUMB_THUMB_FLIP_HORIZONTAL
|
||||
ETHUMB_THUMB_FLIP_VERTICAL
|
||||
ETHUMB_THUMB_FLIP_TRANSPOSE
|
||||
ETHUMB_THUMB_FLIP_TRANSVERSE
|
||||
ETHUMB_THUMB_ORIENT_ORIGINAL
|
||||
ctypedef enum Ethumb_Thumb_Orientation:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object *elm_thumb_add(Evas_Object *parent)
|
||||
void elm_thumb_reload(Evas_Object *obj)
|
||||
void elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key)
|
||||
|
|
|
@ -1,42 +1,7 @@
|
|||
from efl.elementary.enums cimport Elm_Icon_Lookup_Order, Elm_Object_Select_Mode, \
|
||||
Elm_Toolbar_Item_Scrollto_Type, Elm_Toolbar_Shrink_Mode
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Icon_Lookup_Order:
|
||||
ELM_ICON_LOOKUP_FDO_THEME
|
||||
ELM_ICON_LOOKUP_THEME_FDO
|
||||
ELM_ICON_LOOKUP_FDO
|
||||
ELM_ICON_LOOKUP_THEME
|
||||
ctypedef enum Elm_Icon_Lookup_Order:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Object_Select_Mode:
|
||||
ELM_OBJECT_SELECT_MODE_DEFAULT
|
||||
ELM_OBJECT_SELECT_MODE_ALWAYS
|
||||
ELM_OBJECT_SELECT_MODE_NONE
|
||||
ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY
|
||||
ELM_OBJECT_SELECT_MODE_MAX
|
||||
ctypedef enum Elm_Object_Select_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Toolbar_Item_Scrollto_Type:
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_NONE
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_IN
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_FIRST
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_MIDDLE
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_LAST
|
||||
ctypedef enum Elm_Toolbar_Item_Scrollto_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Toolbar_Shrink_Mode:
|
||||
ELM_TOOLBAR_SHRINK_NONE
|
||||
ELM_TOOLBAR_SHRINK_HIDE
|
||||
ELM_TOOLBAR_SHRINK_SCROLL
|
||||
ELM_TOOLBAR_SHRINK_MENU
|
||||
ELM_TOOLBAR_SHRINK_EXPAND
|
||||
ELM_TOOLBAR_SHRINK_LAST
|
||||
ctypedef enum Elm_Toolbar_Shrink_Mode:
|
||||
pass
|
||||
|
||||
|
||||
ctypedef struct Elm_Toolbar_Item_State:
|
||||
pass
|
||||
|
||||
|
|
|
@ -1,38 +1,8 @@
|
|||
from efl.elementary.enums cimport Elm_Transit_Effect_Flip_Axis, \
|
||||
Elm_Transit_Effect_Wipe_Dir, Elm_Transit_Effect_Wipe_Type, \
|
||||
Elm_Transit_Tween_Mode
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Transit_Effect_Flip_Axis:
|
||||
ELM_TRANSIT_EFFECT_FLIP_AXIS_X
|
||||
ELM_TRANSIT_EFFECT_FLIP_AXIS_Y
|
||||
ctypedef enum Elm_Transit_Effect_Flip_Axis:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Transit_Effect_Wipe_Dir:
|
||||
ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT
|
||||
ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT
|
||||
ELM_TRANSIT_EFFECT_WIPE_DIR_UP
|
||||
ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN
|
||||
ctypedef enum Elm_Transit_Effect_Wipe_Dir:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Transit_Effect_Wipe_Type:
|
||||
ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE
|
||||
ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW
|
||||
ctypedef enum Elm_Transit_Effect_Wipe_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Transit_Tween_Mode:
|
||||
ELM_TRANSIT_TWEEN_MODE_LINEAR
|
||||
ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL
|
||||
ELM_TRANSIT_TWEEN_MODE_DECELERATE
|
||||
ELM_TRANSIT_TWEEN_MODE_ACCELERATE
|
||||
ELM_TRANSIT_TWEEN_MODE_DIVISOR_INTERP
|
||||
ELM_TRANSIT_TWEEN_MODE_BOUNCE
|
||||
ELM_TRANSIT_TWEEN_MODE_SPRING
|
||||
ELM_TRANSIT_TWEEN_MODE_BEZIER_CURVE
|
||||
ctypedef enum Elm_Transit_Tween_Mode:
|
||||
pass
|
||||
|
||||
|
||||
ctypedef struct Elm_Transit
|
||||
ctypedef void Elm_Transit_Effect
|
||||
|
||||
|
|
|
@ -1,23 +1,6 @@
|
|||
from efl.elementary.enums cimport Elm_Web_Window_Feature_Flag, Elm_Web_Zoom_Mode
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Web_Window_Feature_Flag:
|
||||
ELM_WEB_WINDOW_FEATURE_TOOLBAR
|
||||
ELM_WEB_WINDOW_FEATURE_STATUSBAR
|
||||
ELM_WEB_WINDOW_FEATURE_SCROLLBARS
|
||||
ELM_WEB_WINDOW_FEATURE_MENUBAR
|
||||
ELM_WEB_WINDOW_FEATURE_LOCATIONBAR
|
||||
ELM_WEB_WINDOW_FEATURE_FULLSCREEN
|
||||
ctypedef enum Elm_Web_Window_Feature_Flag:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Web_Zoom_Mode:
|
||||
ELM_WEB_ZOOM_MODE_MANUAL
|
||||
ELM_WEB_ZOOM_MODE_AUTO_FIT
|
||||
ELM_WEB_ZOOM_MODE_AUTO_FILL
|
||||
ctypedef enum Elm_Web_Zoom_Mode:
|
||||
pass
|
||||
|
||||
|
||||
ctypedef struct Elm_Web_Frame_Load_Error:
|
||||
int code
|
||||
Eina_Bool is_cancellation
|
||||
|
|
|
@ -1,70 +1,7 @@
|
|||
from efl.elementary.enums cimport Elm_Win_Type, Elm_Win_Indicator_Mode, \
|
||||
Elm_Win_Indicator_Opacity_Mode, Elm_Win_Keyboard_Mode, Elm_Illume_Command
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
|
||||
cpdef enum Elm_Win_Type:
|
||||
ELM_WIN_UNKNOWN
|
||||
ELM_WIN_BASIC
|
||||
ELM_WIN_DIALOG_BASIC
|
||||
ELM_WIN_DESKTOP
|
||||
ELM_WIN_DOCK
|
||||
ELM_WIN_TOOLBAR
|
||||
ELM_WIN_MENU
|
||||
ELM_WIN_UTILITY
|
||||
ELM_WIN_SPLASH
|
||||
ELM_WIN_DROPDOWN_MENU
|
||||
ELM_WIN_POPUP_MENU
|
||||
ELM_WIN_TOOLTIP
|
||||
ELM_WIN_NOTIFICATION
|
||||
ELM_WIN_COMBO
|
||||
ELM_WIN_DND
|
||||
ELM_WIN_INLINED_IMAGE
|
||||
ELM_WIN_SOCKET_IMAGE
|
||||
ctypedef enum Elm_Win_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Win_Indicator_Mode:
|
||||
ELM_WIN_INDICATOR_UNKNOWN
|
||||
ELM_WIN_INDICATOR_HIDE
|
||||
ELM_WIN_INDICATOR_SHOW
|
||||
ctypedef enum Elm_Win_Indicator_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Win_Indicator_Opacity_Mode:
|
||||
ELM_WIN_INDICATOR_OPACITY_UNKNOWN
|
||||
ELM_WIN_INDICATOR_OPAQUE
|
||||
ELM_WIN_INDICATOR_TRANSLUCENT
|
||||
ELM_WIN_INDICATOR_TRANSPARENT
|
||||
ctypedef enum Elm_Win_Indicator_Opacity_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Win_Keyboard_Mode:
|
||||
ELM_WIN_KEYBOARD_UNKNOWN
|
||||
ELM_WIN_KEYBOARD_OFF
|
||||
ELM_WIN_KEYBOARD_ON
|
||||
ELM_WIN_KEYBOARD_ALPHA
|
||||
ELM_WIN_KEYBOARD_NUMERIC
|
||||
ELM_WIN_KEYBOARD_PIN
|
||||
ELM_WIN_KEYBOARD_PHONE_NUMBER
|
||||
ELM_WIN_KEYBOARD_HEX
|
||||
ELM_WIN_KEYBOARD_TERMINAL
|
||||
ELM_WIN_KEYBOARD_PASSWORD
|
||||
ELM_WIN_KEYBOARD_IP
|
||||
ELM_WIN_KEYBOARD_HOST
|
||||
ELM_WIN_KEYBOARD_FILE
|
||||
ELM_WIN_KEYBOARD_URL
|
||||
ELM_WIN_KEYBOARD_KEYPAD
|
||||
ELM_WIN_KEYBOARD_J2ME
|
||||
ctypedef enum Elm_Win_Keyboard_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Elm_Illume_Command:
|
||||
ELM_ILLUME_COMMAND_FOCUS_BACK
|
||||
ELM_ILLUME_COMMAND_FOCUS_FORWARD
|
||||
ELM_ILLUME_COMMAND_FOCUS_HOME
|
||||
ELM_ILLUME_COMMAND_CLOSE
|
||||
ctypedef enum Elm_Illume_Command:
|
||||
pass
|
||||
|
||||
|
||||
Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type)
|
||||
Evas_Object *elm_win_util_standard_add(const char *name, const char *title)
|
||||
Evas_Object *elm_win_util_dialog_add(Evas_Object *parent, const char *name, const char *title)
|
||||
|
|
|
@ -43,6 +43,82 @@ from efl.evas cimport Canvas, evas_object_smart_callback_add, \
|
|||
|
||||
import atexit
|
||||
|
||||
cimport efl.emotion.enums as enums
|
||||
|
||||
EMOTION_CHANNEL_AUTO = enums.EMOTION_CHANNEL_AUTO
|
||||
EMOTION_CHANNEL_DEFAULT = enums.EMOTION_CHANNEL_DEFAULT
|
||||
|
||||
EMOTION_EVENT_MENU1 = enums.EMOTION_EVENT_MENU1
|
||||
EMOTION_EVENT_MENU2 = enums.EMOTION_EVENT_MENU2
|
||||
EMOTION_EVENT_MENU3 = enums.EMOTION_EVENT_MENU3
|
||||
EMOTION_EVENT_MENU4 = enums.EMOTION_EVENT_MENU4
|
||||
EMOTION_EVENT_MENU5 = enums.EMOTION_EVENT_MENU5
|
||||
EMOTION_EVENT_MENU6 = enums.EMOTION_EVENT_MENU6
|
||||
EMOTION_EVENT_MENU7 = enums.EMOTION_EVENT_MENU7
|
||||
EMOTION_EVENT_UP = enums.EMOTION_EVENT_UP
|
||||
EMOTION_EVENT_DOWN = enums.EMOTION_EVENT_DOWN
|
||||
EMOTION_EVENT_LEFT = enums.EMOTION_EVENT_LEFT
|
||||
EMOTION_EVENT_RIGHT = enums.EMOTION_EVENT_RIGHT
|
||||
EMOTION_EVENT_SELECT = enums.EMOTION_EVENT_SELECT
|
||||
EMOTION_EVENT_NEXT = enums.EMOTION_EVENT_NEXT
|
||||
EMOTION_EVENT_PREV = enums.EMOTION_EVENT_PREV
|
||||
EMOTION_EVENT_ANGLE_NEXT = enums.EMOTION_EVENT_ANGLE_NEXT
|
||||
EMOTION_EVENT_ANGLE_PREV = enums.EMOTION_EVENT_ANGLE_PREV
|
||||
EMOTION_EVENT_FORCE = enums.EMOTION_EVENT_FORCE
|
||||
EMOTION_EVENT_0 = enums.EMOTION_EVENT_0
|
||||
EMOTION_EVENT_1 = enums.EMOTION_EVENT_1
|
||||
EMOTION_EVENT_2 = enums.EMOTION_EVENT_2
|
||||
EMOTION_EVENT_3 = enums.EMOTION_EVENT_3
|
||||
EMOTION_EVENT_4 = enums.EMOTION_EVENT_4
|
||||
EMOTION_EVENT_5 = enums.EMOTION_EVENT_5
|
||||
EMOTION_EVENT_6 = enums.EMOTION_EVENT_6
|
||||
EMOTION_EVENT_7 = enums.EMOTION_EVENT_7
|
||||
EMOTION_EVENT_8 = enums.EMOTION_EVENT_8
|
||||
EMOTION_EVENT_9 = enums.EMOTION_EVENT_9
|
||||
EMOTION_EVENT_10 = enums.EMOTION_EVENT_10
|
||||
|
||||
EMOTION_META_INFO_TRACK_TITLE = enums.EMOTION_META_INFO_TRACK_TITLE
|
||||
EMOTION_META_INFO_TRACK_ARTIST = enums.EMOTION_META_INFO_TRACK_ARTIST
|
||||
EMOTION_META_INFO_TRACK_ALBUM = enums.EMOTION_META_INFO_TRACK_ALBUM
|
||||
EMOTION_META_INFO_TRACK_YEAR = enums.EMOTION_META_INFO_TRACK_YEAR
|
||||
EMOTION_META_INFO_TRACK_GENRE = enums.EMOTION_META_INFO_TRACK_GENRE
|
||||
EMOTION_META_INFO_TRACK_COMMENT = enums.EMOTION_META_INFO_TRACK_COMMENT
|
||||
EMOTION_META_INFO_TRACK_DISC_ID = enums.EMOTION_META_INFO_TRACK_DISC_ID
|
||||
EMOTION_META_INFO_TRACK_COUNT = enums.EMOTION_META_INFO_TRACK_COUNT
|
||||
|
||||
EMOTION_ASPECT_KEEP_NONE = enums.EMOTION_ASPECT_KEEP_NONE
|
||||
EMOTION_ASPECT_KEEP_WIDTH = enums.EMOTION_ASPECT_KEEP_WIDTH
|
||||
EMOTION_ASPECT_KEEP_HEIGHT = enums.EMOTION_ASPECT_KEEP_HEIGHT
|
||||
EMOTION_ASPECT_KEEP_BOTH = enums.EMOTION_ASPECT_KEEP_BOTH
|
||||
EMOTION_ASPECT_CROP = enums.EMOTION_ASPECT_CROP
|
||||
EMOTION_ASPECT_CUSTOM = enums.EMOTION_ASPECT_CUSTOM
|
||||
|
||||
EMOTION_WAKEUP = enums.EMOTION_WAKEUP
|
||||
EMOTION_SLEEP = enums.EMOTION_SLEEP
|
||||
EMOTION_DEEP_SLEEP = enums.EMOTION_DEEP_SLEEP
|
||||
EMOTION_HIBERNATE = enums.EMOTION_HIBERNATE
|
||||
|
||||
EMOTION_VIS_NONE = enums.EMOTION_VIS_NONE
|
||||
EMOTION_VIS_GOOM = enums.EMOTION_VIS_GOOM
|
||||
EMOTION_VIS_LIBVISUAL_BUMPSCOPE = enums.EMOTION_VIS_LIBVISUAL_BUMPSCOPE
|
||||
EMOTION_VIS_LIBVISUAL_CORONA = enums.EMOTION_VIS_LIBVISUAL_CORONA
|
||||
EMOTION_VIS_LIBVISUAL_DANCING_PARTICLES = enums.EMOTION_VIS_LIBVISUAL_DANCING_PARTICLES
|
||||
EMOTION_VIS_LIBVISUAL_GDKPIXBUF = enums.EMOTION_VIS_LIBVISUAL_GDKPIXBUF
|
||||
EMOTION_VIS_LIBVISUAL_G_FORCE = enums.EMOTION_VIS_LIBVISUAL_G_FORCE
|
||||
EMOTION_VIS_LIBVISUAL_GOOM = enums.EMOTION_VIS_LIBVISUAL_GOOM
|
||||
EMOTION_VIS_LIBVISUAL_INFINITE = enums.EMOTION_VIS_LIBVISUAL_INFINITE
|
||||
EMOTION_VIS_LIBVISUAL_JAKDAW = enums.EMOTION_VIS_LIBVISUAL_JAKDAW
|
||||
EMOTION_VIS_LIBVISUAL_JESS = enums.EMOTION_VIS_LIBVISUAL_JESS
|
||||
EMOTION_VIS_LIBVISUAL_LV_ANALYSER = enums.EMOTION_VIS_LIBVISUAL_LV_ANALYSER
|
||||
EMOTION_VIS_LIBVISUAL_LV_FLOWER = enums.EMOTION_VIS_LIBVISUAL_LV_FLOWER
|
||||
EMOTION_VIS_LIBVISUAL_LV_GLTEST = enums.EMOTION_VIS_LIBVISUAL_LV_GLTEST
|
||||
EMOTION_VIS_LIBVISUAL_LV_SCOPE = enums.EMOTION_VIS_LIBVISUAL_LV_SCOPE
|
||||
EMOTION_VIS_LIBVISUAL_MADSPIN = enums.EMOTION_VIS_LIBVISUAL_MADSPIN
|
||||
EMOTION_VIS_LIBVISUAL_NEBULUS = enums.EMOTION_VIS_LIBVISUAL_NEBULUS
|
||||
EMOTION_VIS_LIBVISUAL_OINKSIE = enums.EMOTION_VIS_LIBVISUAL_OINKSIE
|
||||
EMOTION_VIS_LIBVISUAL_PLASMA = enums.EMOTION_VIS_LIBVISUAL_PLASMA
|
||||
EMOTION_VIS_LAST = enums.EMOTION_VIS_LAST
|
||||
|
||||
|
||||
cdef void _emotion_callback(void *data, Evas_Object *o, void *ei) with gil:
|
||||
cdef Emotion obj
|
||||
|
@ -952,14 +1028,14 @@ cdef class Emotion(evasObject):
|
|||
"""
|
||||
cdef const char *info
|
||||
ret = dict()
|
||||
lst = (("title", EMOTION_META_INFO_TRACK_TITLE),
|
||||
("artist", EMOTION_META_INFO_TRACK_ARTIST),
|
||||
("album", EMOTION_META_INFO_TRACK_ALBUM),
|
||||
("year", EMOTION_META_INFO_TRACK_YEAR),
|
||||
("genre", EMOTION_META_INFO_TRACK_GENRE),
|
||||
("comment", EMOTION_META_INFO_TRACK_COMMENT),
|
||||
("disc_id", EMOTION_META_INFO_TRACK_DISC_ID),
|
||||
("track_count", EMOTION_META_INFO_TRACK_COUNT))
|
||||
lst = (("title", enums.EMOTION_META_INFO_TRACK_TITLE),
|
||||
("artist", enums.EMOTION_META_INFO_TRACK_ARTIST),
|
||||
("album", enums.EMOTION_META_INFO_TRACK_ALBUM),
|
||||
("year", enums.EMOTION_META_INFO_TRACK_YEAR),
|
||||
("genre", enums.EMOTION_META_INFO_TRACK_GENRE),
|
||||
("comment", enums.EMOTION_META_INFO_TRACK_COMMENT),
|
||||
("disc_id", enums.EMOTION_META_INFO_TRACK_DISC_ID),
|
||||
("track_count", enums.EMOTION_META_INFO_TRACK_COUNT))
|
||||
for n, i in lst:
|
||||
info = emotion_object_meta_info_get(self.obj, i)
|
||||
if info != NULL:
|
||||
|
|
|
@ -157,6 +157,29 @@ from efl.c_ethumb cimport Ethumb as cEthumb, Ethumb_Thumb_FDO_Size, \
|
|||
import atexit
|
||||
import traceback
|
||||
|
||||
cimport efl.ethumb.enums as enums
|
||||
|
||||
ETHUMB_THUMB_ORIENT_NONE = enums.ETHUMB_THUMB_ORIENT_NONE
|
||||
ETHUMB_THUMB_ROTATE_90_CW = enums.ETHUMB_THUMB_ROTATE_90_CW
|
||||
ETHUMB_THUMB_ROTATE_180 = enums.ETHUMB_THUMB_ROTATE_180
|
||||
ETHUMB_THUMB_ROTATE_90_CCW = enums.ETHUMB_THUMB_ROTATE_90_CCW
|
||||
ETHUMB_THUMB_FLIP_HORIZONTAL = enums.ETHUMB_THUMB_FLIP_HORIZONTAL
|
||||
ETHUMB_THUMB_FLIP_VERTICAL = enums.ETHUMB_THUMB_FLIP_VERTICAL
|
||||
ETHUMB_THUMB_FLIP_TRANSPOSE = enums.ETHUMB_THUMB_FLIP_TRANSPOSE
|
||||
ETHUMB_THUMB_FLIP_TRANSVERSE = enums.ETHUMB_THUMB_FLIP_TRANSVERSE
|
||||
ETHUMB_THUMB_ORIENT_ORIGINAL = enums.ETHUMB_THUMB_ORIENT_ORIGINAL
|
||||
|
||||
ETHUMB_THUMB_NORMAL = enums.ETHUMB_THUMB_NORMAL
|
||||
ETHUMB_THUMB_LARGE = enums.ETHUMB_THUMB_LARGE
|
||||
|
||||
ETHUMB_THUMB_FDO = enums.ETHUMB_THUMB_FDO
|
||||
ETHUMB_THUMB_JPEG = enums.ETHUMB_THUMB_JPEG
|
||||
ETHUMB_THUMB_EET = enums.ETHUMB_THUMB_EET
|
||||
|
||||
ETHUMB_THUMB_KEEP_ASPECT = enums.ETHUMB_THUMB_KEEP_ASPECT
|
||||
ETHUMB_THUMB_IGNORE_ASPECT = enums.ETHUMB_THUMB_IGNORE_ASPECT
|
||||
ETHUMB_THUMB_CROP = enums.ETHUMB_THUMB_CROP
|
||||
|
||||
|
||||
cdef void _generate_cb(void *data, cEthumb *e, Eina_Bool success) with gil:
|
||||
obj = <object>data
|
||||
|
|
|
@ -140,6 +140,29 @@ import atexit
|
|||
from efl.utils.conversions cimport _ctouni, _touni
|
||||
from efl.ethumb_client cimport Ethumb_Thumb_Orientation
|
||||
|
||||
cimport efl.ethumb.enums as enums
|
||||
|
||||
ETHUMB_THUMB_ORIENT_NONE = enums.ETHUMB_THUMB_ORIENT_NONE
|
||||
ETHUMB_THUMB_ROTATE_90_CW = enums.ETHUMB_THUMB_ROTATE_90_CW
|
||||
ETHUMB_THUMB_ROTATE_180 = enums.ETHUMB_THUMB_ROTATE_180
|
||||
ETHUMB_THUMB_ROTATE_90_CCW = enums.ETHUMB_THUMB_ROTATE_90_CCW
|
||||
ETHUMB_THUMB_FLIP_HORIZONTAL = enums.ETHUMB_THUMB_FLIP_HORIZONTAL
|
||||
ETHUMB_THUMB_FLIP_VERTICAL = enums.ETHUMB_THUMB_FLIP_VERTICAL
|
||||
ETHUMB_THUMB_FLIP_TRANSPOSE = enums.ETHUMB_THUMB_FLIP_TRANSPOSE
|
||||
ETHUMB_THUMB_FLIP_TRANSVERSE = enums.ETHUMB_THUMB_FLIP_TRANSVERSE
|
||||
ETHUMB_THUMB_ORIENT_ORIGINAL = enums.ETHUMB_THUMB_ORIENT_ORIGINAL
|
||||
|
||||
ETHUMB_THUMB_NORMAL = enums.ETHUMB_THUMB_NORMAL
|
||||
ETHUMB_THUMB_LARGE = enums.ETHUMB_THUMB_LARGE
|
||||
|
||||
ETHUMB_THUMB_FDO = enums.ETHUMB_THUMB_FDO
|
||||
ETHUMB_THUMB_JPEG = enums.ETHUMB_THUMB_JPEG
|
||||
ETHUMB_THUMB_EET = enums.ETHUMB_THUMB_EET
|
||||
|
||||
ETHUMB_THUMB_KEEP_ASPECT = enums.ETHUMB_THUMB_KEEP_ASPECT
|
||||
ETHUMB_THUMB_IGNORE_ASPECT = enums.ETHUMB_THUMB_IGNORE_ASPECT
|
||||
ETHUMB_THUMB_CROP = enums.ETHUMB_THUMB_CROP
|
||||
|
||||
|
||||
cdef void _connect_cb(void *data, Ethumb_Client *client, Eina_Bool success) with gil:
|
||||
cdef EthumbClient self = <EthumbClient>data
|
||||
|
|
|
@ -971,6 +971,7 @@ Module level functions
|
|||
|
||||
"""
|
||||
|
||||
cimport efl.evas.enums as enums
|
||||
|
||||
from efl.utils.conversions cimport eina_list_strings_to_python_list
|
||||
from efl.eina cimport EINA_LOG_DOM_DBG, EINA_LOG_DOM_INFO, EINA_LOG_DOM_WARN, \
|
||||
|
@ -982,6 +983,223 @@ cdef int PY_EFL_EVAS_LOG_DOMAIN = add_logger(__name__).eina_log_domain
|
|||
import atexit
|
||||
|
||||
|
||||
EVAS_LAYER_MIN = enums.EVAS_LAYER_MIN
|
||||
EVAS_LAYER_MAX = enums.EVAS_LAYER_MAX
|
||||
|
||||
EVAS_COLOR_SPACE_ARGB = enums.EVAS_COLOR_SPACE_ARGB
|
||||
EVAS_COLOR_SPACE_AHSV = enums.EVAS_COLOR_SPACE_AHSV
|
||||
|
||||
EVAS_TEXT_INVALID = enums.EVAS_TEXT_INVALID
|
||||
EVAS_TEXT_SPECIAL = enums.EVAS_TEXT_SPECIAL
|
||||
|
||||
EVAS_SMART_CLASS_VERSION = enums.EVAS_SMART_CLASS_VERSION
|
||||
|
||||
|
||||
EVAS_BUTTON_NONE = enums.EVAS_BUTTON_NONE
|
||||
EVAS_BUTTON_DOUBLE_CLICK = enums.EVAS_BUTTON_DOUBLE_CLICK
|
||||
EVAS_BUTTON_TRIPLE_CLICK = enums.EVAS_BUTTON_TRIPLE_CLICK
|
||||
|
||||
EVAS_BIDI_DIRECTION_NATURAL = enums.EVAS_BIDI_DIRECTION_NATURAL
|
||||
EVAS_BIDI_DIRECTION_NEUTRAL = enums.EVAS_BIDI_DIRECTION_NEUTRAL
|
||||
EVAS_BIDI_DIRECTION_LTR = enums.EVAS_BIDI_DIRECTION_LTR
|
||||
EVAS_BIDI_DIRECTION_RTL = enums.EVAS_BIDI_DIRECTION_RTL
|
||||
EVAS_BIDI_DIRECTION_INHERIT = enums.EVAS_BIDI_DIRECTION_INHERIT
|
||||
|
||||
EVAS_CALLBACK_MOUSE_IN = enums.EVAS_CALLBACK_MOUSE_IN
|
||||
EVAS_CALLBACK_MOUSE_OUT = enums.EVAS_CALLBACK_MOUSE_OUT
|
||||
EVAS_CALLBACK_MOUSE_DOWN = enums.EVAS_CALLBACK_MOUSE_DOWN
|
||||
EVAS_CALLBACK_MOUSE_UP = enums.EVAS_CALLBACK_MOUSE_UP
|
||||
EVAS_CALLBACK_MOUSE_MOVE = enums.EVAS_CALLBACK_MOUSE_MOVE
|
||||
EVAS_CALLBACK_MOUSE_WHEEL = enums.EVAS_CALLBACK_MOUSE_WHEEL
|
||||
EVAS_CALLBACK_MULTI_DOWN = enums.EVAS_CALLBACK_MULTI_DOWN
|
||||
EVAS_CALLBACK_MULTI_UP = enums.EVAS_CALLBACK_MULTI_UP
|
||||
EVAS_CALLBACK_MULTI_MOVE = enums.EVAS_CALLBACK_MULTI_MOVE
|
||||
EVAS_CALLBACK_FREE = enums.EVAS_CALLBACK_FREE
|
||||
EVAS_CALLBACK_KEY_DOWN = enums.EVAS_CALLBACK_KEY_DOWN
|
||||
EVAS_CALLBACK_KEY_UP = enums.EVAS_CALLBACK_KEY_UP
|
||||
EVAS_CALLBACK_FOCUS_IN = enums.EVAS_CALLBACK_FOCUS_IN
|
||||
EVAS_CALLBACK_FOCUS_OUT = enums.EVAS_CALLBACK_FOCUS_OUT
|
||||
EVAS_CALLBACK_SHOW = enums.EVAS_CALLBACK_SHOW
|
||||
EVAS_CALLBACK_HIDE = enums.EVAS_CALLBACK_HIDE
|
||||
EVAS_CALLBACK_MOVE = enums.EVAS_CALLBACK_MOVE
|
||||
EVAS_CALLBACK_RESIZE = enums.EVAS_CALLBACK_RESIZE
|
||||
EVAS_CALLBACK_RESTACK = enums.EVAS_CALLBACK_RESTACK
|
||||
EVAS_CALLBACK_DEL = enums.EVAS_CALLBACK_DEL
|
||||
EVAS_CALLBACK_HOLD = enums.EVAS_CALLBACK_HOLD
|
||||
EVAS_CALLBACK_CHANGED_SIZE_HINTS = enums.EVAS_CALLBACK_CHANGED_SIZE_HINTS
|
||||
EVAS_CALLBACK_IMAGE_PRELOADED = enums.EVAS_CALLBACK_IMAGE_PRELOADED
|
||||
EVAS_CALLBACK_CANVAS_FOCUS_IN = enums.EVAS_CALLBACK_CANVAS_FOCUS_IN
|
||||
EVAS_CALLBACK_CANVAS_FOCUS_OUT = enums.EVAS_CALLBACK_CANVAS_FOCUS_OUT
|
||||
EVAS_CALLBACK_RENDER_FLUSH_PRE = enums.EVAS_CALLBACK_RENDER_FLUSH_PRE
|
||||
EVAS_CALLBACK_RENDER_FLUSH_POST = enums.EVAS_CALLBACK_RENDER_FLUSH_POST
|
||||
EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN = enums.EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN
|
||||
EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT = enums.EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT
|
||||
EVAS_CALLBACK_IMAGE_UNLOADED = enums.EVAS_CALLBACK_IMAGE_UNLOADED
|
||||
EVAS_CALLBACK_RENDER_PRE = enums.EVAS_CALLBACK_RENDER_PRE
|
||||
EVAS_CALLBACK_RENDER_POST = enums.EVAS_CALLBACK_RENDER_POST
|
||||
EVAS_CALLBACK_IMAGE_RESIZE = enums.EVAS_CALLBACK_IMAGE_RESIZE
|
||||
EVAS_CALLBACK_DEVICE_CHANGED = enums.EVAS_CALLBACK_DEVICE_CHANGED
|
||||
EVAS_CALLBACK_AXIS_UPDATE = enums.EVAS_CALLBACK_AXIS_UPDATE
|
||||
EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE = enums.EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE
|
||||
EVAS_CALLBACK_LAST = enums.EVAS_CALLBACK_LAST
|
||||
|
||||
EVAS_EVENT_FLAG_NONE = enums.EVAS_EVENT_FLAG_NONE
|
||||
EVAS_EVENT_FLAG_ON_HOLD = enums.EVAS_EVENT_FLAG_ON_HOLD
|
||||
EVAS_EVENT_FLAG_ON_SCROLL = enums.EVAS_EVENT_FLAG_ON_SCROLL
|
||||
|
||||
EVAS_TOUCH_POINT_DOWN = enums.EVAS_TOUCH_POINT_DOWN
|
||||
EVAS_TOUCH_POINT_UP = enums.EVAS_TOUCH_POINT_UP
|
||||
EVAS_TOUCH_POINT_MOVE = enums.EVAS_TOUCH_POINT_MOVE
|
||||
EVAS_TOUCH_POINT_STILL = enums.EVAS_TOUCH_POINT_STILL
|
||||
EVAS_TOUCH_POINT_CANCEL = enums.EVAS_TOUCH_POINT_CANCEL
|
||||
|
||||
EVAS_FONT_HINTING_NONE = enums.EVAS_FONT_HINTING_NONE
|
||||
EVAS_FONT_HINTING_AUTO = enums.EVAS_FONT_HINTING_AUTO
|
||||
EVAS_FONT_HINTING_BYTECODE = enums.EVAS_FONT_HINTING_BYTECODE
|
||||
|
||||
EVAS_COLORSPACE_ARGB8888 = enums.EVAS_COLORSPACE_ARGB8888
|
||||
EVAS_COLORSPACE_YCBCR422P601_PL = enums.EVAS_COLORSPACE_YCBCR422P601_PL
|
||||
EVAS_COLORSPACE_YCBCR422P709_PL = enums.EVAS_COLORSPACE_YCBCR422P709_PL
|
||||
EVAS_COLORSPACE_RGB565_A5P = enums.EVAS_COLORSPACE_RGB565_A5P
|
||||
EVAS_COLORSPACE_GRY8 = enums.EVAS_COLORSPACE_GRY8
|
||||
EVAS_COLORSPACE_YCBCR422601_PL = enums.EVAS_COLORSPACE_YCBCR422601_PL
|
||||
EVAS_COLORSPACE_YCBCR420NV12601_PL = enums.EVAS_COLORSPACE_YCBCR420NV12601_PL
|
||||
EVAS_COLORSPACE_YCBCR420TM12601_PL = enums.EVAS_COLORSPACE_YCBCR420TM12601_PL
|
||||
|
||||
EVAS_OBJECT_TABLE_HOMOGENEOUS_NONE = enums.EVAS_OBJECT_TABLE_HOMOGENEOUS_NONE
|
||||
EVAS_OBJECT_TABLE_HOMOGENEOUS_TABLE = enums.EVAS_OBJECT_TABLE_HOMOGENEOUS_TABLE
|
||||
EVAS_OBJECT_TABLE_HOMOGENEOUS_ITEM = enums.EVAS_OBJECT_TABLE_HOMOGENEOUS_ITEM
|
||||
|
||||
EVAS_ASPECT_CONTROL_NONE = enums.EVAS_ASPECT_CONTROL_NONE
|
||||
EVAS_ASPECT_CONTROL_NEITHER = enums.EVAS_ASPECT_CONTROL_NEITHER
|
||||
EVAS_ASPECT_CONTROL_HORIZONTAL = enums.EVAS_ASPECT_CONTROL_HORIZONTAL
|
||||
EVAS_ASPECT_CONTROL_VERTICAL = enums.EVAS_ASPECT_CONTROL_VERTICAL
|
||||
EVAS_ASPECT_CONTROL_BOTH = enums.EVAS_ASPECT_CONTROL_BOTH
|
||||
|
||||
EVAS_DISPLAY_MODE_NONE = enums.EVAS_DISPLAY_MODE_NONE
|
||||
EVAS_DISPLAY_MODE_COMPRESS = enums.EVAS_DISPLAY_MODE_COMPRESS
|
||||
EVAS_DISPLAY_MODE_EXPAND = enums.EVAS_DISPLAY_MODE_EXPAND
|
||||
EVAS_DISPLAY_MODE_DONT_CHANGE = enums.EVAS_DISPLAY_MODE_DONT_CHANGE
|
||||
|
||||
EVAS_LOAD_ERROR_NONE = enums.EVAS_LOAD_ERROR_NONE
|
||||
EVAS_LOAD_ERROR_GENERIC = enums.EVAS_LOAD_ERROR_GENERIC
|
||||
EVAS_LOAD_ERROR_DOES_NOT_EXIST = enums.EVAS_LOAD_ERROR_DOES_NOT_EXIST
|
||||
EVAS_LOAD_ERROR_PERMISSION_DENIED = enums.EVAS_LOAD_ERROR_PERMISSION_DENIED
|
||||
EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED = enums.EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED
|
||||
EVAS_LOAD_ERROR_CORRUPT_FILE = enums.EVAS_LOAD_ERROR_CORRUPT_FILE
|
||||
EVAS_LOAD_ERROR_UNKNOWN_FORMAT = enums.EVAS_LOAD_ERROR_UNKNOWN_FORMAT
|
||||
|
||||
EVAS_ALLOC_ERROR_NONE = enums.EVAS_ALLOC_ERROR_NONE
|
||||
EVAS_ALLOC_ERROR_FATAL = enums.EVAS_ALLOC_ERROR_FATAL
|
||||
EVAS_ALLOC_ERROR_RECOVERED = enums.EVAS_ALLOC_ERROR_RECOVERED
|
||||
|
||||
EVAS_TEXTURE_REFLECT = enums.EVAS_TEXTURE_REFLECT
|
||||
EVAS_TEXTURE_REPEAT = enums.EVAS_TEXTURE_REPEAT
|
||||
EVAS_TEXTURE_RESTRICT = enums.EVAS_TEXTURE_RESTRICT
|
||||
EVAS_TEXTURE_RESTRICT_REFLECT = enums.EVAS_TEXTURE_RESTRICT_REFLECT
|
||||
EVAS_TEXTURE_RESTRICT_REPEAT = enums.EVAS_TEXTURE_RESTRICT_REPEAT
|
||||
EVAS_TEXTURE_PAD = enums.EVAS_TEXTURE_PAD
|
||||
|
||||
EVAS_PIXEL_FORMAT_NONE = enums.EVAS_PIXEL_FORMAT_NONE
|
||||
EVAS_PIXEL_FORMAT_ARGB32 = enums.EVAS_PIXEL_FORMAT_ARGB32
|
||||
EVAS_PIXEL_FORMAT_YUV420P_601 = enums.EVAS_PIXEL_FORMAT_YUV420P_601
|
||||
|
||||
EVAS_NATIVE_SURFACE_NONE = enums.EVAS_NATIVE_SURFACE_NONE
|
||||
EVAS_NATIVE_SURFACE_X11 = enums.EVAS_NATIVE_SURFACE_X11
|
||||
EVAS_NATIVE_SURFACE_OPENGL = enums.EVAS_NATIVE_SURFACE_OPENGL
|
||||
EVAS_NATIVE_SURFACE_WL = enums.EVAS_NATIVE_SURFACE_WL
|
||||
|
||||
EVAS_RENDER_BLEND = enums.EVAS_RENDER_BLEND
|
||||
EVAS_RENDER_BLEND_REL = enums.EVAS_RENDER_BLEND_REL
|
||||
EVAS_RENDER_COPY = enums.EVAS_RENDER_COPY
|
||||
EVAS_RENDER_COPY_REL = enums.EVAS_RENDER_COPY_REL
|
||||
EVAS_RENDER_ADD = enums.EVAS_RENDER_ADD
|
||||
EVAS_RENDER_ADD_REL = enums.EVAS_RENDER_ADD_REL
|
||||
EVAS_RENDER_SUB = enums.EVAS_RENDER_SUB
|
||||
EVAS_RENDER_SUB_REL = enums.EVAS_RENDER_SUB_REL
|
||||
EVAS_RENDER_TINT = enums.EVAS_RENDER_TINT
|
||||
EVAS_RENDER_TINT_REL = enums.EVAS_RENDER_TINT_REL
|
||||
EVAS_RENDER_MASK = enums.EVAS_RENDER_MASK
|
||||
EVAS_RENDER_MUL = enums.EVAS_RENDER_MUL
|
||||
|
||||
EVAS_BORDER_FILL_NONE = enums.EVAS_BORDER_FILL_NONE
|
||||
EVAS_BORDER_FILL_DEFAULT = enums.EVAS_BORDER_FILL_DEFAULT
|
||||
EVAS_BORDER_FILL_SOLID = enums.EVAS_BORDER_FILL_SOLID
|
||||
|
||||
EVAS_IMAGE_SCALE_HINT_NONE = enums.EVAS_IMAGE_SCALE_HINT_NONE
|
||||
EVAS_IMAGE_SCALE_HINT_DYNAMIC = enums.EVAS_IMAGE_SCALE_HINT_DYNAMIC
|
||||
EVAS_IMAGE_SCALE_HINT_STATIC = enums.EVAS_IMAGE_SCALE_HINT_STATIC
|
||||
|
||||
EVAS_IMAGE_ANIMATED_HINT_NONE = enums.EVAS_IMAGE_ANIMATED_HINT_NONE
|
||||
EVAS_IMAGE_ANIMATED_HINT_LOOP = enums.EVAS_IMAGE_ANIMATED_HINT_LOOP
|
||||
EVAS_IMAGE_ANIMATED_HINT_PINGPONG = enums.EVAS_IMAGE_ANIMATED_HINT_PINGPONG
|
||||
|
||||
EVAS_IMAGE_ORIENT_NONE = enums.EVAS_IMAGE_ORIENT_NONE
|
||||
EVAS_IMAGE_ORIENT_0 = enums.EVAS_IMAGE_ORIENT_0
|
||||
EVAS_IMAGE_ORIENT_90 = enums.EVAS_IMAGE_ORIENT_90
|
||||
EVAS_IMAGE_ORIENT_180 = enums.EVAS_IMAGE_ORIENT_180
|
||||
EVAS_IMAGE_ORIENT_270 = enums.EVAS_IMAGE_ORIENT_270
|
||||
EVAS_IMAGE_FLIP_HORIZONTAL = enums.EVAS_IMAGE_FLIP_HORIZONTAL
|
||||
EVAS_IMAGE_FLIP_VERTICAL = enums.EVAS_IMAGE_FLIP_VERTICAL
|
||||
EVAS_IMAGE_FLIP_TRANSPOSE = enums.EVAS_IMAGE_FLIP_TRANSPOSE
|
||||
EVAS_IMAGE_FLIP_TRANSVERSE = enums.EVAS_IMAGE_FLIP_TRANSVERSE
|
||||
|
||||
EVAS_RENDER_MODE_BLOCKING = enums.EVAS_RENDER_MODE_BLOCKING
|
||||
EVAS_RENDER_MODE_NONBLOCKING = enums.EVAS_RENDER_MODE_NONBLOCKING
|
||||
|
||||
EVAS_IMAGE_CONTENT_HINT_NONE = enums.EVAS_IMAGE_CONTENT_HINT_NONE
|
||||
EVAS_IMAGE_CONTENT_HINT_DYNAMIC = enums.EVAS_IMAGE_CONTENT_HINT_DYNAMIC
|
||||
EVAS_IMAGE_CONTENT_HINT_STATIC = enums.EVAS_IMAGE_CONTENT_HINT_STATIC
|
||||
|
||||
EVAS_DEVICE_CLASS_NONE = enums.EVAS_DEVICE_CLASS_NONE
|
||||
EVAS_DEVICE_CLASS_SEAT = enums.EVAS_DEVICE_CLASS_SEAT
|
||||
EVAS_DEVICE_CLASS_KEYBOARD = enums.EVAS_DEVICE_CLASS_KEYBOARD
|
||||
EVAS_DEVICE_CLASS_MOUSE = enums.EVAS_DEVICE_CLASS_MOUSE
|
||||
EVAS_DEVICE_CLASS_TOUCH = enums.EVAS_DEVICE_CLASS_TOUCH
|
||||
EVAS_DEVICE_CLASS_PEN = enums.EVAS_DEVICE_CLASS_PEN
|
||||
EVAS_DEVICE_CLASS_POINTER = enums.EVAS_DEVICE_CLASS_POINTER
|
||||
EVAS_DEVICE_CLASS_GAMEPAD = enums.EVAS_DEVICE_CLASS_GAMEPAD
|
||||
|
||||
EVAS_OBJECT_POINTER_MODE_AUTOGRAB = enums.EVAS_OBJECT_POINTER_MODE_AUTOGRAB
|
||||
EVAS_OBJECT_POINTER_MODE_NOGRAB = enums.EVAS_OBJECT_POINTER_MODE_NOGRAB
|
||||
EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN = enums.EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN
|
||||
|
||||
EVAS_TEXT_STYLE_PLAIN = enums.EVAS_TEXT_STYLE_PLAIN
|
||||
EVAS_TEXT_STYLE_SHADOW = enums.EVAS_TEXT_STYLE_SHADOW
|
||||
EVAS_TEXT_STYLE_OUTLINE = enums.EVAS_TEXT_STYLE_OUTLINE
|
||||
EVAS_TEXT_STYLE_SOFT_OUTLINE = enums.EVAS_TEXT_STYLE_SOFT_OUTLINE
|
||||
EVAS_TEXT_STYLE_GLOW = enums.EVAS_TEXT_STYLE_GLOW
|
||||
EVAS_TEXT_STYLE_OUTLINE_SHADOW = enums.EVAS_TEXT_STYLE_OUTLINE_SHADOW
|
||||
EVAS_TEXT_STYLE_FAR_SHADOW = enums.EVAS_TEXT_STYLE_FAR_SHADOW
|
||||
EVAS_TEXT_STYLE_OUTLINE_SOFT_SHADOW = enums.EVAS_TEXT_STYLE_OUTLINE_SOFT_SHADOW
|
||||
EVAS_TEXT_STYLE_SOFT_SHADOW = enums.EVAS_TEXT_STYLE_SOFT_SHADOW
|
||||
EVAS_TEXT_STYLE_FAR_SOFT_SHADOW = enums.EVAS_TEXT_STYLE_FAR_SOFT_SHADOW
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM_RIGHT = enums.EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM_RIGHT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM = enums.EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM_LEFT = enums.EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM_LEFT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_LEFT = enums.EVAS_TEXT_STYLE_SHADOW_DIRECTION_LEFT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP_LEFT = enums.EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP_LEFT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP = enums.EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP_RIGHT = enums.EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP_RIGHT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_RIGHT = enums.EVAS_TEXT_STYLE_SHADOW_DIRECTION_RIGHT
|
||||
|
||||
EVAS_TEXTBLOCK_TEXT_RAW = enums.EVAS_TEXTBLOCK_TEXT_RAW
|
||||
EVAS_TEXTBLOCK_TEXT_PLAIN = enums.EVAS_TEXTBLOCK_TEXT_PLAIN
|
||||
EVAS_TEXTBLOCK_TEXT_MARKUP = enums.EVAS_TEXTBLOCK_TEXT_MARKUP
|
||||
|
||||
EVAS_TEXTBLOCK_CURSOR_UNDER = enums.EVAS_TEXTBLOCK_CURSOR_UNDER
|
||||
EVAS_TEXTBLOCK_CURSOR_BEFORE = enums.EVAS_TEXTBLOCK_CURSOR_BEFORE
|
||||
|
||||
EVAS_TEXTGRID_PALETTE_NONE = enums.EVAS_TEXTGRID_PALETTE_NONE
|
||||
EVAS_TEXTGRID_PALETTE_STANDARD = enums.EVAS_TEXTGRID_PALETTE_STANDARD
|
||||
EVAS_TEXTGRID_PALETTE_EXTENDED = enums.EVAS_TEXTGRID_PALETTE_EXTENDED
|
||||
EVAS_TEXTGRID_PALETTE_LAST = enums.EVAS_TEXTGRID_PALETTE_LAST
|
||||
|
||||
EVAS_TEXTGRID_FONT_STYLE_NORMAL = enums.EVAS_TEXTGRID_FONT_STYLE_NORMAL
|
||||
EVAS_TEXTGRID_FONT_STYLE_BOLD = enums.EVAS_TEXTGRID_FONT_STYLE_BOLD
|
||||
EVAS_TEXTGRID_FONT_STYLE_ITALIC = enums.EVAS_TEXTGRID_FONT_STYLE_ITALIC
|
||||
|
||||
|
||||
# TODO doc
|
||||
EVAS_HINT_FILL = -1.0
|
||||
EVAS_HINT_EXPAND = 1.0
|
||||
|
@ -997,12 +1215,12 @@ FILL_VERT = 0.5, EVAS_HINT_FILL
|
|||
def init():
|
||||
EINA_LOG_DOM_INFO(PY_EFL_EVAS_LOG_DOMAIN, "Initializing efl.evas", NULL)
|
||||
|
||||
if evas_object_event_callbacks_len != EVAS_CALLBACK_LAST:
|
||||
if evas_object_event_callbacks_len != enums.EVAS_CALLBACK_LAST:
|
||||
raise SystemError("Number of object callbacks changed from %d to %d." %
|
||||
(evas_object_event_callbacks_len, EVAS_CALLBACK_LAST))
|
||||
if evas_canvas_event_callbacks_len != EVAS_CALLBACK_LAST:
|
||||
(evas_object_event_callbacks_len, enums.EVAS_CALLBACK_LAST))
|
||||
if evas_canvas_event_callbacks_len != enums.EVAS_CALLBACK_LAST:
|
||||
raise SystemError("Number of canvas callbacks changed from %d to %d." %
|
||||
(evas_canvas_event_callbacks_len, EVAS_CALLBACK_LAST))
|
||||
(evas_canvas_event_callbacks_len, enums.EVAS_CALLBACK_LAST))
|
||||
return evas_init()
|
||||
|
||||
|
||||
|
@ -1162,19 +1380,19 @@ def font_path_global_list():
|
|||
|
||||
class EvasLoadError(Exception):
|
||||
def __init__(self, int code, filename, key):
|
||||
if code == EVAS_LOAD_ERROR_NONE:
|
||||
if code == enums.EVAS_LOAD_ERROR_NONE:
|
||||
msg = "No error on load"
|
||||
elif code == EVAS_LOAD_ERROR_GENERIC:
|
||||
elif code == enums.EVAS_LOAD_ERROR_GENERIC:
|
||||
msg = "A non-specific error occurred"
|
||||
elif code == EVAS_LOAD_ERROR_DOES_NOT_EXIST:
|
||||
elif code == enums.EVAS_LOAD_ERROR_DOES_NOT_EXIST:
|
||||
msg = "File (or file path) does not exist"
|
||||
elif code == EVAS_LOAD_ERROR_PERMISSION_DENIED:
|
||||
elif code == enums.EVAS_LOAD_ERROR_PERMISSION_DENIED:
|
||||
msg = "Permission denied to an existing file (or path)"
|
||||
elif code == EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED:
|
||||
elif code == enums.EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED:
|
||||
msg = "Allocation of resources failure prevented load"
|
||||
elif code == EVAS_LOAD_ERROR_CORRUPT_FILE:
|
||||
elif code == enums.EVAS_LOAD_ERROR_CORRUPT_FILE:
|
||||
msg = "File corrupt (but was detected as a known format)"
|
||||
elif code == EVAS_LOAD_ERROR_UNKNOWN_FORMAT:
|
||||
elif code == enums.EVAS_LOAD_ERROR_UNKNOWN_FORMAT:
|
||||
msg = "File is not in a known format"
|
||||
self.code = code
|
||||
self.file = filename
|
||||
|
@ -1189,8 +1407,6 @@ include "efl.evas_canvas.pxi"
|
|||
include "efl.evas_object_events.pxi"
|
||||
include "efl.evas_object_callbacks.pxi"
|
||||
include "efl.evas_object.pxi"
|
||||
# Disable evas smart object for the moment, because PyMethod_New is broken
|
||||
# in recent Cython versions, at least in Cython 0.21.1/2 using py3.
|
||||
include "efl.evas_object_smart.pxi"
|
||||
include "efl.evas_object_image.pxi"
|
||||
include "efl.evas_object_line.pxi"
|
||||
|
|
|
@ -684,11 +684,11 @@ cdef class Canvas(Eo):
|
|||
function(object, *args, **kargs)
|
||||
|
||||
"""
|
||||
self.event_callback_add(EVAS_CALLBACK_CANVAS_FOCUS_IN, func, *a, **k)
|
||||
self.event_callback_add(enums.EVAS_CALLBACK_CANVAS_FOCUS_IN, func, *a, **k)
|
||||
|
||||
def on_canvas_focus_in_del(self, func):
|
||||
"""Same as event_callback_del(EVAS_CALLBACK_CANVAS_FOCUS_IN, ...)"""
|
||||
self.event_callback_del(EVAS_CALLBACK_CANVAS_FOCUS_IN, func)
|
||||
self.event_callback_del(enums.EVAS_CALLBACK_CANVAS_FOCUS_IN, func)
|
||||
|
||||
def on_canvas_focus_out_add(self, func, *a, **k):
|
||||
"""Same as event_callback_add(EVAS_CALLBACK_CANVAS_FOCUS_OUT, ...)
|
||||
|
@ -698,11 +698,11 @@ cdef class Canvas(Eo):
|
|||
function(object, *args, **kargs)
|
||||
|
||||
"""
|
||||
self.event_callback_add(EVAS_CALLBACK_CANVAS_FOCUS_OUT, func, *a, **k)
|
||||
self.event_callback_add(enums.EVAS_CALLBACK_CANVAS_FOCUS_OUT, func, *a, **k)
|
||||
|
||||
def on_canvas_focus_out_del(self, func):
|
||||
"""Same as event_callback_del(EVAS_CALLBACK_CANVAS_FOCUS_OUT, ...)"""
|
||||
self.event_callback_del(EVAS_CALLBACK_CANVAS_FOCUS_OUT, func)
|
||||
self.event_callback_del(enums.EVAS_CALLBACK_CANVAS_FOCUS_OUT, func)
|
||||
|
||||
def on_render_flush_pre_add(self, func, *a, **k):
|
||||
"""Same as event_callback_add(EVAS_CALLBACK_RENDER_FLUSH_PRE, ...)
|
||||
|
@ -712,11 +712,11 @@ cdef class Canvas(Eo):
|
|||
function(object, *args, **kargs)
|
||||
|
||||
"""
|
||||
self.event_callback_add(EVAS_CALLBACK_RENDER_FLUSH_PRE, func, *a, **k)
|
||||
self.event_callback_add(enums.EVAS_CALLBACK_RENDER_FLUSH_PRE, func, *a, **k)
|
||||
|
||||
def on_render_flush_pre_del(self, func):
|
||||
"""Same as event_callback_del(EVAS_CALLBACK_RENDER_FLUSH_PRE, ...)"""
|
||||
self.event_callback_del(EVAS_CALLBACK_RENDER_FLUSH_PRE, func)
|
||||
self.event_callback_del(enums.EVAS_CALLBACK_RENDER_FLUSH_PRE, func)
|
||||
|
||||
def on_render_flush_post_add(self, func, *a, **k):
|
||||
"""Same as event_callback_add(EVAS_CALLBACK_RENDER_FLUSH_POST, ...)
|
||||
|
@ -726,11 +726,11 @@ cdef class Canvas(Eo):
|
|||
function(object, *args, **kargs)
|
||||
|
||||
"""
|
||||
self.event_callback_add(EVAS_CALLBACK_RENDER_FLUSH_POST, func, *a, **k)
|
||||
self.event_callback_add(enums.EVAS_CALLBACK_RENDER_FLUSH_POST, func, *a, **k)
|
||||
|
||||
def on_render_flush_post_del(self, func):
|
||||
"""Same as event_callback_del(EVAS_CALLBACK_RENDER_FLUSH_POST, ...)"""
|
||||
self.event_callback_del(EVAS_CALLBACK_RENDER_FLUSH_POST, func)
|
||||
self.event_callback_del(enums.EVAS_CALLBACK_RENDER_FLUSH_POST, func)
|
||||
|
||||
# Event feeding
|
||||
def feed_mouse_down(self, int b, Evas_Button_Flags flags,
|
||||
|
|
|
@ -168,39 +168,39 @@ cdef void cb_canvas_viewport_resize(void *data, Evas *e, void *e_inf) with gil:
|
|||
cdef int evas_canvas_event_callbacks_len
|
||||
cdef Evas_Event_Cb evas_canvas_event_callbacks[36]
|
||||
evas_canvas_event_callbacks_len = 36
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_MOUSE_IN] = cb_canvas_mouse_in
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_MOUSE_OUT] = cb_canvas_mouse_out
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_MOUSE_DOWN] = cb_canvas_mouse_down
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_MOUSE_UP] = cb_canvas_mouse_up
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_MOUSE_MOVE] = cb_canvas_mouse_move
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_MOUSE_WHEEL] = cb_canvas_mouse_wheel
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_MULTI_DOWN] = cb_canvas_multi_down
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_MULTI_UP] = cb_canvas_multi_up
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_MULTI_MOVE] = cb_canvas_multi_move
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_FREE] = cb_canvas_free
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_KEY_DOWN] = cb_canvas_key_down
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_KEY_UP] = cb_canvas_key_up
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_FOCUS_IN] = cb_canvas_focus_in
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_FOCUS_OUT] = cb_canvas_focus_out
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_SHOW] = cb_canvas_show
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_HIDE] = cb_canvas_hide
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_MOVE] = cb_canvas_move
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_RESIZE] = cb_canvas_resize
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_RESTACK] = cb_canvas_restack
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_DEL] = cb_canvas_del
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_HOLD] = cb_canvas_hold
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_CHANGED_SIZE_HINTS] = cb_canvas_changed_size_hints
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_IMAGE_PRELOADED] = cb_canvas_image_preloaded
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_CANVAS_FOCUS_IN] = cb_canvas_canvas_focus_in
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_CANVAS_FOCUS_OUT] = cb_canvas_canvas_focus_out
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_RENDER_FLUSH_PRE] = cb_canvas_render_flush_pre
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_RENDER_FLUSH_POST] = cb_canvas_render_flush_post
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN] = cb_canvas_canvas_object_focus_in
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT] = cb_canvas_canvas_object_focus_out
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_IMAGE_UNLOADED] = cb_canvas_image_unloaded
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_RENDER_PRE] = cb_canvas_render_pre
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_RENDER_POST] = cb_canvas_render_post
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_IMAGE_RESIZE] = cb_canvas_image_resize
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_DEVICE_CHANGED] = cb_canvas_device_changed
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_AXIS_UPDATE] = cb_canvas_axis_update
|
||||
evas_canvas_event_callbacks[<int>EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE] = cb_canvas_viewport_resize
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_MOUSE_IN] = cb_canvas_mouse_in
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_MOUSE_OUT] = cb_canvas_mouse_out
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_MOUSE_DOWN] = cb_canvas_mouse_down
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_MOUSE_UP] = cb_canvas_mouse_up
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_MOUSE_MOVE] = cb_canvas_mouse_move
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_MOUSE_WHEEL] = cb_canvas_mouse_wheel
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_MULTI_DOWN] = cb_canvas_multi_down
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_MULTI_UP] = cb_canvas_multi_up
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_MULTI_MOVE] = cb_canvas_multi_move
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_FREE] = cb_canvas_free
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_KEY_DOWN] = cb_canvas_key_down
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_KEY_UP] = cb_canvas_key_up
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_FOCUS_IN] = cb_canvas_focus_in
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_FOCUS_OUT] = cb_canvas_focus_out
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_SHOW] = cb_canvas_show
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_HIDE] = cb_canvas_hide
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_MOVE] = cb_canvas_move
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_RESIZE] = cb_canvas_resize
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_RESTACK] = cb_canvas_restack
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_DEL] = cb_canvas_del
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_HOLD] = cb_canvas_hold
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_CHANGED_SIZE_HINTS] = cb_canvas_changed_size_hints
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_IMAGE_PRELOADED] = cb_canvas_image_preloaded
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_CANVAS_FOCUS_IN] = cb_canvas_canvas_focus_in
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_CANVAS_FOCUS_OUT] = cb_canvas_canvas_focus_out
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_RENDER_FLUSH_PRE] = cb_canvas_render_flush_pre
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_RENDER_FLUSH_POST] = cb_canvas_render_flush_post
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN] = cb_canvas_canvas_object_focus_in
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT] = cb_canvas_canvas_object_focus_out
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_IMAGE_UNLOADED] = cb_canvas_image_unloaded
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_RENDER_PRE] = cb_canvas_render_pre
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_RENDER_POST] = cb_canvas_render_post
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_IMAGE_RESIZE] = cb_canvas_image_resize
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_DEVICE_CHANGED] = cb_canvas_device_changed
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_AXIS_UPDATE] = cb_canvas_axis_update
|
||||
evas_canvas_event_callbacks[<int>enums.EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE] = cb_canvas_viewport_resize
|
||||
|
|
|
@ -43,7 +43,7 @@ cdef void cb_object_mouse_in(void *data, Evas *e,
|
|||
cdef EventMouseIn event
|
||||
event = EventMouseIn()
|
||||
event._set_obj(e_inf)
|
||||
cb_object_dispatcher(<Object>data, event, EVAS_CALLBACK_MOUSE_IN)
|
||||
cb_object_dispatcher(<Object>data, event, enums.EVAS_CALLBACK_MOUSE_IN)
|
||||
event._unset_obj()
|
||||
|
||||
|
||||
|
@ -52,7 +52,7 @@ cdef void cb_object_mouse_out(void *data, Evas *e,
|
|||
cdef EventMouseOut event
|
||||
event = EventMouseOut()
|
||||
event._set_obj(e_inf)
|
||||
cb_object_dispatcher(<Object>data, event, EVAS_CALLBACK_MOUSE_OUT)
|
||||
cb_object_dispatcher(<Object>data, event, enums.EVAS_CALLBACK_MOUSE_OUT)
|
||||
event._unset_obj()
|
||||
|
||||
|
||||
|
@ -61,7 +61,7 @@ cdef void cb_object_mouse_down(void *data, Evas *e,
|
|||
cdef EventMouseDown event
|
||||
event = EventMouseDown()
|
||||
event._set_obj(e_inf)
|
||||
cb_object_dispatcher(<Object>data, event, EVAS_CALLBACK_MOUSE_DOWN)
|
||||
cb_object_dispatcher(<Object>data, event, enums.EVAS_CALLBACK_MOUSE_DOWN)
|
||||
event._unset_obj()
|
||||
|
||||
|
||||
|
@ -70,7 +70,7 @@ cdef void cb_object_mouse_up(void *data, Evas *e,
|
|||
cdef EventMouseUp event
|
||||
event = EventMouseUp()
|
||||
event._set_obj(e_inf)
|
||||
cb_object_dispatcher(<Object>data, event, EVAS_CALLBACK_MOUSE_UP)
|
||||
cb_object_dispatcher(<Object>data, event, enums.EVAS_CALLBACK_MOUSE_UP)
|
||||
event._unset_obj()
|
||||
|
||||
|
||||
|
@ -79,7 +79,7 @@ cdef void cb_object_mouse_move(void *data, Evas *e,
|
|||
cdef EventMouseMove event
|
||||
event = EventMouseMove()
|
||||
event._set_obj(e_inf)
|
||||
cb_object_dispatcher(<Object>data, event, EVAS_CALLBACK_MOUSE_MOVE)
|
||||
cb_object_dispatcher(<Object>data, event, enums.EVAS_CALLBACK_MOUSE_MOVE)
|
||||
event._unset_obj()
|
||||
|
||||
|
||||
|
@ -88,7 +88,7 @@ cdef void cb_object_multi_down(void *data, Evas *e,
|
|||
cdef EventMultiDown event
|
||||
event = EventMultiDown()
|
||||
event._set_obj(e_inf)
|
||||
cb_object_dispatcher(<Object>data, event, EVAS_CALLBACK_MULTI_DOWN)
|
||||
cb_object_dispatcher(<Object>data, event, enums.EVAS_CALLBACK_MULTI_DOWN)
|
||||
event._unset_obj()
|
||||
|
||||
cdef void cb_object_multi_up(void *data, Evas *e,
|
||||
|
@ -96,7 +96,7 @@ cdef void cb_object_multi_up(void *data, Evas *e,
|
|||
cdef EventMultiUp event
|
||||
event = EventMultiUp()
|
||||
event._set_obj(e_inf)
|
||||
cb_object_dispatcher(<Object>data, event, EVAS_CALLBACK_MULTI_UP)
|
||||
cb_object_dispatcher(<Object>data, event, enums.EVAS_CALLBACK_MULTI_UP)
|
||||
event._unset_obj()
|
||||
|
||||
|
||||
|
@ -105,7 +105,7 @@ cdef void cb_object_multi_move(void *data, Evas *e,
|
|||
cdef EventMultiMove event
|
||||
event = EventMultiMove()
|
||||
event._set_obj(e_inf)
|
||||
cb_object_dispatcher(<Object>data, event, EVAS_CALLBACK_MULTI_MOVE)
|
||||
cb_object_dispatcher(<Object>data, event, enums.EVAS_CALLBACK_MULTI_MOVE)
|
||||
event._unset_obj()
|
||||
|
||||
|
||||
|
@ -114,13 +114,13 @@ cdef void cb_object_mouse_wheel(void *data, Evas *e,
|
|||
cdef EventMouseWheel event
|
||||
event = EventMouseWheel()
|
||||
event._set_obj(e_inf)
|
||||
cb_object_dispatcher(<Object>data, event, EVAS_CALLBACK_MOUSE_WHEEL)
|
||||
cb_object_dispatcher(<Object>data, event, enums.EVAS_CALLBACK_MOUSE_WHEEL)
|
||||
event._unset_obj()
|
||||
|
||||
|
||||
cdef void cb_object_free(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_FREE)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_FREE)
|
||||
|
||||
|
||||
cdef void cb_object_key_down(void *data, Evas *e,
|
||||
|
@ -128,7 +128,7 @@ cdef void cb_object_key_down(void *data, Evas *e,
|
|||
cdef EventKeyDown event
|
||||
event = EventKeyDown()
|
||||
event._set_obj(e_inf)
|
||||
cb_object_dispatcher(<Object>data, event, EVAS_CALLBACK_KEY_DOWN)
|
||||
cb_object_dispatcher(<Object>data, event, enums.EVAS_CALLBACK_KEY_DOWN)
|
||||
event._unset_obj()
|
||||
|
||||
|
||||
|
@ -137,48 +137,48 @@ cdef void cb_object_key_up(void *data, Evas *e,
|
|||
cdef EventKeyUp event
|
||||
event = EventKeyUp()
|
||||
event._set_obj(e_inf)
|
||||
cb_object_dispatcher(<Object>data, event, EVAS_CALLBACK_KEY_UP)
|
||||
cb_object_dispatcher(<Object>data, event, enums.EVAS_CALLBACK_KEY_UP)
|
||||
event._unset_obj()
|
||||
|
||||
|
||||
cdef void cb_object_focus_in(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_FOCUS_IN)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_FOCUS_IN)
|
||||
|
||||
|
||||
cdef void cb_object_focus_out(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_FOCUS_OUT)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_FOCUS_OUT)
|
||||
|
||||
|
||||
cdef void cb_object_show(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_SHOW)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_SHOW)
|
||||
|
||||
|
||||
cdef void cb_object_hide(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_HIDE)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_HIDE)
|
||||
|
||||
|
||||
cdef void cb_object_move(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_MOVE)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_MOVE)
|
||||
|
||||
|
||||
cdef void cb_object_resize(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_RESIZE)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_RESIZE)
|
||||
|
||||
|
||||
cdef void cb_object_restack(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_RESTACK)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_RESTACK)
|
||||
|
||||
|
||||
cdef void cb_object_del(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_DEL)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_DEL)
|
||||
|
||||
|
||||
cdef void cb_object_hold(void *data, Evas *e,
|
||||
|
@ -186,26 +186,26 @@ cdef void cb_object_hold(void *data, Evas *e,
|
|||
cdef EventHold event
|
||||
event = EventHold()
|
||||
event._set_obj(e_inf)
|
||||
cb_object_dispatcher(<Object>data, event, EVAS_CALLBACK_HOLD)
|
||||
cb_object_dispatcher(<Object>data, event, enums.EVAS_CALLBACK_HOLD)
|
||||
event._unset_obj()
|
||||
|
||||
|
||||
cdef void cb_object_changed_size_hints(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_CHANGED_SIZE_HINTS)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_CHANGED_SIZE_HINTS)
|
||||
|
||||
|
||||
cdef void cb_object_image_preloaded(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_IMAGE_PRELOADED)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_IMAGE_PRELOADED)
|
||||
|
||||
cdef void cb_object_image_resize(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_IMAGE_RESIZE)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_IMAGE_RESIZE)
|
||||
|
||||
cdef void cb_object_device_changed(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_DEVICE_CHANGED)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_DEVICE_CHANGED)
|
||||
|
||||
cdef void cb_object_canvas_focus_in(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
|
@ -236,7 +236,7 @@ cdef void cb_object_canvas_object_focus_out(void *data, Evas *e,
|
|||
|
||||
cdef void cb_object_image_unloaded(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
cb_object_dispatcher2(<Object>data, EVAS_CALLBACK_IMAGE_UNLOADED)
|
||||
cb_object_dispatcher2(<Object>data, enums.EVAS_CALLBACK_IMAGE_UNLOADED)
|
||||
|
||||
cdef void cb_object_canvas_render_pre(void *data, Evas *e,
|
||||
Evas_Object *obj, void *e_inf) with gil:
|
||||
|
@ -258,39 +258,39 @@ cdef void cb_object_viewport_resize(void *data, Evas *e,
|
|||
cdef int evas_object_event_callbacks_len
|
||||
cdef Evas_Object_Event_Cb evas_object_event_callbacks[36]
|
||||
evas_object_event_callbacks_len = 36
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_MOUSE_IN] = cb_object_mouse_in
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_MOUSE_OUT] = cb_object_mouse_out
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_MOUSE_DOWN] = cb_object_mouse_down
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_MOUSE_UP] = cb_object_mouse_up
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_MOUSE_MOVE] = cb_object_mouse_move
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_MOUSE_WHEEL] = cb_object_mouse_wheel
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_MULTI_DOWN] = cb_object_multi_down
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_MULTI_UP] = cb_object_multi_up
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_MULTI_MOVE] = cb_object_multi_move
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_FREE] = cb_object_free
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_KEY_DOWN] = cb_object_key_down
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_KEY_UP] = cb_object_key_up
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_FOCUS_IN] = cb_object_focus_in
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_FOCUS_OUT] = cb_object_focus_out
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_SHOW] = cb_object_show
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_HIDE] = cb_object_hide
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_MOVE] = cb_object_move
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_RESIZE] = cb_object_resize
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_RESTACK] = cb_object_restack
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_DEL] = cb_object_del
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_HOLD] = cb_object_hold
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_CHANGED_SIZE_HINTS] = cb_object_changed_size_hints
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_IMAGE_PRELOADED] = cb_object_image_preloaded
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_CANVAS_FOCUS_IN] = cb_object_canvas_focus_in
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_CANVAS_FOCUS_OUT] = cb_object_canvas_focus_out
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_RENDER_FLUSH_PRE] = cb_object_render_flush_pre
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_RENDER_FLUSH_POST] = cb_object_render_flush_post
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN] = cb_object_canvas_object_focus_in
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT] = cb_object_canvas_object_focus_out
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_IMAGE_UNLOADED] = cb_object_image_unloaded
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_RENDER_PRE] = cb_object_canvas_render_pre
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_RENDER_POST] = cb_object_canvas_render_post
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_IMAGE_RESIZE] = cb_object_image_resize
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_DEVICE_CHANGED] = cb_object_device_changed
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_AXIS_UPDATE] = cb_object_axis_update
|
||||
evas_object_event_callbacks[<int>EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE] = cb_object_viewport_resize
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_MOUSE_IN] = cb_object_mouse_in
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_MOUSE_OUT] = cb_object_mouse_out
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_MOUSE_DOWN] = cb_object_mouse_down
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_MOUSE_UP] = cb_object_mouse_up
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_MOUSE_MOVE] = cb_object_mouse_move
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_MOUSE_WHEEL] = cb_object_mouse_wheel
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_MULTI_DOWN] = cb_object_multi_down
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_MULTI_UP] = cb_object_multi_up
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_MULTI_MOVE] = cb_object_multi_move
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_FREE] = cb_object_free
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_KEY_DOWN] = cb_object_key_down
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_KEY_UP] = cb_object_key_up
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_FOCUS_IN] = cb_object_focus_in
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_FOCUS_OUT] = cb_object_focus_out
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_SHOW] = cb_object_show
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_HIDE] = cb_object_hide
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_MOVE] = cb_object_move
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_RESIZE] = cb_object_resize
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_RESTACK] = cb_object_restack
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_DEL] = cb_object_del
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_HOLD] = cb_object_hold
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_CHANGED_SIZE_HINTS] = cb_object_changed_size_hints
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_IMAGE_PRELOADED] = cb_object_image_preloaded
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_CANVAS_FOCUS_IN] = cb_object_canvas_focus_in
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_CANVAS_FOCUS_OUT] = cb_object_canvas_focus_out
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_RENDER_FLUSH_PRE] = cb_object_render_flush_pre
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_RENDER_FLUSH_POST] = cb_object_render_flush_post
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN] = cb_object_canvas_object_focus_in
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT] = cb_object_canvas_object_focus_out
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_IMAGE_UNLOADED] = cb_object_image_unloaded
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_RENDER_PRE] = cb_object_canvas_render_pre
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_RENDER_POST] = cb_object_canvas_render_post
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_IMAGE_RESIZE] = cb_object_image_resize
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_DEVICE_CHANGED] = cb_object_device_changed
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_AXIS_UPDATE] = cb_object_axis_update
|
||||
evas_object_event_callbacks[<int>enums.EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE] = cb_object_viewport_resize
|
||||
|
|
|
@ -206,7 +206,7 @@ cdef class Image(Object):
|
|||
<const char *>filename if filename is not None else NULL,
|
||||
<const char *>key if key is not None else NULL)
|
||||
err = evas_object_image_load_error_get(self.obj)
|
||||
if err != EVAS_LOAD_ERROR_NONE:
|
||||
if err != enums.EVAS_LOAD_ERROR_NONE:
|
||||
raise EvasLoadError(err, filename, key)
|
||||
|
||||
def file_set(self, filename, key=None):
|
||||
|
@ -217,7 +217,7 @@ cdef class Image(Object):
|
|||
<const char *>filename if filename is not None else NULL,
|
||||
<const char *>key if key is not None else NULL)
|
||||
err = evas_object_image_load_error_get(self.obj)
|
||||
if err != EVAS_LOAD_ERROR_NONE:
|
||||
if err != enums.EVAS_LOAD_ERROR_NONE:
|
||||
raise EvasLoadError(err, filename, key)
|
||||
|
||||
def file_get(self):
|
||||
|
@ -1328,19 +1328,19 @@ cdef class Image(Object):
|
|||
|
||||
def on_image_preloaded_add(self, func, *a, **k):
|
||||
"""Same as event_callback_add(EVAS_CALLBACK_IMAGE_PRELOADED, ...)"""
|
||||
self.event_callback_add(EVAS_CALLBACK_IMAGE_PRELOADED, func, *a, **k)
|
||||
self.event_callback_add(enums.EVAS_CALLBACK_IMAGE_PRELOADED, func, *a, **k)
|
||||
|
||||
def on_image_preloaded_del(self, func):
|
||||
"""Same as event_callback_del(EVAS_CALLBACK_IMAGE_PRELOADED, ...)"""
|
||||
self.event_callback_del(EVAS_CALLBACK_IMAGE_PRELOADED, func)
|
||||
self.event_callback_del(enums.EVAS_CALLBACK_IMAGE_PRELOADED, func)
|
||||
|
||||
def on_image_unloaded_add(self, func, *a, **k):
|
||||
"""Same as event_callback_add(EVAS_CALLBACK_IMAGE_UNLOADED, ...)"""
|
||||
self.event_callback_add(EVAS_CALLBACK_IMAGE_UNLOADED, func, *a, **k)
|
||||
self.event_callback_add(enums.EVAS_CALLBACK_IMAGE_UNLOADED, func, *a, **k)
|
||||
|
||||
def on_image_unloaded_del(self, func):
|
||||
"""Same as event_callback_del(EVAS_CALLBACK_IMAGE_UNLOADED, ...)"""
|
||||
self.event_callback_del(EVAS_CALLBACK_IMAGE_UNLOADED, func)
|
||||
self.event_callback_del(enums.EVAS_CALLBACK_IMAGE_UNLOADED, func)
|
||||
|
||||
|
||||
_object_mapping_register("Evas_Image", Image)
|
||||
|
@ -1376,7 +1376,7 @@ cdef class FilledImage(Image):
|
|||
Image.__init__(self, canvas, **kargs)
|
||||
w, h = self.size_get()
|
||||
Image.fill_set(self, 0, 0, w, h)
|
||||
evas_object_event_callback_add(self.obj, EVAS_CALLBACK_RESIZE,
|
||||
evas_object_event_callback_add(self.obj, enums.EVAS_CALLBACK_RESIZE,
|
||||
_cb_on_filled_image_resize, NULL)
|
||||
|
||||
def fill_set(self, int x, int y, int w, int h):
|
||||
|
|
|
@ -523,7 +523,7 @@ cdef class Smart(object):
|
|||
if isinstance(name, unicode): name = PyUnicode_AsUTF8String(name)
|
||||
|
||||
cls_def.name = name
|
||||
cls_def.version = EVAS_SMART_CLASS_VERSION
|
||||
cls_def.version = enums.EVAS_SMART_CLASS_VERSION
|
||||
|
||||
if clipped:
|
||||
evas_object_smart_clipped_smart_set(cls_def)
|
||||
|
@ -704,7 +704,7 @@ cdef class SmartObject(Object):
|
|||
|
||||
self.obj = obj
|
||||
eo_key_data_set(self.obj, "python-eo", <void *>self)
|
||||
evas_object_event_callback_add(obj, EVAS_CALLBACK_FREE,
|
||||
evas_object_event_callback_add(obj, enums.EVAS_CALLBACK_FREE,
|
||||
obj_free_cb, <void *>self)
|
||||
Py_INCREF(self)
|
||||
|
||||
|
|
|
@ -17,24 +17,11 @@
|
|||
|
||||
from efl.eina cimport Eina_Bool, Eina_Free_Cb
|
||||
|
||||
from efl.ethumb.enums cimport Ethumb_Thumb_Orientation, \
|
||||
Ethumb_Thumb_FDO_Size, Ethumb_Thumb_Format, Ethumb_Thumb_Aspect
|
||||
|
||||
cdef extern from "Ethumb.h":
|
||||
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
ctypedef enum Ethumb_Thumb_Orientation:
|
||||
pass
|
||||
|
||||
ctypedef enum Ethumb_Thumb_FDO_Size:
|
||||
pass
|
||||
|
||||
ctypedef enum Ethumb_Thumb_Format:
|
||||
pass
|
||||
|
||||
ctypedef enum Ethumb_Thumb_Aspect:
|
||||
pass
|
||||
|
||||
####################################################################
|
||||
# Structs
|
||||
#
|
||||
|
|
|
@ -0,0 +1,88 @@
|
|||
cdef extern from "Ecore.h":
|
||||
|
||||
####################################################################
|
||||
# Define (this are not really correct, but works)
|
||||
#
|
||||
cdef enum:
|
||||
ECORE_EVENT_NONE
|
||||
ECORE_EVENT_SIGNAL_USER
|
||||
ECORE_EVENT_SIGNAL_HUP
|
||||
ECORE_EVENT_SIGNAL_EXIT
|
||||
ECORE_EVENT_SIGNAL_POWER
|
||||
ECORE_EVENT_SIGNAL_REALTIME
|
||||
ECORE_EVENT_MEMORY_STATE
|
||||
ECORE_EVENT_POWER_STATE
|
||||
ECORE_EVENT_LOCALE_CHANGED
|
||||
ECORE_EVENT_HOSTNAME_CHANGED
|
||||
ECORE_EVENT_SYSTEM_TIMEDATE_CHANGED
|
||||
ECORE_EVENT_COUNT
|
||||
|
||||
ECORE_CALLBACK_CANCEL
|
||||
ECORE_CALLBACK_RENEW
|
||||
|
||||
ECORE_CALLBACK_PASS_ON
|
||||
ECORE_CALLBACK_DONE
|
||||
|
||||
ECORE_EXE_PRIORITY_INHERIT
|
||||
|
||||
int ECORE_EXE_EVENT_ADD
|
||||
int ECORE_EXE_EVENT_DEL
|
||||
int ECORE_EXE_EVENT_DATA
|
||||
int ECORE_EXE_EVENT_ERROR
|
||||
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
ctypedef enum Ecore_Fd_Handler_Flags:
|
||||
ECORE_FD_READ
|
||||
ECORE_FD_WRITE
|
||||
ECORE_FD_ERROR
|
||||
|
||||
ctypedef enum Ecore_Exe_Flags:
|
||||
ECORE_EXE_NONE
|
||||
ECORE_EXE_PIPE_READ
|
||||
ECORE_EXE_PIPE_WRITE
|
||||
ECORE_EXE_PIPE_ERROR
|
||||
ECORE_EXE_PIPE_READ_LINE_BUFFERED
|
||||
ECORE_EXE_PIPE_ERROR_LINE_BUFFERED
|
||||
ECORE_EXE_PIPE_AUTO
|
||||
ECORE_EXE_RESPAWN
|
||||
ECORE_EXE_USE_SH
|
||||
ECORE_EXE_NOT_LEADER
|
||||
ECORE_EXE_TERM_WITH_PARENT
|
||||
|
||||
ctypedef enum Ecore_Pos_Map:
|
||||
ECORE_POS_MAP_LINEAR
|
||||
ECORE_POS_MAP_ACCELERATE
|
||||
ECORE_POS_MAP_DECELERATE
|
||||
ECORE_POS_MAP_SINUSOIDAL
|
||||
ECORE_POS_MAP_ACCELERATE_FACTOR
|
||||
ECORE_POS_MAP_DECELERATE_FACTOR
|
||||
ECORE_POS_MAP_SINUSOIDAL_FACTOR
|
||||
ECORE_POS_MAP_DIVISOR_INTERP
|
||||
ECORE_POS_MAP_BOUNCE
|
||||
ECORE_POS_MAP_SPRING
|
||||
ECORE_POS_MAP_CUBIC_BEZIER
|
||||
|
||||
ctypedef enum Ecore_Animator_Source:
|
||||
ECORE_ANIMATOR_SOURCE_TIMER
|
||||
ECORE_ANIMATOR_SOURCE_CUSTOM
|
||||
|
||||
ctypedef enum Ecore_Poller_Type:
|
||||
ECORE_POLLER_CORE
|
||||
|
||||
|
||||
cdef extern from "Ecore_File.h":
|
||||
ctypedef enum Ecore_File_Event:
|
||||
ECORE_FILE_EVENT_NONE
|
||||
ECORE_FILE_EVENT_CREATED_FILE
|
||||
ECORE_FILE_EVENT_CREATED_DIRECTORY
|
||||
ECORE_FILE_EVENT_DELETED_FILE
|
||||
ECORE_FILE_EVENT_DELETED_DIRECTORY
|
||||
ECORE_FILE_EVENT_DELETED_SELF
|
||||
ECORE_FILE_EVENT_MODIFIED
|
||||
ECORE_FILE_EVENT_CLOSED
|
||||
|
||||
ctypedef enum Ecore_File_Progress_Return:
|
||||
ECORE_FILE_PROGRESS_CONTINUE
|
||||
ECORE_FILE_PROGRESS_ABORT
|
|
@ -18,91 +18,13 @@
|
|||
from efl.eina cimport *
|
||||
from efl.c_eo cimport Eo as cEo
|
||||
from efl.eo cimport Eo
|
||||
from efl.ecore.enums cimport Ecore_Fd_Handler_Flags, Ecore_Exe_Flags, \
|
||||
Ecore_Pos_Map, Ecore_Animator_Source, Ecore_Poller_Type, \
|
||||
Ecore_File_Event, Ecore_File_Progress_Return
|
||||
|
||||
|
||||
cdef extern from "Ecore.h":
|
||||
|
||||
####################################################################
|
||||
# Define (this are not really correct, but works)
|
||||
#
|
||||
cpdef enum:
|
||||
ECORE_EVENT_NONE
|
||||
ECORE_EVENT_SIGNAL_USER
|
||||
ECORE_EVENT_SIGNAL_HUP
|
||||
ECORE_EVENT_SIGNAL_EXIT
|
||||
ECORE_EVENT_SIGNAL_POWER
|
||||
ECORE_EVENT_SIGNAL_REALTIME
|
||||
ECORE_EVENT_MEMORY_STATE
|
||||
ECORE_EVENT_POWER_STATE
|
||||
ECORE_EVENT_LOCALE_CHANGED
|
||||
ECORE_EVENT_HOSTNAME_CHANGED
|
||||
ECORE_EVENT_SYSTEM_TIMEDATE_CHANGED
|
||||
ECORE_EVENT_COUNT
|
||||
|
||||
ECORE_CALLBACK_CANCEL
|
||||
ECORE_CALLBACK_RENEW
|
||||
|
||||
ECORE_CALLBACK_PASS_ON
|
||||
ECORE_CALLBACK_DONE
|
||||
|
||||
ECORE_EXE_PRIORITY_INHERIT
|
||||
|
||||
int ECORE_EXE_EVENT_ADD
|
||||
int ECORE_EXE_EVENT_DEL
|
||||
int ECORE_EXE_EVENT_DATA
|
||||
int ECORE_EXE_EVENT_ERROR
|
||||
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
cpdef enum Ecore_Fd_Handler_Flags:
|
||||
ECORE_FD_READ
|
||||
ECORE_FD_WRITE
|
||||
ECORE_FD_ERROR
|
||||
ctypedef enum Ecore_Fd_Handler_Flags:
|
||||
pass
|
||||
|
||||
cpdef enum Ecore_Exe_Flags:
|
||||
ECORE_EXE_NONE
|
||||
ECORE_EXE_PIPE_READ
|
||||
ECORE_EXE_PIPE_WRITE
|
||||
ECORE_EXE_PIPE_ERROR
|
||||
ECORE_EXE_PIPE_READ_LINE_BUFFERED
|
||||
ECORE_EXE_PIPE_ERROR_LINE_BUFFERED
|
||||
ECORE_EXE_PIPE_AUTO
|
||||
ECORE_EXE_RESPAWN
|
||||
ECORE_EXE_USE_SH
|
||||
ECORE_EXE_NOT_LEADER
|
||||
ECORE_EXE_TERM_WITH_PARENT
|
||||
ctypedef enum Ecore_Exe_Flags:
|
||||
pass
|
||||
|
||||
cpdef enum Ecore_Pos_Map:
|
||||
ECORE_POS_MAP_LINEAR
|
||||
ECORE_POS_MAP_ACCELERATE
|
||||
ECORE_POS_MAP_DECELERATE
|
||||
ECORE_POS_MAP_SINUSOIDAL
|
||||
ECORE_POS_MAP_ACCELERATE_FACTOR
|
||||
ECORE_POS_MAP_DECELERATE_FACTOR
|
||||
ECORE_POS_MAP_SINUSOIDAL_FACTOR
|
||||
ECORE_POS_MAP_DIVISOR_INTERP
|
||||
ECORE_POS_MAP_BOUNCE
|
||||
ECORE_POS_MAP_SPRING
|
||||
ECORE_POS_MAP_CUBIC_BEZIER
|
||||
ctypedef enum Ecore_Pos_Map:
|
||||
pass
|
||||
|
||||
cpdef enum Ecore_Animator_Source:
|
||||
ECORE_ANIMATOR_SOURCE_TIMER
|
||||
ECORE_ANIMATOR_SOURCE_CUSTOM
|
||||
ctypedef enum Ecore_Animator_Source:
|
||||
pass
|
||||
|
||||
cpdef enum Ecore_Poller_Type:
|
||||
ECORE_POLLER_CORE
|
||||
ctypedef enum Ecore_Poller_Type:
|
||||
pass
|
||||
|
||||
####################################################################
|
||||
# Basic Types
|
||||
#
|
||||
|
@ -252,24 +174,6 @@ cdef extern from "Ecore.h":
|
|||
|
||||
cdef extern from "Ecore_File.h":
|
||||
|
||||
cpdef enum Ecore_File_Event:
|
||||
ECORE_FILE_EVENT_NONE
|
||||
ECORE_FILE_EVENT_CREATED_FILE
|
||||
ECORE_FILE_EVENT_CREATED_DIRECTORY
|
||||
ECORE_FILE_EVENT_DELETED_FILE
|
||||
ECORE_FILE_EVENT_DELETED_DIRECTORY
|
||||
ECORE_FILE_EVENT_DELETED_SELF
|
||||
ECORE_FILE_EVENT_MODIFIED
|
||||
ECORE_FILE_EVENT_CLOSED
|
||||
ctypedef enum Ecore_File_Event:
|
||||
pass
|
||||
|
||||
cpdef enum Ecore_File_Progress_Return:
|
||||
ECORE_FILE_PROGRESS_CONTINUE
|
||||
ECORE_FILE_PROGRESS_ABORT
|
||||
ctypedef enum Ecore_File_Progress_Return:
|
||||
pass
|
||||
|
||||
ctypedef struct Ecore_File_Download_Job
|
||||
ctypedef struct Ecore_File_Monitor
|
||||
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
cdef extern from "Ecore_Con.h":
|
||||
# enums
|
||||
ctypedef enum Ecore_Con_Type:
|
||||
ECORE_CON_LOCAL_USER
|
||||
ECORE_CON_LOCAL_SYSTEM
|
||||
ECORE_CON_LOCAL_ABSTRACT
|
||||
ECORE_CON_REMOTE_TCP
|
||||
ECORE_CON_REMOTE_MCAST
|
||||
ECORE_CON_REMOTE_UDP
|
||||
ECORE_CON_REMOTE_BROADCAST
|
||||
ECORE_CON_REMOTE_NODELAY
|
||||
ECORE_CON_REMOTE_CORK
|
||||
ECORE_CON_USE_SSL2
|
||||
ECORE_CON_USE_SSL3
|
||||
ECORE_CON_USE_TLS
|
||||
ECORE_CON_USE_MIXED
|
||||
ECORE_CON_LOAD_CERT
|
||||
ECORE_CON_NO_PROXY
|
||||
ECORE_CON_SOCKET_ACTIVATE
|
||||
|
||||
ctypedef enum Ecore_Con_Url_Time:
|
||||
ECORE_CON_URL_TIME_NONE
|
||||
ECORE_CON_URL_TIME_IFMODSINCE
|
||||
ECORE_CON_URL_TIME_IFUNMODSINCE
|
||||
|
||||
ctypedef enum Ecore_Con_Url_Http_Version:
|
||||
ECORE_CON_URL_HTTP_VERSION_1_0
|
||||
ECORE_CON_URL_HTTP_VERSION_1_1
|
|
@ -22,7 +22,8 @@ from efl.eo cimport Eo, object_from_instance
|
|||
from efl.ecore cimport Ecore_Event_Handler, Event
|
||||
from efl.utils.conversions cimport _ctouni, eina_list_strings_to_python_list
|
||||
|
||||
|
||||
from efl.ecore_con.enums cimport Ecore_Con_Type, Ecore_Con_Url_Time, \
|
||||
Ecore_Con_Url_Http_Version
|
||||
|
||||
cdef extern from "Ecore_Con.h":
|
||||
|
||||
|
@ -59,39 +60,6 @@ cdef extern from "Ecore_Con.h":
|
|||
ctypedef void (*Ecore_Con_Dns_Cb)(const char *canonname, const char *ip,
|
||||
sockaddr *addr, int addrlen, void *data)
|
||||
|
||||
# enums
|
||||
cpdef enum Ecore_Con_Type:
|
||||
ECORE_CON_LOCAL_USER
|
||||
ECORE_CON_LOCAL_SYSTEM
|
||||
ECORE_CON_LOCAL_ABSTRACT
|
||||
ECORE_CON_REMOTE_TCP
|
||||
ECORE_CON_REMOTE_MCAST
|
||||
ECORE_CON_REMOTE_UDP
|
||||
ECORE_CON_REMOTE_BROADCAST
|
||||
ECORE_CON_REMOTE_NODELAY
|
||||
ECORE_CON_REMOTE_CORK
|
||||
ECORE_CON_USE_SSL2
|
||||
ECORE_CON_USE_SSL3
|
||||
ECORE_CON_USE_TLS
|
||||
ECORE_CON_USE_MIXED
|
||||
ECORE_CON_LOAD_CERT
|
||||
ECORE_CON_NO_PROXY
|
||||
ECORE_CON_SOCKET_ACTIVATE
|
||||
ctypedef enum Ecore_Con_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Ecore_Con_Url_Time:
|
||||
ECORE_CON_URL_TIME_NONE
|
||||
ECORE_CON_URL_TIME_IFMODSINCE
|
||||
ECORE_CON_URL_TIME_IFUNMODSINCE
|
||||
ctypedef enum Ecore_Con_Url_Time:
|
||||
pass
|
||||
|
||||
cpdef enum Ecore_Con_Url_Http_Version:
|
||||
ECORE_CON_URL_HTTP_VERSION_1_0
|
||||
ECORE_CON_URL_HTTP_VERSION_1_1
|
||||
ctypedef enum Ecore_Con_Url_Http_Version:
|
||||
pass
|
||||
|
||||
# functions
|
||||
int ecore_con_init()
|
|
@ -0,0 +1,17 @@
|
|||
cdef extern from "Ecore_Input.h":
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
ctypedef enum Ecore_Event_Modifier: # this is not really an enum
|
||||
ECORE_EVENT_MODIFIER_SHIFT
|
||||
ECORE_EVENT_MODIFIER_CTRL
|
||||
ECORE_EVENT_MODIFIER_ALT
|
||||
ECORE_EVENT_MODIFIER_WIN
|
||||
ECORE_EVENT_MODIFIER_SCROLL
|
||||
ECORE_EVENT_MODIFIER_NUM
|
||||
ECORE_EVENT_MODIFIER_CAPS
|
||||
ECORE_EVENT_LOCK_SCROLL
|
||||
ECORE_EVENT_LOCK_NUM
|
||||
ECORE_EVENT_LOCK_CAPS
|
||||
ECORE_EVENT_LOCK_SHIFT
|
||||
ECORE_EVENT_MODIFIER_ALTGR
|
|
@ -22,25 +22,6 @@ from efl.ecore cimport Ecore_Event_Handler, ecore_event_handler_add, \
|
|||
|
||||
cdef extern from "Ecore_Input.h":
|
||||
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
cpdef enum Ecore_Event_Modifier: # this is not really an enum
|
||||
ECORE_EVENT_MODIFIER_SHIFT
|
||||
ECORE_EVENT_MODIFIER_CTRL
|
||||
ECORE_EVENT_MODIFIER_ALT
|
||||
ECORE_EVENT_MODIFIER_WIN
|
||||
ECORE_EVENT_MODIFIER_SCROLL
|
||||
ECORE_EVENT_MODIFIER_NUM
|
||||
ECORE_EVENT_MODIFIER_CAPS
|
||||
ECORE_EVENT_LOCK_SCROLL
|
||||
ECORE_EVENT_LOCK_NUM
|
||||
ECORE_EVENT_LOCK_CAPS
|
||||
ECORE_EVENT_LOCK_SHIFT
|
||||
ECORE_EVENT_MODIFIER_ALTGR
|
||||
ctypedef enum Ecore_Event_Modifier:
|
||||
pass
|
||||
|
||||
####################################################################
|
||||
# events (not exposed to python)
|
||||
#
|
|
@ -0,0 +1,140 @@
|
|||
cdef extern from "Edje.h":
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
ctypedef enum Edje_Message_Type:
|
||||
EDJE_MESSAGE_NONE
|
||||
EDJE_MESSAGE_SIGNAL
|
||||
EDJE_MESSAGE_STRING
|
||||
EDJE_MESSAGE_INT
|
||||
EDJE_MESSAGE_FLOAT
|
||||
EDJE_MESSAGE_STRING_SET
|
||||
EDJE_MESSAGE_INT_SET
|
||||
EDJE_MESSAGE_FLOAT_SET
|
||||
EDJE_MESSAGE_STRING_INT
|
||||
EDJE_MESSAGE_STRING_FLOAT
|
||||
EDJE_MESSAGE_STRING_INT_SET
|
||||
EDJE_MESSAGE_STRING_FLOAT_SET
|
||||
|
||||
ctypedef enum Edje_Aspect_Control:
|
||||
EDJE_ASPECT_CONTROL_NONE
|
||||
EDJE_ASPECT_CONTROL_NEITHER
|
||||
EDJE_ASPECT_CONTROL_HORIZONTAL
|
||||
EDJE_ASPECT_CONTROL_VERTICAL
|
||||
EDJE_ASPECT_CONTROL_BOTH
|
||||
|
||||
ctypedef enum Edje_Drag_Dir:
|
||||
EDJE_DRAG_DIR_NONE
|
||||
EDJE_DRAG_DIR_X
|
||||
EDJE_DRAG_DIR_Y
|
||||
EDJE_DRAG_DIR_XY
|
||||
|
||||
ctypedef enum Edje_Load_Error:
|
||||
EDJE_LOAD_ERROR_NONE
|
||||
EDJE_LOAD_ERROR_GENERIC
|
||||
EDJE_LOAD_ERROR_DOES_NOT_EXIST
|
||||
EDJE_LOAD_ERROR_PERMISSION_DENIED
|
||||
EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED
|
||||
EDJE_LOAD_ERROR_CORRUPT_FILE
|
||||
EDJE_LOAD_ERROR_UNKNOWN_FORMAT
|
||||
EDJE_LOAD_ERROR_INCOMPATIBLE_FILE
|
||||
EDJE_LOAD_ERROR_UNKNOWN_COLLECTION
|
||||
EDJE_LOAD_ERROR_RECURSIVE_REFERENCE
|
||||
|
||||
ctypedef enum Edje_Part_Type:
|
||||
EDJE_PART_TYPE_NONE
|
||||
EDJE_PART_TYPE_RECTANGLE
|
||||
EDJE_PART_TYPE_TEXT
|
||||
EDJE_PART_TYPE_IMAGE
|
||||
EDJE_PART_TYPE_SWALLOW
|
||||
EDJE_PART_TYPE_TEXTBLOCK
|
||||
EDJE_PART_TYPE_GRADIENT
|
||||
EDJE_PART_TYPE_GROUP
|
||||
EDJE_PART_TYPE_BOX
|
||||
EDJE_PART_TYPE_TABLE
|
||||
EDJE_PART_TYPE_EXTERNAL
|
||||
EDJE_PART_TYPE_SPACER
|
||||
EDJE_PART_TYPE_MESH_NODE
|
||||
EDJE_PART_TYPE_LIGHT
|
||||
EDJE_PART_TYPE_CAMERA
|
||||
EDJE_PART_TYPE_LAST
|
||||
|
||||
ctypedef enum Edje_Text_Effect:
|
||||
EDJE_TEXT_EFFECT_NONE
|
||||
EDJE_TEXT_EFFECT_PLAIN
|
||||
EDJE_TEXT_EFFECT_OUTLINE
|
||||
EDJE_TEXT_EFFECT_SOFT_OUTLINE
|
||||
EDJE_TEXT_EFFECT_SHADOW
|
||||
EDJE_TEXT_EFFECT_SOFT_SHADOW
|
||||
EDJE_TEXT_EFFECT_OUTLINE_SHADOW
|
||||
EDJE_TEXT_EFFECT_OUTLINE_SOFT_SHADOW
|
||||
EDJE_TEXT_EFFECT_FAR_SHADOW
|
||||
EDJE_TEXT_EFFECT_FAR_SOFT_SHADOW
|
||||
EDJE_TEXT_EFFECT_GLOW
|
||||
EDJE_TEXT_EFFECT_LAST
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_RIGHT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_LEFT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_LEFT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_LEFT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_RIGHT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_RIGHT
|
||||
|
||||
ctypedef enum Edje_Action_Type:
|
||||
EDJE_ACTION_TYPE_NONE
|
||||
EDJE_ACTION_TYPE_STATE_SET
|
||||
EDJE_ACTION_TYPE_ACTION_STOP
|
||||
EDJE_ACTION_TYPE_SIGNAL_EMIT
|
||||
EDJE_ACTION_TYPE_DRAG_VAL_SET
|
||||
EDJE_ACTION_TYPE_DRAG_VAL_STEP
|
||||
EDJE_ACTION_TYPE_DRAG_VAL_PAGE
|
||||
EDJE_ACTION_TYPE_SCRIPT
|
||||
EDJE_ACTION_TYPE_FOCUS_SET
|
||||
EDJE_ACTION_TYPE_RESERVED00
|
||||
EDJE_ACTION_TYPE_FOCUS_OBJECT
|
||||
EDJE_ACTION_TYPE_PARAM_COPY
|
||||
EDJE_ACTION_TYPE_PARAM_SET
|
||||
EDJE_ACTION_TYPE_SOUND_SAMPLE
|
||||
EDJE_ACTION_TYPE_SOUND_TONE
|
||||
EDJE_ACTION_TYPE_PHYSICS_IMPULSE
|
||||
EDJE_ACTION_TYPE_PHYSICS_TORQUE_IMPULSE
|
||||
EDJE_ACTION_TYPE_PHYSICS_FORCE
|
||||
EDJE_ACTION_TYPE_PHYSICS_TORQUE
|
||||
EDJE_ACTION_TYPE_PHYSICS_FORCES_CLEAR
|
||||
EDJE_ACTION_TYPE_PHYSICS_VEL_SET
|
||||
EDJE_ACTION_TYPE_PHYSICS_ANG_VEL_SET
|
||||
EDJE_ACTION_TYPE_PHYSICS_STOP
|
||||
EDJE_ACTION_TYPE_PHYSICS_ROT_SET
|
||||
EDJE_ACTION_TYPE_VIBRATION_SAMPLE
|
||||
EDJE_ACTION_TYPE_LAST
|
||||
|
||||
ctypedef enum Edje_Tween_Mode:
|
||||
EDJE_TWEEN_MODE_NONE
|
||||
EDJE_TWEEN_MODE_LINEAR
|
||||
EDJE_TWEEN_MODE_SINUSOIDAL
|
||||
EDJE_TWEEN_MODE_ACCELERATE
|
||||
EDJE_TWEEN_MODE_DECELERATE
|
||||
EDJE_TWEEN_MODE_ACCELERATE_FACTOR
|
||||
EDJE_TWEEN_MODE_DECELERATE_FACTOR
|
||||
EDJE_TWEEN_MODE_SINUSOIDAL_FACTOR
|
||||
EDJE_TWEEN_MODE_DIVISOR_INTERP
|
||||
EDJE_TWEEN_MODE_BOUNCE
|
||||
EDJE_TWEEN_MODE_SPRING
|
||||
EDJE_TWEEN_MODE_CUBIC_BEZIER
|
||||
EDJE_TWEEN_MODE_LAST
|
||||
EDJE_TWEEN_MODE_MASK
|
||||
EDJE_TWEEN_MODE_OPT_FROM_CURRENT
|
||||
|
||||
ctypedef enum Edje_External_Param_Type:
|
||||
EDJE_EXTERNAL_PARAM_TYPE_INT
|
||||
EDJE_EXTERNAL_PARAM_TYPE_DOUBLE
|
||||
EDJE_EXTERNAL_PARAM_TYPE_STRING
|
||||
EDJE_EXTERNAL_PARAM_TYPE_BOOL
|
||||
EDJE_EXTERNAL_PARAM_TYPE_CHOICE
|
||||
EDJE_EXTERNAL_PARAM_TYPE_MAX
|
||||
|
||||
ctypedef enum Edje_Input_Hints:
|
||||
EDJE_INPUT_HINT_NONE
|
||||
EDJE_INPUT_HINT_AUTO_COMPLETE
|
||||
EDJE_INPUT_HINT_SENSITIVE_DATA
|
|
@ -18,6 +18,10 @@
|
|||
from efl.eina cimport Eina_Bool, Eina_List, Eina_Iterator
|
||||
from efl.evas cimport Object, Evas_Object, Evas, Evas_Font_Size, Evas_Coord
|
||||
|
||||
from efl.edje.enums cimport Edje_Message_Type, Edje_Aspect_Control, \
|
||||
Edje_Drag_Dir, Edje_Load_Error, Edje_Part_Type, Edje_Text_Effect, \
|
||||
Edje_Action_Type, Edje_Tween_Mode, Edje_External_Param_Type, \
|
||||
Edje_Input_Hints
|
||||
|
||||
cdef extern from "Edje.h":
|
||||
####################################################################
|
||||
|
@ -27,165 +31,6 @@ cdef extern from "Edje.h":
|
|||
cdef double EDJE_EXTERNAL_DOUBLE_UNSET
|
||||
cdef unsigned int EDJE_EXTERNAL_TYPE_ABI_VERSION
|
||||
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
cpdef enum Edje_Message_Type:
|
||||
EDJE_MESSAGE_NONE
|
||||
EDJE_MESSAGE_SIGNAL
|
||||
EDJE_MESSAGE_STRING
|
||||
EDJE_MESSAGE_INT
|
||||
EDJE_MESSAGE_FLOAT
|
||||
EDJE_MESSAGE_STRING_SET
|
||||
EDJE_MESSAGE_INT_SET
|
||||
EDJE_MESSAGE_FLOAT_SET
|
||||
EDJE_MESSAGE_STRING_INT
|
||||
EDJE_MESSAGE_STRING_FLOAT
|
||||
EDJE_MESSAGE_STRING_INT_SET
|
||||
EDJE_MESSAGE_STRING_FLOAT_SET
|
||||
ctypedef enum Edje_Message_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Edje_Aspect_Control:
|
||||
EDJE_ASPECT_CONTROL_NONE
|
||||
EDJE_ASPECT_CONTROL_NEITHER
|
||||
EDJE_ASPECT_CONTROL_HORIZONTAL
|
||||
EDJE_ASPECT_CONTROL_VERTICAL
|
||||
EDJE_ASPECT_CONTROL_BOTH
|
||||
ctypedef enum Edje_Aspect_Control:
|
||||
pass
|
||||
|
||||
cpdef enum Edje_Drag_Dir:
|
||||
EDJE_DRAG_DIR_NONE
|
||||
EDJE_DRAG_DIR_X
|
||||
EDJE_DRAG_DIR_Y
|
||||
EDJE_DRAG_DIR_XY
|
||||
ctypedef enum Edje_Drag_Dir:
|
||||
pass
|
||||
|
||||
cpdef enum Edje_Load_Error:
|
||||
EDJE_LOAD_ERROR_NONE
|
||||
EDJE_LOAD_ERROR_GENERIC
|
||||
EDJE_LOAD_ERROR_DOES_NOT_EXIST
|
||||
EDJE_LOAD_ERROR_PERMISSION_DENIED
|
||||
EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED
|
||||
EDJE_LOAD_ERROR_CORRUPT_FILE
|
||||
EDJE_LOAD_ERROR_UNKNOWN_FORMAT
|
||||
EDJE_LOAD_ERROR_INCOMPATIBLE_FILE
|
||||
EDJE_LOAD_ERROR_UNKNOWN_COLLECTION
|
||||
EDJE_LOAD_ERROR_RECURSIVE_REFERENCE
|
||||
ctypedef enum Edje_Load_Error:
|
||||
pass
|
||||
|
||||
cpdef enum Edje_Part_Type:
|
||||
EDJE_PART_TYPE_NONE
|
||||
EDJE_PART_TYPE_RECTANGLE
|
||||
EDJE_PART_TYPE_TEXT
|
||||
EDJE_PART_TYPE_IMAGE
|
||||
EDJE_PART_TYPE_SWALLOW
|
||||
EDJE_PART_TYPE_TEXTBLOCK
|
||||
EDJE_PART_TYPE_GRADIENT
|
||||
EDJE_PART_TYPE_GROUP
|
||||
EDJE_PART_TYPE_BOX
|
||||
EDJE_PART_TYPE_TABLE
|
||||
EDJE_PART_TYPE_EXTERNAL
|
||||
EDJE_PART_TYPE_SPACER
|
||||
EDJE_PART_TYPE_MESH_NODE
|
||||
EDJE_PART_TYPE_LIGHT
|
||||
EDJE_PART_TYPE_CAMERA
|
||||
EDJE_PART_TYPE_LAST
|
||||
ctypedef enum Edje_Part_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Edje_Text_Effect:
|
||||
EDJE_TEXT_EFFECT_NONE
|
||||
EDJE_TEXT_EFFECT_PLAIN
|
||||
EDJE_TEXT_EFFECT_OUTLINE
|
||||
EDJE_TEXT_EFFECT_SOFT_OUTLINE
|
||||
EDJE_TEXT_EFFECT_SHADOW
|
||||
EDJE_TEXT_EFFECT_SOFT_SHADOW
|
||||
EDJE_TEXT_EFFECT_OUTLINE_SHADOW
|
||||
EDJE_TEXT_EFFECT_OUTLINE_SOFT_SHADOW
|
||||
EDJE_TEXT_EFFECT_FAR_SHADOW
|
||||
EDJE_TEXT_EFFECT_FAR_SOFT_SHADOW
|
||||
EDJE_TEXT_EFFECT_GLOW
|
||||
EDJE_TEXT_EFFECT_LAST
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_RIGHT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_LEFT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_LEFT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_LEFT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_RIGHT
|
||||
EDJE_TEXT_EFFECT_SHADOW_DIRECTION_RIGHT
|
||||
ctypedef enum Edje_Text_Effect:
|
||||
pass
|
||||
|
||||
cpdef enum Edje_Action_Type:
|
||||
EDJE_ACTION_TYPE_NONE
|
||||
EDJE_ACTION_TYPE_STATE_SET
|
||||
EDJE_ACTION_TYPE_ACTION_STOP
|
||||
EDJE_ACTION_TYPE_SIGNAL_EMIT
|
||||
EDJE_ACTION_TYPE_DRAG_VAL_SET
|
||||
EDJE_ACTION_TYPE_DRAG_VAL_STEP
|
||||
EDJE_ACTION_TYPE_DRAG_VAL_PAGE
|
||||
EDJE_ACTION_TYPE_SCRIPT
|
||||
EDJE_ACTION_TYPE_FOCUS_SET
|
||||
EDJE_ACTION_TYPE_RESERVED00
|
||||
EDJE_ACTION_TYPE_FOCUS_OBJECT
|
||||
EDJE_ACTION_TYPE_PARAM_COPY
|
||||
EDJE_ACTION_TYPE_PARAM_SET
|
||||
EDJE_ACTION_TYPE_SOUND_SAMPLE
|
||||
EDJE_ACTION_TYPE_SOUND_TONE
|
||||
EDJE_ACTION_TYPE_PHYSICS_IMPULSE
|
||||
EDJE_ACTION_TYPE_PHYSICS_TORQUE_IMPULSE
|
||||
EDJE_ACTION_TYPE_PHYSICS_FORCE
|
||||
EDJE_ACTION_TYPE_PHYSICS_TORQUE
|
||||
EDJE_ACTION_TYPE_PHYSICS_FORCES_CLEAR
|
||||
EDJE_ACTION_TYPE_PHYSICS_VEL_SET
|
||||
EDJE_ACTION_TYPE_PHYSICS_ANG_VEL_SET
|
||||
EDJE_ACTION_TYPE_PHYSICS_STOP
|
||||
EDJE_ACTION_TYPE_PHYSICS_ROT_SET
|
||||
EDJE_ACTION_TYPE_VIBRATION_SAMPLE
|
||||
EDJE_ACTION_TYPE_LAST
|
||||
ctypedef enum Edje_Action_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Edje_Tween_Mode:
|
||||
EDJE_TWEEN_MODE_NONE
|
||||
EDJE_TWEEN_MODE_LINEAR
|
||||
EDJE_TWEEN_MODE_SINUSOIDAL
|
||||
EDJE_TWEEN_MODE_ACCELERATE
|
||||
EDJE_TWEEN_MODE_DECELERATE
|
||||
EDJE_TWEEN_MODE_ACCELERATE_FACTOR
|
||||
EDJE_TWEEN_MODE_DECELERATE_FACTOR
|
||||
EDJE_TWEEN_MODE_SINUSOIDAL_FACTOR
|
||||
EDJE_TWEEN_MODE_DIVISOR_INTERP
|
||||
EDJE_TWEEN_MODE_BOUNCE
|
||||
EDJE_TWEEN_MODE_SPRING
|
||||
EDJE_TWEEN_MODE_CUBIC_BEZIER
|
||||
EDJE_TWEEN_MODE_LAST
|
||||
EDJE_TWEEN_MODE_MASK
|
||||
EDJE_TWEEN_MODE_OPT_FROM_CURRENT
|
||||
ctypedef enum Edje_Tween_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Edje_External_Param_Type:
|
||||
EDJE_EXTERNAL_PARAM_TYPE_INT
|
||||
EDJE_EXTERNAL_PARAM_TYPE_DOUBLE
|
||||
EDJE_EXTERNAL_PARAM_TYPE_STRING
|
||||
EDJE_EXTERNAL_PARAM_TYPE_BOOL
|
||||
EDJE_EXTERNAL_PARAM_TYPE_CHOICE
|
||||
EDJE_EXTERNAL_PARAM_TYPE_MAX
|
||||
ctypedef enum Edje_External_Param_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Edje_Input_Hints:
|
||||
EDJE_INPUT_HINT_NONE
|
||||
EDJE_INPUT_HINT_AUTO_COMPLETE
|
||||
EDJE_INPUT_HINT_SENSITIVE_DATA
|
||||
ctypedef enum Edje_Input_Hints:
|
||||
pass
|
||||
|
||||
####################################################################
|
||||
# Structures
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
cdef extern from "Edje_Edit.h":
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
ctypedef enum Edje_Edit_Image_Comp:
|
||||
EDJE_EDIT_IMAGE_COMP_RAW
|
||||
EDJE_EDIT_IMAGE_COMP_USER
|
||||
EDJE_EDIT_IMAGE_COMP_COMP
|
||||
EDJE_EDIT_IMAGE_COMP_LOSSY
|
|
@ -21,19 +21,9 @@ from efl.evas cimport Evas_Object, Evas
|
|||
from efl.edje cimport Edje_Part_Type, Edje_Text_Effect, Edje_Tween_Mode, \
|
||||
Edje_Action_Type
|
||||
|
||||
from efl.edje_edit.enums cimport Edje_Edit_Image_Comp
|
||||
|
||||
cdef extern from "Edje_Edit.h":
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
cpdef enum Edje_Edit_Image_Comp:
|
||||
EDJE_EDIT_IMAGE_COMP_RAW
|
||||
EDJE_EDIT_IMAGE_COMP_USER
|
||||
EDJE_EDIT_IMAGE_COMP_COMP
|
||||
EDJE_EDIT_IMAGE_COMP_LOSSY
|
||||
ctypedef enum Edje_Edit_Image_Comp:
|
||||
pass
|
||||
|
||||
####################################################################
|
||||
# Structures
|
||||
#
|
||||
|
|
|
@ -0,0 +1,742 @@
|
|||
cdef extern from "Edje.h":
|
||||
# used in configuration
|
||||
ctypedef enum Edje_Channel:
|
||||
EDJE_CHANNEL_EFFECT
|
||||
EDJE_CHANNEL_BACKGROUND
|
||||
EDJE_CHANNEL_MUSIC
|
||||
EDJE_CHANNEL_FOREGROUND
|
||||
EDJE_CHANNEL_INTERFACE
|
||||
EDJE_CHANNEL_INPUT
|
||||
EDJE_CHANNEL_ALERT
|
||||
EDJE_CHANNEL_ALL
|
||||
|
||||
|
||||
cdef extern from "Elementary.h":
|
||||
#define
|
||||
cdef enum:
|
||||
ELM_ECORE_EVENT_ETHUMB_CONNECT
|
||||
ELM_EVENT_CONFIG_ALL_CHANGED
|
||||
ELM_EVENT_POLICY_CHANGED
|
||||
ELM_EVENT_PROCESS_BACKGROUND
|
||||
ELM_EVENT_PROCESS_FOREGROUND
|
||||
ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED
|
||||
ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED
|
||||
ELM_EVENT_SYSTRAY_READY
|
||||
|
||||
#enums
|
||||
ctypedef enum Elm_Focus_Direction:
|
||||
ELM_FOCUS_PREVIOUS
|
||||
ELM_FOCUS_NEXT
|
||||
ELM_FOCUS_UP
|
||||
ELM_FOCUS_DOWN
|
||||
ELM_FOCUS_RIGHT
|
||||
ELM_FOCUS_LEFT
|
||||
|
||||
ctypedef enum Elm_Focus_Move_Policy:
|
||||
ELM_FOCUS_MOVE_POLICY_CLICK
|
||||
ELM_FOCUS_MOVE_POLICY_IN
|
||||
ELM_FOCUS_MOVE_POLICY_KEY_ONLY
|
||||
|
||||
ctypedef enum Elm_Focus_Region_Show_Mode:
|
||||
ELM_FOCUS_REGION_SHOW_WIDGET
|
||||
ELM_FOCUS_REGION_SHOW_ITEM
|
||||
|
||||
ctypedef enum Elm_Focus_Autoscroll_Mode:
|
||||
ELM_FOCUS_AUTOSCROLL_MODE_SHOW
|
||||
ELM_FOCUS_AUTOSCROLL_MODE_NONE
|
||||
ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN
|
||||
|
||||
ctypedef enum Elm_Sel_Type:
|
||||
ELM_SEL_TYPE_PRIMARY
|
||||
ELM_SEL_TYPE_SECONDARY
|
||||
ELM_SEL_TYPE_XDND
|
||||
ELM_SEL_TYPE_CLIPBOARD
|
||||
|
||||
ctypedef enum Elm_Sel_Format:
|
||||
ELM_SEL_FORMAT_TARGETS
|
||||
ELM_SEL_FORMAT_NONE
|
||||
ELM_SEL_FORMAT_TEXT
|
||||
ELM_SEL_FORMAT_MARKUP
|
||||
ELM_SEL_FORMAT_IMAGE
|
||||
ELM_SEL_FORMAT_VCARD
|
||||
ELM_SEL_FORMAT_HTML
|
||||
|
||||
ctypedef enum Elm_Xdnd_Action:
|
||||
ELM_XDND_ACTION_UNKNOWN
|
||||
ELM_XDND_ACTION_COPY
|
||||
ELM_XDND_ACTION_MOVE
|
||||
ELM_XDND_ACTION_PRIVATE
|
||||
ELM_XDND_ACTION_ASK
|
||||
ELM_XDND_ACTION_LIST
|
||||
ELM_XDND_ACTION_LINK
|
||||
ELM_XDND_ACTION_DESCRIPTION
|
||||
|
||||
ctypedef enum Elm_Tooltip_Orient:
|
||||
ELM_TOOLTIP_ORIENT_NONE
|
||||
ELM_TOOLTIP_ORIENT_TOP_LEFT
|
||||
ELM_TOOLTIP_ORIENT_TOP
|
||||
ELM_TOOLTIP_ORIENT_TOP_RIGHT
|
||||
ELM_TOOLTIP_ORIENT_LEFT
|
||||
ELM_TOOLTIP_ORIENT_CENTER
|
||||
ELM_TOOLTIP_ORIENT_RIGHT
|
||||
ELM_TOOLTIP_ORIENT_BOTTOM_LEFT
|
||||
ELM_TOOLTIP_ORIENT_BOTTOM
|
||||
ELM_TOOLTIP_ORIENT_BOTTOM_RIGHT
|
||||
ELM_TOOLTIP_ORIENT_LAST
|
||||
|
||||
ctypedef enum Elm_Policy:
|
||||
ELM_POLICY_QUIT
|
||||
ELM_POLICY_EXIT
|
||||
ELM_POLICY_THROTTLE
|
||||
ELM_POLICY_LAST
|
||||
|
||||
ctypedef enum Elm_Policy_Quit:
|
||||
ELM_POLICY_QUIT_NONE
|
||||
ELM_POLICY_QUIT_LAST_WINDOW_CLOSED
|
||||
ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN
|
||||
|
||||
ctypedef enum Elm_Policy_Exit:
|
||||
ELM_POLICY_EXIT_NONE
|
||||
ELM_POLICY_EXIT_WINDOWS_DEL
|
||||
|
||||
ctypedef enum Elm_Policy_Throttle:
|
||||
ELM_POLICY_THROTTLE_CONFIG
|
||||
ELM_POLICY_THROTTLE_HIDDEN_ALWAYS
|
||||
ELM_POLICY_THROTTLE_NEVER
|
||||
|
||||
ctypedef enum Elm_Sys_Notify_Urgency:
|
||||
ELM_SYS_NOTIFY_URGENCY_LOW
|
||||
ELM_SYS_NOTIFY_URGENCY_NORMAL
|
||||
ELM_SYS_NOTIFY_URGENCY_CRITICAL
|
||||
|
||||
ctypedef enum Elm_Glob_Match_Flags:
|
||||
ELM_GLOB_MATCH_NO_ESCAPE
|
||||
ELM_GLOB_MATCH_PATH
|
||||
ELM_GLOB_MATCH_PERIOD
|
||||
ELM_GLOB_MATCH_NOCASE
|
||||
|
||||
ctypedef enum Elm_Process_State:
|
||||
ELM_PROCESS_STATE_FOREGROUND
|
||||
ELM_PROCESS_STATE_BACKGROUND
|
||||
|
||||
ctypedef enum Elm_Sys_Notify_Urgency:
|
||||
ELM_SYS_NOTIFY_URGENCY_LOW
|
||||
ELM_SYS_NOTIFY_URGENCY_NORMAL
|
||||
ELM_SYS_NOTIFY_URGENCY_CRITICAL
|
||||
|
||||
# actionslider
|
||||
ctypedef enum Elm_Actionslider_Pos:
|
||||
ELM_ACTIONSLIDER_NONE
|
||||
ELM_ACTIONSLIDER_LEFT
|
||||
ELM_ACTIONSLIDER_CENTER
|
||||
ELM_ACTIONSLIDER_RIGHT
|
||||
ELM_ACTIONSLIDER_ALL
|
||||
|
||||
# background
|
||||
ctypedef enum Elm_Bg_Option:
|
||||
ELM_BG_OPTION_CENTER
|
||||
ELM_BG_OPTION_SCALE
|
||||
ELM_BG_OPTION_STRETCH
|
||||
ELM_BG_OPTION_TILE
|
||||
ELM_BG_OPTION_LAST
|
||||
|
||||
# bubble
|
||||
ctypedef enum Elm_Bubble_Pos:
|
||||
ELM_BUBBLE_POS_TOP_LEFT
|
||||
ELM_BUBBLE_POS_TOP_RIGHT
|
||||
ELM_BUBBLE_POS_BOTTOM_LEFT
|
||||
ELM_BUBBLE_POS_BOTTOM_RIGHT
|
||||
|
||||
# calendar
|
||||
ctypedef enum Elm_Calendar_Mark_Repeat_Type:
|
||||
ELM_CALENDAR_UNIQUE
|
||||
ELM_CALENDAR_DAILY
|
||||
ELM_CALENDAR_WEEKLY
|
||||
ELM_CALENDAR_MONTHLY
|
||||
ELM_CALENDAR_ANNUALLY
|
||||
ELM_CALENDAR_LAST_DAY_OF_MONTH
|
||||
|
||||
ctypedef enum Elm_Calendar_Select_Mode:
|
||||
ELM_CALENDAR_SELECT_MODE_DEFAULT
|
||||
ELM_CALENDAR_SELECT_MODE_ALWAYS
|
||||
ELM_CALENDAR_SELECT_MODE_NONE
|
||||
ELM_CALENDAR_SELECT_MODE_ONDEMAND
|
||||
|
||||
ctypedef enum Elm_Calendar_Selectable:
|
||||
ELM_CALENDAR_SELECTABLE_NONE
|
||||
ELM_CALENDAR_SELECTABLE_YEAR
|
||||
ELM_CALENDAR_SELECTABLE_MONTH
|
||||
ELM_CALENDAR_SELECTABLE_DAY
|
||||
|
||||
ctypedef enum Elm_Calendar_Weekday:
|
||||
ELM_DAY_SUNDAY
|
||||
ELM_DAY_MONDAY
|
||||
ELM_DAY_TUESDAY
|
||||
ELM_DAY_WEDNESDAY
|
||||
ELM_DAY_THURSDAY
|
||||
ELM_DAY_FRIDAY
|
||||
ELM_DAY_SATURDAY
|
||||
ELM_DAY_LAST
|
||||
|
||||
# clock
|
||||
ctypedef enum Elm_Clock_Edit_Mode:
|
||||
ELM_CLOCK_EDIT_DEFAULT
|
||||
ELM_CLOCK_EDIT_HOUR_DECIMAL
|
||||
ELM_CLOCK_EDIT_HOUR_UNIT
|
||||
ELM_CLOCK_EDIT_MIN_DECIMAL
|
||||
ELM_CLOCK_EDIT_MIN_UNIT
|
||||
ELM_CLOCK_EDIT_SEC_DECIMAL
|
||||
ELM_CLOCK_EDIT_SEC_UNIT
|
||||
ELM_CLOCK_EDIT_ALL
|
||||
|
||||
# colorselector
|
||||
ctypedef enum Elm_Colorselector_Mode:
|
||||
ELM_COLORSELECTOR_PALETTE
|
||||
ELM_COLORSELECTOR_COMPONENTS
|
||||
ELM_COLORSELECTOR_BOTH
|
||||
|
||||
# configuration
|
||||
ctypedef enum Elm_Softcursor_Mode:
|
||||
ELM_SOFTCURSOR_MODE_AUTO
|
||||
ELM_SOFTCURSOR_MODE_ON
|
||||
ELM_SOFTCURSOR_MODE_OFF
|
||||
|
||||
ctypedef enum Elm_Slider_Indicator_Visible_Mode:
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE
|
||||
|
||||
# ctxpopup
|
||||
ctypedef enum Elm_Ctxpopup_Direction:
|
||||
ELM_CTXPOPUP_DIRECTION_DOWN
|
||||
ELM_CTXPOPUP_DIRECTION_RIGHT
|
||||
ELM_CTXPOPUP_DIRECTION_LEFT
|
||||
ELM_CTXPOPUP_DIRECTION_UP
|
||||
ELM_CTXPOPUP_DIRECTION_UNKNOWN
|
||||
|
||||
# datetime
|
||||
ctypedef enum Elm_Datetime_Field_Type:
|
||||
ELM_DATETIME_YEAR
|
||||
ELM_DATETIME_MONTH
|
||||
ELM_DATETIME_DATE
|
||||
ELM_DATETIME_HOUR
|
||||
ELM_DATETIME_MINUTE
|
||||
ELM_DATETIME_AMPM
|
||||
|
||||
# dayselector
|
||||
ctypedef enum Elm_Dayselector_Day:
|
||||
ELM_DAYSELECTOR_SUN
|
||||
ELM_DAYSELECTOR_MON
|
||||
ELM_DAYSELECTOR_TUE
|
||||
ELM_DAYSELECTOR_WED
|
||||
ELM_DAYSELECTOR_THU
|
||||
ELM_DAYSELECTOR_FRI
|
||||
ELM_DAYSELECTOR_SAT
|
||||
ELM_DAYSELECTOR_MAX
|
||||
|
||||
# entry
|
||||
ctypedef enum Elm_Autocapital_Type:
|
||||
ELM_AUTOCAPITAL_TYPE_NONE
|
||||
ELM_AUTOCAPITAL_TYPE_WORD
|
||||
ELM_AUTOCAPITAL_TYPE_SENTENCE
|
||||
ELM_AUTOCAPITAL_TYPE_ALLCHARACTER
|
||||
|
||||
ctypedef enum Elm_Cnp_Mode:
|
||||
ELM_CNP_MODE_MARKUP
|
||||
ELM_CNP_MODE_NO_IMAGE
|
||||
ELM_CNP_MODE_PLAINTEXT
|
||||
|
||||
ctypedef enum Elm_Input_Hints:
|
||||
ELM_INPUT_HINT_NONE
|
||||
ELM_INPUT_HINT_AUTO_COMPLETE
|
||||
ELM_INPUT_HINT_SENSITIVE_DATA
|
||||
|
||||
ctypedef enum Elm_Input_Panel_Lang:
|
||||
ELM_INPUT_PANEL_LANG_AUTOMATIC
|
||||
ELM_INPUT_PANEL_LANG_ALPHABET
|
||||
|
||||
ctypedef enum Elm_Input_Panel_Layout:
|
||||
ELM_INPUT_PANEL_LAYOUT_NORMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBER
|
||||
ELM_INPUT_PANEL_LAYOUT_EMAIL
|
||||
ELM_INPUT_PANEL_LAYOUT_URL
|
||||
ELM_INPUT_PANEL_LAYOUT_PHONENUMBER
|
||||
ELM_INPUT_PANEL_LAYOUT_IP
|
||||
ELM_INPUT_PANEL_LAYOUT_MONTH
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY
|
||||
ELM_INPUT_PANEL_LAYOUT_INVALID
|
||||
ELM_INPUT_PANEL_LAYOUT_HEX
|
||||
ELM_INPUT_PANEL_LAYOUT_TERMINAL
|
||||
ELM_INPUT_PANEL_LAYOUT_PASSWORD
|
||||
ELM_INPUT_PANEL_LAYOUT_DATETIME
|
||||
ELM_INPUT_PANEL_LAYOUT_EMOTICON
|
||||
|
||||
cdef enum:
|
||||
ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_NORMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_FILENAME
|
||||
ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_PERSON_NAME
|
||||
|
||||
cdef enum:
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_NORMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_DECIMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED_AND_DECIMAL
|
||||
|
||||
cdef enum:
|
||||
ELM_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NORMAL
|
||||
ELM_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NUMBERONLY
|
||||
|
||||
ctypedef enum Elm_Input_Panel_Return_Key_Type:
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_DONE
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_GO
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_JOIN
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_LOGIN
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_NEXT
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEARCH
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEND
|
||||
ELM_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN
|
||||
|
||||
ctypedef enum Elm_Text_Format:
|
||||
ELM_TEXT_FORMAT_PLAIN_UTF8
|
||||
ELM_TEXT_FORMAT_MARKUP_UTF8
|
||||
|
||||
ctypedef enum Elm_Wrap_Type:
|
||||
ELM_WRAP_NONE
|
||||
ELM_WRAP_CHAR
|
||||
ELM_WRAP_WORD
|
||||
ELM_WRAP_MIXED
|
||||
|
||||
# fileselector
|
||||
ctypedef enum Elm_Fileselector_Mode:
|
||||
ELM_FILESELECTOR_LIST
|
||||
ELM_FILESELECTOR_GRID
|
||||
|
||||
ctypedef enum Elm_Fileselector_Sort:
|
||||
ELM_FILESELECTOR_SORT_BY_FILENAME_ASC
|
||||
ELM_FILESELECTOR_SORT_BY_FILENAME_DESC
|
||||
ELM_FILESELECTOR_SORT_BY_TYPE_ASC
|
||||
ELM_FILESELECTOR_SORT_BY_TYPE_DESC
|
||||
ELM_FILESELECTOR_SORT_BY_SIZE_ASC
|
||||
ELM_FILESELECTOR_SORT_BY_SIZE_DESC
|
||||
ELM_FILESELECTOR_SORT_BY_MODIFIED_ASC
|
||||
ELM_FILESELECTOR_SORT_BY_MODIFIED_DESC
|
||||
ELM_FILESELECTOR_SORT_LAST
|
||||
|
||||
# flip
|
||||
ctypedef enum Elm_Flip_Direction:
|
||||
ELM_FLIP_DIRECTION_UP
|
||||
ELM_FLIP_DIRECTION_DOWN
|
||||
ELM_FLIP_DIRECTION_LEFT
|
||||
ELM_FLIP_DIRECTION_RIGHT
|
||||
|
||||
ctypedef enum Elm_Flip_Interaction:
|
||||
ELM_FLIP_INTERACTION_NONE
|
||||
ELM_FLIP_INTERACTION_ROTATE
|
||||
ELM_FLIP_INTERACTION_CUBE
|
||||
ELM_FLIP_INTERACTION_PAGE
|
||||
|
||||
ctypedef enum Elm_Flip_Mode:
|
||||
ELM_FLIP_ROTATE_Y_CENTER_AXIS
|
||||
ELM_FLIP_ROTATE_X_CENTER_AXIS
|
||||
ELM_FLIP_ROTATE_XZ_CENTER_AXIS
|
||||
ELM_FLIP_ROTATE_YZ_CENTER_AXIS
|
||||
ELM_FLIP_CUBE_LEFT
|
||||
ELM_FLIP_CUBE_RIGHT
|
||||
ELM_FLIP_CUBE_UP
|
||||
ELM_FLIP_CUBE_DOWN
|
||||
ELM_FLIP_PAGE_LEFT
|
||||
ELM_FLIP_PAGE_RIGHT
|
||||
ELM_FLIP_PAGE_UP
|
||||
ELM_FLIP_PAGE_DOWN
|
||||
|
||||
# gengrid
|
||||
ctypedef enum Elm_Gengrid_Item_Scrollto_Type:
|
||||
ELM_GENGRID_ITEM_SCROLLTO_NONE
|
||||
ELM_GENGRID_ITEM_SCROLLTO_IN
|
||||
ELM_GENGRID_ITEM_SCROLLTO_TOP
|
||||
ELM_GENGRID_ITEM_SCROLLTO_MIDDLE
|
||||
ELM_GENGRID_ITEM_SCROLLTO_BOTTOM
|
||||
|
||||
ctypedef enum Elm_Gengrid_Reorder_Type:
|
||||
ELM_GENGRID_REORDER_TYPE_NORMAL
|
||||
ELM_GENGRID_REORDER_TYPE_SWAP
|
||||
|
||||
# genlist
|
||||
ctypedef enum Elm_Genlist_Item_Type:
|
||||
ELM_GENLIST_ITEM_NONE
|
||||
ELM_GENLIST_ITEM_TREE
|
||||
ELM_GENLIST_ITEM_GROUP
|
||||
ELM_GENLIST_ITEM_MAX
|
||||
|
||||
ctypedef enum Elm_Genlist_Item_Field_Type:
|
||||
ELM_GENLIST_ITEM_FIELD_ALL
|
||||
ELM_GENLIST_ITEM_FIELD_TEXT
|
||||
ELM_GENLIST_ITEM_FIELD_CONTENT
|
||||
ELM_GENLIST_ITEM_FIELD_STATE
|
||||
|
||||
ctypedef enum Elm_Genlist_Item_Scrollto_Type:
|
||||
ELM_GENLIST_ITEM_SCROLLTO_NONE
|
||||
ELM_GENLIST_ITEM_SCROLLTO_IN
|
||||
ELM_GENLIST_ITEM_SCROLLTO_TOP
|
||||
ELM_GENLIST_ITEM_SCROLLTO_MIDDLE
|
||||
ELM_GENLIST_ITEM_SCROLLTO_BOTTOM
|
||||
|
||||
# gesture_layer
|
||||
ctypedef enum Elm_Gesture_State:
|
||||
ELM_GESTURE_STATE_UNDEFINED
|
||||
ELM_GESTURE_STATE_START
|
||||
ELM_GESTURE_STATE_MOVE
|
||||
ELM_GESTURE_STATE_END
|
||||
ELM_GESTURE_STATE_ABORT
|
||||
|
||||
ctypedef enum Elm_Gesture_Type:
|
||||
ELM_GESTURE_FIRST
|
||||
ELM_GESTURE_N_TAPS
|
||||
ELM_GESTURE_N_LONG_TAPS
|
||||
ELM_GESTURE_N_DOUBLE_TAPS
|
||||
ELM_GESTURE_N_TRIPLE_TAPS
|
||||
ELM_GESTURE_MOMENTUM
|
||||
ELM_GESTURE_N_LINES
|
||||
ELM_GESTURE_N_FLICKS
|
||||
ELM_GESTURE_ZOOM
|
||||
ELM_GESTURE_ROTATE
|
||||
ELM_GESTURE_LAST
|
||||
|
||||
# hover
|
||||
ctypedef enum Elm_Hover_Axis:
|
||||
ELM_HOVER_AXIS_NONE
|
||||
ELM_HOVER_AXIS_HORIZONTAL
|
||||
ELM_HOVER_AXIS_VERTICAL
|
||||
ELM_HOVER_AXIS_BOTH
|
||||
|
||||
# icon
|
||||
ctypedef enum Elm_Icon_Lookup_Order:
|
||||
ELM_ICON_LOOKUP_FDO_THEME
|
||||
ELM_ICON_LOOKUP_THEME_FDO
|
||||
ELM_ICON_LOOKUP_FDO
|
||||
ELM_ICON_LOOKUP_THEME
|
||||
|
||||
ctypedef enum Elm_Icon_Type:
|
||||
ELM_ICON_NONE
|
||||
ELM_ICON_FILE
|
||||
ELM_ICON_STANDARD
|
||||
|
||||
# image
|
||||
ctypedef enum Elm_Image_Orient:
|
||||
ELM_IMAGE_ORIENT_NONE
|
||||
ELM_IMAGE_ORIENT_0
|
||||
ELM_IMAGE_ROTATE_90
|
||||
ELM_IMAGE_ROTATE_180
|
||||
ELM_IMAGE_ROTATE_270
|
||||
ELM_IMAGE_FLIP_HORIZONTAL
|
||||
ELM_IMAGE_FLIP_VERTICAL
|
||||
ELM_IMAGE_FLIP_TRANSPOSE
|
||||
ELM_IMAGE_FLIP_TRANSVERSE
|
||||
|
||||
# label
|
||||
ctypedef enum Elm_Wrap_Type:
|
||||
ELM_WRAP_NONE
|
||||
ELM_WRAP_CHAR
|
||||
ELM_WRAP_WORD
|
||||
ELM_WRAP_MIXED
|
||||
|
||||
ctypedef enum Elm_Label_Slide_Mode:
|
||||
ELM_LABEL_SLIDE_MODE_NONE
|
||||
ELM_LABEL_SLIDE_MODE_AUTO
|
||||
ELM_LABEL_SLIDE_MODE_ALWAYS
|
||||
|
||||
# list
|
||||
ctypedef enum Elm_List_Mode:
|
||||
ELM_LIST_COMPRESS
|
||||
ELM_LIST_SCROLL
|
||||
ELM_LIST_LIMIT
|
||||
ELM_LIST_EXPAND
|
||||
|
||||
# map
|
||||
ctypedef enum Elm_Map_Overlay_Type:
|
||||
ELM_MAP_OVERLAY_TYPE_NONE
|
||||
ELM_MAP_OVERLAY_TYPE_DEFAULT
|
||||
ELM_MAP_OVERLAY_TYPE_CLASS
|
||||
ELM_MAP_OVERLAY_TYPE_GROUP
|
||||
ELM_MAP_OVERLAY_TYPE_BUBBLE
|
||||
ELM_MAP_OVERLAY_TYPE_ROUTE
|
||||
ELM_MAP_OVERLAY_TYPE_LINE
|
||||
ELM_MAP_OVERLAY_TYPE_POLYGON
|
||||
ELM_MAP_OVERLAY_TYPE_CIRCLE
|
||||
ELM_MAP_OVERLAY_TYPE_SCALE
|
||||
|
||||
ctypedef enum Elm_Map_Route_Method:
|
||||
ELM_MAP_ROUTE_METHOD_FASTEST
|
||||
ELM_MAP_ROUTE_METHOD_SHORTEST
|
||||
ELM_MAP_ROUTE_METHOD_LAST
|
||||
|
||||
ctypedef enum Elm_Map_Route_Type:
|
||||
ELM_MAP_ROUTE_TYPE_MOTOCAR
|
||||
ELM_MAP_ROUTE_TYPE_BICYCLE
|
||||
ELM_MAP_ROUTE_TYPE_FOOT
|
||||
ELM_MAP_ROUTE_TYPE_LAST
|
||||
|
||||
ctypedef enum Elm_Map_Source_Type:
|
||||
ELM_MAP_SOURCE_TYPE_TILE
|
||||
ELM_MAP_SOURCE_TYPE_ROUTE
|
||||
ELM_MAP_SOURCE_TYPE_NAME
|
||||
ELM_MAP_SOURCE_TYPE_LAST
|
||||
|
||||
ctypedef enum Elm_Map_Zoom_Mode:
|
||||
ELM_MAP_ZOOM_MODE_MANUAL
|
||||
ELM_MAP_ZOOM_MODE_AUTO_FIT
|
||||
ELM_MAP_ZOOM_MODE_AUTO_FILL
|
||||
ELM_MAP_ZOOM_MODE_LAST
|
||||
|
||||
# need
|
||||
ctypedef enum Elm_Sys_Notify_Closed_Reason:
|
||||
ELM_SYS_NOTIFY_CLOSED_EXPIRED
|
||||
ELM_SYS_NOTIFY_CLOSED_DISMISSED
|
||||
ELM_SYS_NOTIFY_CLOSED_REQUESTED
|
||||
ELM_SYS_NOTIFY_CLOSED_UNDEFINED
|
||||
|
||||
# notify
|
||||
ctypedef enum Elm_Notify_Orient:
|
||||
ELM_NOTIFY_ORIENT_TOP
|
||||
ELM_NOTIFY_ORIENT_CENTER
|
||||
ELM_NOTIFY_ORIENT_BOTTOM
|
||||
ELM_NOTIFY_ORIENT_LEFT
|
||||
ELM_NOTIFY_ORIENT_RIGHT
|
||||
ELM_NOTIFY_ORIENT_TOP_LEFT
|
||||
ELM_NOTIFY_ORIENT_TOP_RIGHT
|
||||
ELM_NOTIFY_ORIENT_BOTTOM_LEFT
|
||||
ELM_NOTIFY_ORIENT_BOTTOM_RIGHT
|
||||
ELM_NOTIFY_ORIENT_LAST
|
||||
|
||||
# object
|
||||
ctypedef enum Elm_Object_Select_Mode:
|
||||
ELM_OBJECT_SELECT_MODE_DEFAULT
|
||||
ELM_OBJECT_SELECT_MODE_ALWAYS
|
||||
ELM_OBJECT_SELECT_MODE_NONE
|
||||
ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY
|
||||
ELM_OBJECT_SELECT_MODE_MAX
|
||||
|
||||
ctypedef enum Elm_Object_Multi_Select_Mode:
|
||||
ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT
|
||||
ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL
|
||||
ELM_OBJECT_MULTI_SELECT_MODE_MAX
|
||||
|
||||
ctypedef enum Elm_Object_Layer:
|
||||
ELM_OBJECT_LAYER_BACKGROUND # where to place backgrounds
|
||||
ELM_OBJECT_LAYER_DEFAULT # Evas_Object default layer (and thus for Elementary)
|
||||
ELM_OBJECT_LAYER_FOCUS # where focus object visualization is
|
||||
ELM_OBJECT_LAYER_TOOLTIP # where to show tooltips
|
||||
ELM_OBJECT_LAYER_CURSOR # where to show cursors
|
||||
ELM_OBJECT_LAYER_LAST # last layer known by Elementary
|
||||
|
||||
# panel
|
||||
ctypedef enum Elm_Panel_Orient:
|
||||
ELM_PANEL_ORIENT_TOP
|
||||
ELM_PANEL_ORIENT_BOTTOM
|
||||
ELM_PANEL_ORIENT_LEFT
|
||||
ELM_PANEL_ORIENT_RIGHT
|
||||
|
||||
# photocam
|
||||
ctypedef enum Elm_Photocam_Zoom_Mode:
|
||||
ELM_PHOTOCAM_ZOOM_MODE_MANUAL
|
||||
ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT
|
||||
ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL
|
||||
ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN
|
||||
ELM_PHOTOCAM_ZOOM_MODE_LAST
|
||||
|
||||
# popup
|
||||
ctypedef enum Elm_Popup_Orient:
|
||||
ELM_POPUP_ORIENT_TOP
|
||||
ELM_POPUP_ORIENT_CENTER
|
||||
ELM_POPUP_ORIENT_BOTTOM
|
||||
ELM_POPUP_ORIENT_LEFT
|
||||
ELM_POPUP_ORIENT_RIGHT
|
||||
ELM_POPUP_ORIENT_TOP_LEFT
|
||||
ELM_POPUP_ORIENT_TOP_RIGHT
|
||||
ELM_POPUP_ORIENT_BOTTOM_LEFT
|
||||
ELM_POPUP_ORIENT_BOTTOM_RIGHT
|
||||
ELM_POPUP_ORIENT_LAST
|
||||
|
||||
# scroller
|
||||
ctypedef enum Elm_Scroller_Policy:
|
||||
ELM_SCROLLER_POLICY_AUTO
|
||||
ELM_SCROLLER_POLICY_ON
|
||||
ELM_SCROLLER_POLICY_OFF
|
||||
|
||||
ctypedef enum Elm_Scroller_Single_Direction:
|
||||
ELM_SCROLLER_SINGLE_DIRECTION_NONE
|
||||
ELM_SCROLLER_SINGLE_DIRECTION_SOFT
|
||||
ELM_SCROLLER_SINGLE_DIRECTION_HARD
|
||||
ELM_SCROLLER_SINGLE_DIRECTION_LAST
|
||||
|
||||
ctypedef enum Elm_Scroller_Movement_Block:
|
||||
ELM_SCROLLER_MOVEMENT_NO_BLOCK
|
||||
ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL
|
||||
ELM_SCROLLER_MOVEMENT_BLOCK_HORIZONTAL
|
||||
|
||||
# slider
|
||||
ctypedef enum Elm_Slider_Indicator_Visible_Mode:
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS
|
||||
ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE
|
||||
|
||||
# systray
|
||||
ctypedef enum:
|
||||
ELM_EVENT_SYSTRAY_READY
|
||||
|
||||
ctypedef enum Elm_Systray_Category:
|
||||
ELM_SYSTRAY_CATEGORY_APP_STATUS
|
||||
ELM_SYSTRAY_CATEGORY_COMMUNICATIONS
|
||||
ELM_SYSTRAY_CATEGORY_SYS_SERVICES
|
||||
ELM_SYSTRAY_CATEGORY_HARDWARE
|
||||
ELM_SYSTRAY_CATEGORY_OTHER
|
||||
|
||||
ctypedef enum Elm_Systray_Status:
|
||||
ELM_SYSTRAY_STATUS_PASSIVE
|
||||
ELM_SYSTRAY_STATUS_ACTIVE
|
||||
ELM_SYSTRAY_STATUS_ATTENTION
|
||||
|
||||
# thumb
|
||||
ctypedef enum Elm_Thumb_Animation_Setting:
|
||||
ELM_THUMB_ANIMATION_START
|
||||
ELM_THUMB_ANIMATION_LOOP
|
||||
ELM_THUMB_ANIMATION_STOP
|
||||
ELM_THUMB_ANIMATION_LAST
|
||||
|
||||
ctypedef enum Ethumb_Thumb_FDO_Size:
|
||||
ETHUMB_THUMB_NORMAL
|
||||
ETHUMB_THUMB_LARGE
|
||||
|
||||
ctypedef enum Ethumb_Thumb_Format:
|
||||
ETHUMB_THUMB_FDO
|
||||
ETHUMB_THUMB_JPEG
|
||||
ETHUMB_THUMB_EET
|
||||
|
||||
ctypedef enum Ethumb_Thumb_Aspect:
|
||||
ETHUMB_THUMB_KEEP_ASPECT
|
||||
ETHUMB_THUMB_IGNORE_ASPECT
|
||||
ETHUMB_THUMB_CROP
|
||||
|
||||
ctypedef enum Ethumb_Thumb_Orientation:
|
||||
ETHUMB_THUMB_ORIENT_NONE
|
||||
ETHUMB_THUMB_ROTATE_90_CW
|
||||
ETHUMB_THUMB_ROTATE_180
|
||||
ETHUMB_THUMB_ROTATE_90_CCW
|
||||
ETHUMB_THUMB_FLIP_HORIZONTAL
|
||||
ETHUMB_THUMB_FLIP_VERTICAL
|
||||
ETHUMB_THUMB_FLIP_TRANSPOSE
|
||||
ETHUMB_THUMB_FLIP_TRANSVERSE
|
||||
ETHUMB_THUMB_ORIENT_ORIGINAL
|
||||
|
||||
# toolbar
|
||||
ctypedef enum Elm_Toolbar_Item_Scrollto_Type:
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_NONE
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_IN
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_FIRST
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_MIDDLE
|
||||
ELM_TOOLBAR_ITEM_SCROLLTO_LAST
|
||||
|
||||
ctypedef enum Elm_Toolbar_Shrink_Mode:
|
||||
ELM_TOOLBAR_SHRINK_NONE
|
||||
ELM_TOOLBAR_SHRINK_HIDE
|
||||
ELM_TOOLBAR_SHRINK_SCROLL
|
||||
ELM_TOOLBAR_SHRINK_MENU
|
||||
ELM_TOOLBAR_SHRINK_EXPAND
|
||||
ELM_TOOLBAR_SHRINK_LAST
|
||||
|
||||
# transit
|
||||
ctypedef enum Elm_Transit_Effect_Flip_Axis:
|
||||
ELM_TRANSIT_EFFECT_FLIP_AXIS_X
|
||||
ELM_TRANSIT_EFFECT_FLIP_AXIS_Y
|
||||
|
||||
ctypedef enum Elm_Transit_Effect_Wipe_Dir:
|
||||
ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT
|
||||
ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT
|
||||
ELM_TRANSIT_EFFECT_WIPE_DIR_UP
|
||||
ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN
|
||||
|
||||
ctypedef enum Elm_Transit_Effect_Wipe_Type:
|
||||
ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE
|
||||
ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW
|
||||
|
||||
ctypedef enum Elm_Transit_Tween_Mode:
|
||||
ELM_TRANSIT_TWEEN_MODE_LINEAR
|
||||
ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL
|
||||
ELM_TRANSIT_TWEEN_MODE_DECELERATE
|
||||
ELM_TRANSIT_TWEEN_MODE_ACCELERATE
|
||||
ELM_TRANSIT_TWEEN_MODE_DIVISOR_INTERP
|
||||
ELM_TRANSIT_TWEEN_MODE_BOUNCE
|
||||
ELM_TRANSIT_TWEEN_MODE_SPRING
|
||||
ELM_TRANSIT_TWEEN_MODE_BEZIER_CURVE
|
||||
|
||||
# web
|
||||
ctypedef enum Elm_Web_Window_Feature_Flag:
|
||||
ELM_WEB_WINDOW_FEATURE_TOOLBAR
|
||||
ELM_WEB_WINDOW_FEATURE_STATUSBAR
|
||||
ELM_WEB_WINDOW_FEATURE_SCROLLBARS
|
||||
ELM_WEB_WINDOW_FEATURE_MENUBAR
|
||||
ELM_WEB_WINDOW_FEATURE_LOCATIONBAR
|
||||
ELM_WEB_WINDOW_FEATURE_FULLSCREEN
|
||||
|
||||
ctypedef enum Elm_Web_Zoom_Mode:
|
||||
ELM_WEB_ZOOM_MODE_MANUAL
|
||||
ELM_WEB_ZOOM_MODE_AUTO_FIT
|
||||
ELM_WEB_ZOOM_MODE_AUTO_FILL
|
||||
|
||||
# window
|
||||
ctypedef enum Elm_Win_Type:
|
||||
ELM_WIN_UNKNOWN
|
||||
ELM_WIN_BASIC
|
||||
ELM_WIN_DIALOG_BASIC
|
||||
ELM_WIN_DESKTOP
|
||||
ELM_WIN_DOCK
|
||||
ELM_WIN_TOOLBAR
|
||||
ELM_WIN_MENU
|
||||
ELM_WIN_UTILITY
|
||||
ELM_WIN_SPLASH
|
||||
ELM_WIN_DROPDOWN_MENU
|
||||
ELM_WIN_POPUP_MENU
|
||||
ELM_WIN_TOOLTIP
|
||||
ELM_WIN_NOTIFICATION
|
||||
ELM_WIN_COMBO
|
||||
ELM_WIN_DND
|
||||
ELM_WIN_INLINED_IMAGE
|
||||
ELM_WIN_SOCKET_IMAGE
|
||||
|
||||
ctypedef enum Elm_Win_Indicator_Mode:
|
||||
ELM_WIN_INDICATOR_UNKNOWN
|
||||
ELM_WIN_INDICATOR_HIDE
|
||||
ELM_WIN_INDICATOR_SHOW
|
||||
|
||||
ctypedef enum Elm_Win_Indicator_Opacity_Mode:
|
||||
ELM_WIN_INDICATOR_OPACITY_UNKNOWN
|
||||
ELM_WIN_INDICATOR_OPAQUE
|
||||
ELM_WIN_INDICATOR_TRANSLUCENT
|
||||
ELM_WIN_INDICATOR_TRANSPARENT
|
||||
|
||||
ctypedef enum Elm_Win_Keyboard_Mode:
|
||||
ELM_WIN_KEYBOARD_UNKNOWN
|
||||
ELM_WIN_KEYBOARD_OFF
|
||||
ELM_WIN_KEYBOARD_ON
|
||||
ELM_WIN_KEYBOARD_ALPHA
|
||||
ELM_WIN_KEYBOARD_NUMERIC
|
||||
ELM_WIN_KEYBOARD_PIN
|
||||
ELM_WIN_KEYBOARD_PHONE_NUMBER
|
||||
ELM_WIN_KEYBOARD_HEX
|
||||
ELM_WIN_KEYBOARD_TERMINAL
|
||||
ELM_WIN_KEYBOARD_PASSWORD
|
||||
ELM_WIN_KEYBOARD_IP
|
||||
ELM_WIN_KEYBOARD_HOST
|
||||
ELM_WIN_KEYBOARD_FILE
|
||||
ELM_WIN_KEYBOARD_URL
|
||||
ELM_WIN_KEYBOARD_KEYPAD
|
||||
ELM_WIN_KEYBOARD_J2ME
|
||||
|
||||
ctypedef enum Elm_Illume_Command:
|
||||
ELM_ILLUME_COMMAND_FOCUS_BACK
|
||||
ELM_ILLUME_COMMAND_FOCUS_FORWARD
|
||||
ELM_ILLUME_COMMAND_FOCUS_HOME
|
||||
ELM_ILLUME_COMMAND_CLOSE
|
|
@ -0,0 +1,86 @@
|
|||
cdef extern from "Emotion.h":
|
||||
####################################################################
|
||||
# Define
|
||||
#
|
||||
cdef enum:
|
||||
EMOTION_CHANNEL_AUTO
|
||||
EMOTION_CHANNEL_DEFAULT
|
||||
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
ctypedef enum Emotion_Event:
|
||||
EMOTION_EVENT_MENU1
|
||||
EMOTION_EVENT_MENU2
|
||||
EMOTION_EVENT_MENU3
|
||||
EMOTION_EVENT_MENU4
|
||||
EMOTION_EVENT_MENU5
|
||||
EMOTION_EVENT_MENU6
|
||||
EMOTION_EVENT_MENU7
|
||||
EMOTION_EVENT_UP
|
||||
EMOTION_EVENT_DOWN
|
||||
EMOTION_EVENT_LEFT
|
||||
EMOTION_EVENT_RIGHT
|
||||
EMOTION_EVENT_SELECT
|
||||
EMOTION_EVENT_NEXT
|
||||
EMOTION_EVENT_PREV
|
||||
EMOTION_EVENT_ANGLE_NEXT
|
||||
EMOTION_EVENT_ANGLE_PREV
|
||||
EMOTION_EVENT_FORCE
|
||||
EMOTION_EVENT_0
|
||||
EMOTION_EVENT_1
|
||||
EMOTION_EVENT_2
|
||||
EMOTION_EVENT_3
|
||||
EMOTION_EVENT_4
|
||||
EMOTION_EVENT_5
|
||||
EMOTION_EVENT_6
|
||||
EMOTION_EVENT_7
|
||||
EMOTION_EVENT_8
|
||||
EMOTION_EVENT_9
|
||||
EMOTION_EVENT_10
|
||||
|
||||
ctypedef enum Emotion_Meta_Info:
|
||||
EMOTION_META_INFO_TRACK_TITLE
|
||||
EMOTION_META_INFO_TRACK_ARTIST
|
||||
EMOTION_META_INFO_TRACK_ALBUM
|
||||
EMOTION_META_INFO_TRACK_YEAR
|
||||
EMOTION_META_INFO_TRACK_GENRE
|
||||
EMOTION_META_INFO_TRACK_COMMENT
|
||||
EMOTION_META_INFO_TRACK_DISC_ID
|
||||
EMOTION_META_INFO_TRACK_COUNT
|
||||
|
||||
ctypedef enum Emotion_Aspect:
|
||||
EMOTION_ASPECT_KEEP_NONE
|
||||
EMOTION_ASPECT_KEEP_WIDTH
|
||||
EMOTION_ASPECT_KEEP_HEIGHT
|
||||
EMOTION_ASPECT_KEEP_BOTH
|
||||
EMOTION_ASPECT_CROP
|
||||
EMOTION_ASPECT_CUSTOM
|
||||
|
||||
ctypedef enum Emotion_Suspend:
|
||||
EMOTION_WAKEUP
|
||||
EMOTION_SLEEP
|
||||
EMOTION_DEEP_SLEEP
|
||||
EMOTION_HIBERNATE
|
||||
|
||||
ctypedef enum Emotion_Vis:
|
||||
EMOTION_VIS_NONE
|
||||
EMOTION_VIS_GOOM
|
||||
EMOTION_VIS_LIBVISUAL_BUMPSCOPE
|
||||
EMOTION_VIS_LIBVISUAL_CORONA
|
||||
EMOTION_VIS_LIBVISUAL_DANCING_PARTICLES
|
||||
EMOTION_VIS_LIBVISUAL_GDKPIXBUF
|
||||
EMOTION_VIS_LIBVISUAL_G_FORCE
|
||||
EMOTION_VIS_LIBVISUAL_GOOM
|
||||
EMOTION_VIS_LIBVISUAL_INFINITE
|
||||
EMOTION_VIS_LIBVISUAL_JAKDAW
|
||||
EMOTION_VIS_LIBVISUAL_JESS
|
||||
EMOTION_VIS_LIBVISUAL_LV_ANALYSER
|
||||
EMOTION_VIS_LIBVISUAL_LV_FLOWER
|
||||
EMOTION_VIS_LIBVISUAL_LV_GLTEST
|
||||
EMOTION_VIS_LIBVISUAL_LV_SCOPE
|
||||
EMOTION_VIS_LIBVISUAL_MADSPIN
|
||||
EMOTION_VIS_LIBVISUAL_NEBULUS
|
||||
EMOTION_VIS_LIBVISUAL_OINKSIE
|
||||
EMOTION_VIS_LIBVISUAL_PLASMA
|
||||
EMOTION_VIS_LAST
|
|
@ -19,104 +19,11 @@ from efl.eina cimport Eina_Bool, Eina_List
|
|||
from efl.evas cimport Evas, Evas_Object
|
||||
from efl.evas cimport Object as evasObject
|
||||
|
||||
from efl.emotion.enums cimport Emotion_Event, Emotion_Meta_Info, \
|
||||
Emotion_Aspect, Emotion_Suspend, Emotion_Vis
|
||||
|
||||
cdef extern from "Emotion.h":
|
||||
|
||||
####################################################################
|
||||
# Define
|
||||
#
|
||||
cpdef enum:
|
||||
EMOTION_CHANNEL_AUTO
|
||||
EMOTION_CHANNEL_DEFAULT
|
||||
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
cpdef enum Emotion_Event:
|
||||
EMOTION_EVENT_MENU1
|
||||
EMOTION_EVENT_MENU2
|
||||
EMOTION_EVENT_MENU3
|
||||
EMOTION_EVENT_MENU4
|
||||
EMOTION_EVENT_MENU5
|
||||
EMOTION_EVENT_MENU6
|
||||
EMOTION_EVENT_MENU7
|
||||
EMOTION_EVENT_UP
|
||||
EMOTION_EVENT_DOWN
|
||||
EMOTION_EVENT_LEFT
|
||||
EMOTION_EVENT_RIGHT
|
||||
EMOTION_EVENT_SELECT
|
||||
EMOTION_EVENT_NEXT
|
||||
EMOTION_EVENT_PREV
|
||||
EMOTION_EVENT_ANGLE_NEXT
|
||||
EMOTION_EVENT_ANGLE_PREV
|
||||
EMOTION_EVENT_FORCE
|
||||
EMOTION_EVENT_0
|
||||
EMOTION_EVENT_1
|
||||
EMOTION_EVENT_2
|
||||
EMOTION_EVENT_3
|
||||
EMOTION_EVENT_4
|
||||
EMOTION_EVENT_5
|
||||
EMOTION_EVENT_6
|
||||
EMOTION_EVENT_7
|
||||
EMOTION_EVENT_8
|
||||
EMOTION_EVENT_9
|
||||
EMOTION_EVENT_10
|
||||
ctypedef enum Emotion_Event:
|
||||
pass
|
||||
|
||||
cpdef enum Emotion_Meta_Info:
|
||||
EMOTION_META_INFO_TRACK_TITLE
|
||||
EMOTION_META_INFO_TRACK_ARTIST
|
||||
EMOTION_META_INFO_TRACK_ALBUM
|
||||
EMOTION_META_INFO_TRACK_YEAR
|
||||
EMOTION_META_INFO_TRACK_GENRE
|
||||
EMOTION_META_INFO_TRACK_COMMENT
|
||||
EMOTION_META_INFO_TRACK_DISC_ID
|
||||
EMOTION_META_INFO_TRACK_COUNT
|
||||
ctypedef enum Emotion_Meta_Info:
|
||||
pass
|
||||
|
||||
cpdef enum Emotion_Aspect:
|
||||
EMOTION_ASPECT_KEEP_NONE
|
||||
EMOTION_ASPECT_KEEP_WIDTH
|
||||
EMOTION_ASPECT_KEEP_HEIGHT
|
||||
EMOTION_ASPECT_KEEP_BOTH
|
||||
EMOTION_ASPECT_CROP
|
||||
EMOTION_ASPECT_CUSTOM
|
||||
ctypedef enum Emotion_Aspect:
|
||||
pass
|
||||
|
||||
cpdef enum Emotion_Suspend:
|
||||
EMOTION_WAKEUP
|
||||
EMOTION_SLEEP
|
||||
EMOTION_DEEP_SLEEP
|
||||
EMOTION_HIBERNATE
|
||||
ctypedef enum Emotion_Suspend:
|
||||
pass
|
||||
|
||||
cpdef enum Emotion_Vis:
|
||||
EMOTION_VIS_NONE
|
||||
EMOTION_VIS_GOOM
|
||||
EMOTION_VIS_LIBVISUAL_BUMPSCOPE
|
||||
EMOTION_VIS_LIBVISUAL_CORONA
|
||||
EMOTION_VIS_LIBVISUAL_DANCING_PARTICLES
|
||||
EMOTION_VIS_LIBVISUAL_GDKPIXBUF
|
||||
EMOTION_VIS_LIBVISUAL_G_FORCE
|
||||
EMOTION_VIS_LIBVISUAL_GOOM
|
||||
EMOTION_VIS_LIBVISUAL_INFINITE
|
||||
EMOTION_VIS_LIBVISUAL_JAKDAW
|
||||
EMOTION_VIS_LIBVISUAL_JESS
|
||||
EMOTION_VIS_LIBVISUAL_LV_ANALYSER
|
||||
EMOTION_VIS_LIBVISUAL_LV_FLOWER
|
||||
EMOTION_VIS_LIBVISUAL_LV_GLTEST
|
||||
EMOTION_VIS_LIBVISUAL_LV_SCOPE
|
||||
EMOTION_VIS_LIBVISUAL_MADSPIN
|
||||
EMOTION_VIS_LIBVISUAL_NEBULUS
|
||||
EMOTION_VIS_LIBVISUAL_OINKSIE
|
||||
EMOTION_VIS_LIBVISUAL_PLASMA
|
||||
EMOTION_VIS_LAST
|
||||
ctypedef enum Emotion_Vis:
|
||||
pass
|
||||
|
||||
####################################################################
|
||||
# Structs
|
||||
#
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
cdef extern from "Ethumb.h":
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
|
||||
ctypedef enum Ethumb_Thumb_Orientation:
|
||||
ETHUMB_THUMB_ORIENT_NONE
|
||||
ETHUMB_THUMB_ROTATE_90_CW
|
||||
ETHUMB_THUMB_ROTATE_180
|
||||
ETHUMB_THUMB_ROTATE_90_CCW
|
||||
ETHUMB_THUMB_FLIP_HORIZONTAL
|
||||
ETHUMB_THUMB_FLIP_VERTICAL
|
||||
ETHUMB_THUMB_FLIP_TRANSPOSE
|
||||
ETHUMB_THUMB_FLIP_TRANSVERSE
|
||||
ETHUMB_THUMB_ORIENT_ORIGINAL
|
||||
|
||||
ctypedef enum Ethumb_Thumb_FDO_Size:
|
||||
ETHUMB_THUMB_NORMAL
|
||||
ETHUMB_THUMB_LARGE
|
||||
|
||||
ctypedef enum Ethumb_Thumb_Format:
|
||||
ETHUMB_THUMB_FDO
|
||||
ETHUMB_THUMB_JPEG
|
||||
ETHUMB_THUMB_EET
|
||||
|
||||
ctypedef enum Ethumb_Thumb_Aspect:
|
||||
ETHUMB_THUMB_KEEP_ASPECT
|
||||
ETHUMB_THUMB_IGNORE_ASPECT
|
||||
ETHUMB_THUMB_CROP
|
|
@ -18,33 +18,5 @@
|
|||
|
||||
from efl.c_ethumb cimport Ethumb as cEthumb
|
||||
|
||||
cdef extern from "Ethumb.h":
|
||||
|
||||
cpdef enum Ethumb_Thumb_Orientation:
|
||||
ETHUMB_THUMB_ORIENT_NONE
|
||||
ETHUMB_THUMB_ROTATE_90_CW
|
||||
ETHUMB_THUMB_ROTATE_180
|
||||
ETHUMB_THUMB_ROTATE_90_CCW
|
||||
ETHUMB_THUMB_FLIP_HORIZONTAL
|
||||
ETHUMB_THUMB_FLIP_VERTICAL
|
||||
ETHUMB_THUMB_FLIP_TRANSPOSE
|
||||
ETHUMB_THUMB_FLIP_TRANSVERSE
|
||||
ETHUMB_THUMB_ORIENT_ORIGINAL
|
||||
|
||||
cpdef enum Ethumb_Thumb_FDO_Size:
|
||||
ETHUMB_THUMB_NORMAL
|
||||
ETHUMB_THUMB_LARGE
|
||||
|
||||
cpdef enum Ethumb_Thumb_Format:
|
||||
ETHUMB_THUMB_FDO
|
||||
ETHUMB_THUMB_JPEG
|
||||
ETHUMB_THUMB_EET
|
||||
|
||||
cpdef enum Ethumb_Thumb_Aspect:
|
||||
ETHUMB_THUMB_KEEP_ASPECT
|
||||
ETHUMB_THUMB_IGNORE_ASPECT
|
||||
ETHUMB_THUMB_CROP
|
||||
|
||||
|
||||
cdef class Ethumb:
|
||||
cdef cEthumb *obj
|
||||
|
|
|
@ -17,45 +17,11 @@
|
|||
|
||||
from efl.eina cimport Eina_Bool, Eina_Free_Cb
|
||||
|
||||
from efl.ethumb.enums cimport Ethumb_Thumb_Orientation, \
|
||||
Ethumb_Thumb_FDO_Size, Ethumb_Thumb_Format, Ethumb_Thumb_Aspect
|
||||
|
||||
cdef extern from "Ethumb_Client.h":
|
||||
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
cpdef enum Ethumb_Thumb_Orientation:
|
||||
ETHUMB_THUMB_ORIENT_NONE
|
||||
ETHUMB_THUMB_ROTATE_90_CW
|
||||
ETHUMB_THUMB_ROTATE_180
|
||||
ETHUMB_THUMB_ROTATE_90_CCW
|
||||
ETHUMB_THUMB_FLIP_HORIZONTAL
|
||||
ETHUMB_THUMB_FLIP_VERTICAL
|
||||
ETHUMB_THUMB_FLIP_TRANSPOSE
|
||||
ETHUMB_THUMB_FLIP_TRANSVERSE
|
||||
ETHUMB_THUMB_ORIENT_ORIGINAL
|
||||
ctypedef enum Ethumb_Thumb_Orientation:
|
||||
pass
|
||||
|
||||
cpdef enum Ethumb_Thumb_FDO_Size:
|
||||
ETHUMB_THUMB_NORMAL
|
||||
ETHUMB_THUMB_LARGE
|
||||
ctypedef enum Ethumb_Thumb_FDO_Size:
|
||||
pass
|
||||
|
||||
cpdef enum Ethumb_Thumb_Format:
|
||||
ETHUMB_THUMB_FDO
|
||||
ETHUMB_THUMB_JPEG
|
||||
ETHUMB_THUMB_EET
|
||||
ctypedef enum Ethumb_Thumb_Format:
|
||||
pass
|
||||
|
||||
cpdef enum Ethumb_Thumb_Aspect:
|
||||
ETHUMB_THUMB_KEEP_ASPECT
|
||||
ETHUMB_THUMB_IGNORE_ASPECT
|
||||
ETHUMB_THUMB_CROP
|
||||
ctypedef enum Ethumb_Thumb_Aspect:
|
||||
pass
|
||||
|
||||
####################################################################
|
||||
# Structs
|
||||
#
|
||||
|
|
|
@ -0,0 +1,251 @@
|
|||
cdef extern from "Evas.h":
|
||||
####################################################################
|
||||
# #define (this works only for integer define)
|
||||
#
|
||||
enum:
|
||||
EVAS_LAYER_MIN
|
||||
EVAS_LAYER_MAX
|
||||
|
||||
EVAS_COLOR_SPACE_ARGB
|
||||
EVAS_COLOR_SPACE_AHSV
|
||||
|
||||
EVAS_TEXT_INVALID
|
||||
EVAS_TEXT_SPECIAL
|
||||
|
||||
EVAS_SMART_CLASS_VERSION
|
||||
|
||||
####################################################################
|
||||
# Enums
|
||||
#
|
||||
ctypedef enum Evas_Button_Flags:
|
||||
EVAS_BUTTON_NONE
|
||||
EVAS_BUTTON_DOUBLE_CLICK
|
||||
EVAS_BUTTON_TRIPLE_CLICK
|
||||
|
||||
ctypedef enum Evas_BiDi_Direction:
|
||||
EVAS_BIDI_DIRECTION_NATURAL
|
||||
EVAS_BIDI_DIRECTION_NEUTRAL
|
||||
EVAS_BIDI_DIRECTION_LTR
|
||||
EVAS_BIDI_DIRECTION_RTL
|
||||
EVAS_BIDI_DIRECTION_INHERIT
|
||||
|
||||
ctypedef enum Evas_Callback_Type:
|
||||
EVAS_CALLBACK_MOUSE_IN
|
||||
EVAS_CALLBACK_MOUSE_OUT
|
||||
EVAS_CALLBACK_MOUSE_DOWN
|
||||
EVAS_CALLBACK_MOUSE_UP
|
||||
EVAS_CALLBACK_MOUSE_MOVE
|
||||
EVAS_CALLBACK_MOUSE_WHEEL
|
||||
EVAS_CALLBACK_MULTI_DOWN
|
||||
EVAS_CALLBACK_MULTI_UP
|
||||
EVAS_CALLBACK_MULTI_MOVE
|
||||
EVAS_CALLBACK_FREE
|
||||
EVAS_CALLBACK_KEY_DOWN
|
||||
EVAS_CALLBACK_KEY_UP
|
||||
EVAS_CALLBACK_FOCUS_IN
|
||||
EVAS_CALLBACK_FOCUS_OUT
|
||||
EVAS_CALLBACK_SHOW
|
||||
EVAS_CALLBACK_HIDE
|
||||
EVAS_CALLBACK_MOVE
|
||||
EVAS_CALLBACK_RESIZE
|
||||
EVAS_CALLBACK_RESTACK
|
||||
EVAS_CALLBACK_DEL
|
||||
EVAS_CALLBACK_HOLD
|
||||
EVAS_CALLBACK_CHANGED_SIZE_HINTS
|
||||
EVAS_CALLBACK_IMAGE_PRELOADED
|
||||
EVAS_CALLBACK_CANVAS_FOCUS_IN
|
||||
EVAS_CALLBACK_CANVAS_FOCUS_OUT
|
||||
EVAS_CALLBACK_RENDER_FLUSH_PRE
|
||||
EVAS_CALLBACK_RENDER_FLUSH_POST
|
||||
EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN
|
||||
EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT
|
||||
EVAS_CALLBACK_IMAGE_UNLOADED
|
||||
EVAS_CALLBACK_RENDER_PRE
|
||||
EVAS_CALLBACK_RENDER_POST
|
||||
EVAS_CALLBACK_IMAGE_RESIZE
|
||||
EVAS_CALLBACK_DEVICE_CHANGED
|
||||
EVAS_CALLBACK_AXIS_UPDATE
|
||||
EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE
|
||||
EVAS_CALLBACK_LAST
|
||||
|
||||
ctypedef enum Evas_Event_Flags:
|
||||
EVAS_EVENT_FLAG_NONE
|
||||
EVAS_EVENT_FLAG_ON_HOLD
|
||||
EVAS_EVENT_FLAG_ON_SCROLL
|
||||
|
||||
ctypedef enum Evas_Touch_Point_State:
|
||||
EVAS_TOUCH_POINT_DOWN
|
||||
EVAS_TOUCH_POINT_UP
|
||||
EVAS_TOUCH_POINT_MOVE
|
||||
EVAS_TOUCH_POINT_STILL
|
||||
EVAS_TOUCH_POINT_CANCEL
|
||||
|
||||
ctypedef enum Evas_Font_Hinting_Flags:
|
||||
EVAS_FONT_HINTING_NONE
|
||||
EVAS_FONT_HINTING_AUTO
|
||||
EVAS_FONT_HINTING_BYTECODE
|
||||
|
||||
ctypedef enum Evas_Colorspace:
|
||||
EVAS_COLORSPACE_ARGB8888
|
||||
EVAS_COLORSPACE_YCBCR422P601_PL
|
||||
EVAS_COLORSPACE_YCBCR422P709_PL
|
||||
EVAS_COLORSPACE_RGB565_A5P
|
||||
EVAS_COLORSPACE_GRY8
|
||||
EVAS_COLORSPACE_YCBCR422601_PL
|
||||
EVAS_COLORSPACE_YCBCR420NV12601_PL
|
||||
EVAS_COLORSPACE_YCBCR420TM12601_PL
|
||||
|
||||
ctypedef enum Evas_Object_Table_Homogeneous_Mode:
|
||||
EVAS_OBJECT_TABLE_HOMOGENEOUS_NONE
|
||||
EVAS_OBJECT_TABLE_HOMOGENEOUS_TABLE
|
||||
EVAS_OBJECT_TABLE_HOMOGENEOUS_ITEM
|
||||
|
||||
ctypedef enum Evas_Aspect_Control:
|
||||
EVAS_ASPECT_CONTROL_NONE
|
||||
EVAS_ASPECT_CONTROL_NEITHER
|
||||
EVAS_ASPECT_CONTROL_HORIZONTAL
|
||||
EVAS_ASPECT_CONTROL_VERTICAL
|
||||
EVAS_ASPECT_CONTROL_BOTH
|
||||
|
||||
ctypedef enum Evas_Display_Mode:
|
||||
EVAS_DISPLAY_MODE_NONE
|
||||
EVAS_DISPLAY_MODE_COMPRESS
|
||||
EVAS_DISPLAY_MODE_EXPAND
|
||||
EVAS_DISPLAY_MODE_DONT_CHANGE
|
||||
|
||||
ctypedef enum Evas_Load_Error:
|
||||
EVAS_LOAD_ERROR_NONE
|
||||
EVAS_LOAD_ERROR_GENERIC
|
||||
EVAS_LOAD_ERROR_DOES_NOT_EXIST
|
||||
EVAS_LOAD_ERROR_PERMISSION_DENIED
|
||||
EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED
|
||||
EVAS_LOAD_ERROR_CORRUPT_FILE
|
||||
EVAS_LOAD_ERROR_UNKNOWN_FORMAT
|
||||
|
||||
ctypedef enum Evas_Alloc_Error:
|
||||
EVAS_ALLOC_ERROR_NONE
|
||||
EVAS_ALLOC_ERROR_FATAL
|
||||
EVAS_ALLOC_ERROR_RECOVERED
|
||||
|
||||
ctypedef enum Evas_Fill_Spread:
|
||||
EVAS_TEXTURE_REFLECT
|
||||
EVAS_TEXTURE_REPEAT
|
||||
EVAS_TEXTURE_RESTRICT
|
||||
EVAS_TEXTURE_RESTRICT_REFLECT
|
||||
EVAS_TEXTURE_RESTRICT_REPEAT
|
||||
EVAS_TEXTURE_PAD
|
||||
|
||||
ctypedef enum Evas_Pixel_Import_Pixel_Format:
|
||||
EVAS_PIXEL_FORMAT_NONE
|
||||
EVAS_PIXEL_FORMAT_ARGB32
|
||||
EVAS_PIXEL_FORMAT_YUV420P_601
|
||||
|
||||
ctypedef enum Evas_Native_Surface_Type:
|
||||
EVAS_NATIVE_SURFACE_NONE
|
||||
EVAS_NATIVE_SURFACE_X11
|
||||
EVAS_NATIVE_SURFACE_OPENGL
|
||||
EVAS_NATIVE_SURFACE_WL
|
||||
|
||||
ctypedef enum Evas_Render_Op:
|
||||
EVAS_RENDER_BLEND
|
||||
EVAS_RENDER_BLEND_REL
|
||||
EVAS_RENDER_COPY
|
||||
EVAS_RENDER_COPY_REL
|
||||
EVAS_RENDER_ADD
|
||||
EVAS_RENDER_ADD_REL
|
||||
EVAS_RENDER_SUB
|
||||
EVAS_RENDER_SUB_REL
|
||||
EVAS_RENDER_TINT
|
||||
EVAS_RENDER_TINT_REL
|
||||
EVAS_RENDER_MASK
|
||||
EVAS_RENDER_MUL
|
||||
|
||||
ctypedef enum Evas_Border_Fill_Mode:
|
||||
EVAS_BORDER_FILL_NONE
|
||||
EVAS_BORDER_FILL_DEFAULT
|
||||
EVAS_BORDER_FILL_SOLID
|
||||
|
||||
ctypedef enum Evas_Image_Scale_Hint:
|
||||
EVAS_IMAGE_SCALE_HINT_NONE
|
||||
EVAS_IMAGE_SCALE_HINT_DYNAMIC
|
||||
EVAS_IMAGE_SCALE_HINT_STATIC
|
||||
|
||||
ctypedef enum Evas_Image_Animated_Loop_Hint:
|
||||
EVAS_IMAGE_ANIMATED_HINT_NONE
|
||||
EVAS_IMAGE_ANIMATED_HINT_LOOP
|
||||
EVAS_IMAGE_ANIMATED_HINT_PINGPONG
|
||||
|
||||
ctypedef enum Evas_Image_Orient:
|
||||
EVAS_IMAGE_ORIENT_NONE
|
||||
EVAS_IMAGE_ORIENT_0
|
||||
EVAS_IMAGE_ORIENT_90
|
||||
EVAS_IMAGE_ORIENT_180
|
||||
EVAS_IMAGE_ORIENT_270
|
||||
EVAS_IMAGE_FLIP_HORIZONTAL
|
||||
EVAS_IMAGE_FLIP_VERTICAL
|
||||
EVAS_IMAGE_FLIP_TRANSPOSE
|
||||
EVAS_IMAGE_FLIP_TRANSVERSE
|
||||
|
||||
ctypedef enum Evas_Engine_Render_Mode:
|
||||
EVAS_RENDER_MODE_BLOCKING
|
||||
EVAS_RENDER_MODE_NONBLOCKING
|
||||
|
||||
ctypedef enum Evas_Image_Content_Hint:
|
||||
EVAS_IMAGE_CONTENT_HINT_NONE
|
||||
EVAS_IMAGE_CONTENT_HINT_DYNAMIC
|
||||
EVAS_IMAGE_CONTENT_HINT_STATIC
|
||||
|
||||
ctypedef enum Evas_Device_Class:
|
||||
EVAS_DEVICE_CLASS_NONE
|
||||
EVAS_DEVICE_CLASS_SEAT
|
||||
EVAS_DEVICE_CLASS_KEYBOARD
|
||||
EVAS_DEVICE_CLASS_MOUSE
|
||||
EVAS_DEVICE_CLASS_TOUCH
|
||||
EVAS_DEVICE_CLASS_PEN
|
||||
EVAS_DEVICE_CLASS_POINTER
|
||||
EVAS_DEVICE_CLASS_GAMEPAD
|
||||
|
||||
ctypedef enum Evas_Object_Pointer_Mode:
|
||||
EVAS_OBJECT_POINTER_MODE_AUTOGRAB
|
||||
EVAS_OBJECT_POINTER_MODE_NOGRAB
|
||||
EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN
|
||||
|
||||
ctypedef enum Evas_Text_Style_Type:
|
||||
EVAS_TEXT_STYLE_PLAIN
|
||||
EVAS_TEXT_STYLE_SHADOW
|
||||
EVAS_TEXT_STYLE_OUTLINE
|
||||
EVAS_TEXT_STYLE_SOFT_OUTLINE
|
||||
EVAS_TEXT_STYLE_GLOW
|
||||
EVAS_TEXT_STYLE_OUTLINE_SHADOW
|
||||
EVAS_TEXT_STYLE_FAR_SHADOW
|
||||
EVAS_TEXT_STYLE_OUTLINE_SOFT_SHADOW
|
||||
EVAS_TEXT_STYLE_SOFT_SHADOW
|
||||
EVAS_TEXT_STYLE_FAR_SOFT_SHADOW
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM_RIGHT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM_LEFT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_LEFT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP_LEFT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP_RIGHT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_RIGHT
|
||||
|
||||
ctypedef enum Evas_Textblock_Text_Type:
|
||||
EVAS_TEXTBLOCK_TEXT_RAW
|
||||
EVAS_TEXTBLOCK_TEXT_PLAIN
|
||||
EVAS_TEXTBLOCK_TEXT_MARKUP
|
||||
|
||||
ctypedef enum Evas_Textblock_Cursor_Type:
|
||||
EVAS_TEXTBLOCK_CURSOR_UNDER
|
||||
EVAS_TEXTBLOCK_CURSOR_BEFORE
|
||||
|
||||
ctypedef enum Evas_Textgrid_Palette:
|
||||
EVAS_TEXTGRID_PALETTE_NONE
|
||||
EVAS_TEXTGRID_PALETTE_STANDARD
|
||||
EVAS_TEXTGRID_PALETTE_EXTENDED
|
||||
EVAS_TEXTGRID_PALETTE_LAST
|
||||
|
||||
ctypedef enum Evas_Textgrid_Font_Style:
|
||||
EVAS_TEXTGRID_FONT_STYLE_NORMAL
|
||||
EVAS_TEXTGRID_FONT_STYLE_BOLD
|
||||
EVAS_TEXTGRID_FONT_STYLE_ITALIC
|
|
@ -20,6 +20,17 @@ from efl.eina cimport *
|
|||
from efl.eo cimport Eo
|
||||
from efl.c_eo cimport Eo as cEo, Eo_Class
|
||||
|
||||
from efl.evas.enums cimport Evas_Button_Flags, Evas_BiDi_Direction, \
|
||||
Evas_Callback_Type, Evas_Event_Flags, Evas_Touch_Point_State, \
|
||||
Evas_Font_Hinting_Flags, Evas_Colorspace, \
|
||||
Evas_Object_Table_Homogeneous_Mode, Evas_Aspect_Control, \
|
||||
Evas_Display_Mode, Evas_Load_Error, Evas_Alloc_Error, Evas_Fill_Spread, \
|
||||
Evas_Pixel_Import_Pixel_Format, Evas_Native_Surface_Type, Evas_Render_Op, \
|
||||
Evas_Border_Fill_Mode, Evas_Image_Scale_Hint, \
|
||||
Evas_Image_Animated_Loop_Hint, Evas_Image_Orient, \
|
||||
Evas_Engine_Render_Mode, Evas_Image_Content_Hint, Evas_Device_Class, \
|
||||
Evas_Object_Pointer_Mode, Evas_Text_Style_Type, Evas_Textblock_Text_Type, \
|
||||
Evas_Textblock_Cursor_Type, Evas_Textgrid_Palette, Evas_Textgrid_Font_Style
|
||||
|
||||
cdef extern from "Evas.h":
|
||||
|
||||
|
@ -31,315 +42,6 @@ cdef extern from "Evas.h":
|
|||
ctypedef int Evas_Font_Size
|
||||
ctypedef unsigned long long Evas_Modifier_Mask
|
||||
|
||||
####################################################################
|
||||
# #define (this works only for integer define)
|
||||
#
|
||||
cpdef enum:
|
||||
EVAS_LAYER_MIN
|
||||
EVAS_LAYER_MAX
|
||||
|
||||
EVAS_COLOR_SPACE_ARGB
|
||||
EVAS_COLOR_SPACE_AHSV
|
||||
|
||||
EVAS_TEXT_INVALID
|
||||
EVAS_TEXT_SPECIAL
|
||||
|
||||
EVAS_SMART_CLASS_VERSION
|
||||
|
||||
####################################################################
|
||||
# Enums (automatically exported to python scope)
|
||||
#
|
||||
cpdef enum Evas_Button_Flags:
|
||||
EVAS_BUTTON_NONE
|
||||
EVAS_BUTTON_DOUBLE_CLICK
|
||||
EVAS_BUTTON_TRIPLE_CLICK
|
||||
ctypedef enum Evas_Button_Flags:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_BiDi_Direction:
|
||||
EVAS_BIDI_DIRECTION_NATURAL
|
||||
EVAS_BIDI_DIRECTION_NEUTRAL
|
||||
EVAS_BIDI_DIRECTION_LTR
|
||||
EVAS_BIDI_DIRECTION_RTL
|
||||
EVAS_BIDI_DIRECTION_INHERIT
|
||||
ctypedef enum Evas_BiDi_Direction:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Callback_Type:
|
||||
EVAS_CALLBACK_MOUSE_IN
|
||||
EVAS_CALLBACK_MOUSE_OUT
|
||||
EVAS_CALLBACK_MOUSE_DOWN
|
||||
EVAS_CALLBACK_MOUSE_UP
|
||||
EVAS_CALLBACK_MOUSE_MOVE
|
||||
EVAS_CALLBACK_MOUSE_WHEEL
|
||||
EVAS_CALLBACK_MULTI_DOWN
|
||||
EVAS_CALLBACK_MULTI_UP
|
||||
EVAS_CALLBACK_MULTI_MOVE
|
||||
EVAS_CALLBACK_FREE
|
||||
EVAS_CALLBACK_KEY_DOWN
|
||||
EVAS_CALLBACK_KEY_UP
|
||||
EVAS_CALLBACK_FOCUS_IN
|
||||
EVAS_CALLBACK_FOCUS_OUT
|
||||
EVAS_CALLBACK_SHOW
|
||||
EVAS_CALLBACK_HIDE
|
||||
EVAS_CALLBACK_MOVE
|
||||
EVAS_CALLBACK_RESIZE
|
||||
EVAS_CALLBACK_RESTACK
|
||||
EVAS_CALLBACK_DEL
|
||||
EVAS_CALLBACK_HOLD
|
||||
EVAS_CALLBACK_CHANGED_SIZE_HINTS
|
||||
EVAS_CALLBACK_IMAGE_PRELOADED
|
||||
EVAS_CALLBACK_CANVAS_FOCUS_IN
|
||||
EVAS_CALLBACK_CANVAS_FOCUS_OUT
|
||||
EVAS_CALLBACK_RENDER_FLUSH_PRE
|
||||
EVAS_CALLBACK_RENDER_FLUSH_POST
|
||||
EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN
|
||||
EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT
|
||||
EVAS_CALLBACK_IMAGE_UNLOADED
|
||||
EVAS_CALLBACK_RENDER_PRE
|
||||
EVAS_CALLBACK_RENDER_POST
|
||||
EVAS_CALLBACK_IMAGE_RESIZE
|
||||
EVAS_CALLBACK_DEVICE_CHANGED
|
||||
EVAS_CALLBACK_AXIS_UPDATE
|
||||
EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE
|
||||
EVAS_CALLBACK_LAST
|
||||
ctypedef enum Evas_Callback_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Event_Flags:
|
||||
EVAS_EVENT_FLAG_NONE
|
||||
EVAS_EVENT_FLAG_ON_HOLD
|
||||
EVAS_EVENT_FLAG_ON_SCROLL
|
||||
ctypedef enum Evas_Event_Flags:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Touch_Point_State:
|
||||
EVAS_TOUCH_POINT_DOWN
|
||||
EVAS_TOUCH_POINT_UP
|
||||
EVAS_TOUCH_POINT_MOVE
|
||||
EVAS_TOUCH_POINT_STILL
|
||||
EVAS_TOUCH_POINT_CANCEL
|
||||
ctypedef enum Evas_Touch_Point_State:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Font_Hinting_Flags:
|
||||
EVAS_FONT_HINTING_NONE
|
||||
EVAS_FONT_HINTING_AUTO
|
||||
EVAS_FONT_HINTING_BYTECODE
|
||||
ctypedef enum Evas_Font_Hinting_Flags:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Colorspace:
|
||||
EVAS_COLORSPACE_ARGB8888
|
||||
EVAS_COLORSPACE_YCBCR422P601_PL
|
||||
EVAS_COLORSPACE_YCBCR422P709_PL
|
||||
EVAS_COLORSPACE_RGB565_A5P
|
||||
EVAS_COLORSPACE_GRY8
|
||||
EVAS_COLORSPACE_YCBCR422601_PL
|
||||
EVAS_COLORSPACE_YCBCR420NV12601_PL
|
||||
EVAS_COLORSPACE_YCBCR420TM12601_PL
|
||||
ctypedef enum Evas_Colorspace:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Object_Table_Homogeneous_Mode:
|
||||
EVAS_OBJECT_TABLE_HOMOGENEOUS_NONE
|
||||
EVAS_OBJECT_TABLE_HOMOGENEOUS_TABLE
|
||||
EVAS_OBJECT_TABLE_HOMOGENEOUS_ITEM
|
||||
ctypedef enum Evas_Object_Table_Homogeneous_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Aspect_Control:
|
||||
EVAS_ASPECT_CONTROL_NONE
|
||||
EVAS_ASPECT_CONTROL_NEITHER
|
||||
EVAS_ASPECT_CONTROL_HORIZONTAL
|
||||
EVAS_ASPECT_CONTROL_VERTICAL
|
||||
EVAS_ASPECT_CONTROL_BOTH
|
||||
ctypedef enum Evas_Aspect_Control:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Display_Mode:
|
||||
EVAS_DISPLAY_MODE_NONE
|
||||
EVAS_DISPLAY_MODE_COMPRESS
|
||||
EVAS_DISPLAY_MODE_EXPAND
|
||||
EVAS_DISPLAY_MODE_DONT_CHANGE
|
||||
ctypedef enum Evas_Display_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Load_Error:
|
||||
EVAS_LOAD_ERROR_NONE
|
||||
EVAS_LOAD_ERROR_GENERIC
|
||||
EVAS_LOAD_ERROR_DOES_NOT_EXIST
|
||||
EVAS_LOAD_ERROR_PERMISSION_DENIED
|
||||
EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED
|
||||
EVAS_LOAD_ERROR_CORRUPT_FILE
|
||||
EVAS_LOAD_ERROR_UNKNOWN_FORMAT
|
||||
ctypedef enum Evas_Load_Error:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Alloc_Error:
|
||||
EVAS_ALLOC_ERROR_NONE
|
||||
EVAS_ALLOC_ERROR_FATAL
|
||||
EVAS_ALLOC_ERROR_RECOVERED
|
||||
ctypedef enum Evas_Alloc_Error:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Fill_Spread:
|
||||
EVAS_TEXTURE_REFLECT
|
||||
EVAS_TEXTURE_REPEAT
|
||||
EVAS_TEXTURE_RESTRICT
|
||||
EVAS_TEXTURE_RESTRICT_REFLECT
|
||||
EVAS_TEXTURE_RESTRICT_REPEAT
|
||||
EVAS_TEXTURE_PAD
|
||||
ctypedef enum Evas_Fill_Spread:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Pixel_Import_Pixel_Format:
|
||||
EVAS_PIXEL_FORMAT_NONE
|
||||
EVAS_PIXEL_FORMAT_ARGB32
|
||||
EVAS_PIXEL_FORMAT_YUV420P_601
|
||||
ctypedef enum Evas_Pixel_Import_Pixel_Format:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Native_Surface_Type:
|
||||
EVAS_NATIVE_SURFACE_NONE
|
||||
EVAS_NATIVE_SURFACE_X11
|
||||
EVAS_NATIVE_SURFACE_OPENGL
|
||||
EVAS_NATIVE_SURFACE_WL
|
||||
ctypedef enum Evas_Native_Surface_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Render_Op:
|
||||
EVAS_RENDER_BLEND
|
||||
EVAS_RENDER_BLEND_REL
|
||||
EVAS_RENDER_COPY
|
||||
EVAS_RENDER_COPY_REL
|
||||
EVAS_RENDER_ADD
|
||||
EVAS_RENDER_ADD_REL
|
||||
EVAS_RENDER_SUB
|
||||
EVAS_RENDER_SUB_REL
|
||||
EVAS_RENDER_TINT
|
||||
EVAS_RENDER_TINT_REL
|
||||
EVAS_RENDER_MASK
|
||||
EVAS_RENDER_MUL
|
||||
ctypedef enum Evas_Render_Op:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Border_Fill_Mode:
|
||||
EVAS_BORDER_FILL_NONE
|
||||
EVAS_BORDER_FILL_DEFAULT
|
||||
EVAS_BORDER_FILL_SOLID
|
||||
ctypedef enum Evas_Border_Fill_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Image_Scale_Hint:
|
||||
EVAS_IMAGE_SCALE_HINT_NONE
|
||||
EVAS_IMAGE_SCALE_HINT_DYNAMIC
|
||||
EVAS_IMAGE_SCALE_HINT_STATIC
|
||||
ctypedef enum Evas_Image_Scale_Hint:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Image_Animated_Loop_Hint:
|
||||
EVAS_IMAGE_ANIMATED_HINT_NONE
|
||||
EVAS_IMAGE_ANIMATED_HINT_LOOP
|
||||
EVAS_IMAGE_ANIMATED_HINT_PINGPONG
|
||||
ctypedef enum Evas_Image_Animated_Loop_Hint:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Image_Orient:
|
||||
EVAS_IMAGE_ORIENT_NONE
|
||||
EVAS_IMAGE_ORIENT_0
|
||||
EVAS_IMAGE_ORIENT_90
|
||||
EVAS_IMAGE_ORIENT_180
|
||||
EVAS_IMAGE_ORIENT_270
|
||||
EVAS_IMAGE_FLIP_HORIZONTAL
|
||||
EVAS_IMAGE_FLIP_VERTICAL
|
||||
EVAS_IMAGE_FLIP_TRANSPOSE
|
||||
EVAS_IMAGE_FLIP_TRANSVERSE
|
||||
ctypedef enum Evas_Image_Orient:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Engine_Render_Mode:
|
||||
EVAS_RENDER_MODE_BLOCKING
|
||||
EVAS_RENDER_MODE_NONBLOCKING
|
||||
ctypedef enum Evas_Engine_Render_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Image_Content_Hint:
|
||||
EVAS_IMAGE_CONTENT_HINT_NONE
|
||||
EVAS_IMAGE_CONTENT_HINT_DYNAMIC
|
||||
EVAS_IMAGE_CONTENT_HINT_STATIC
|
||||
ctypedef enum Evas_Image_Content_Hint:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Device_Class:
|
||||
EVAS_DEVICE_CLASS_NONE
|
||||
EVAS_DEVICE_CLASS_SEAT
|
||||
EVAS_DEVICE_CLASS_KEYBOARD
|
||||
EVAS_DEVICE_CLASS_MOUSE
|
||||
EVAS_DEVICE_CLASS_TOUCH
|
||||
EVAS_DEVICE_CLASS_PEN
|
||||
EVAS_DEVICE_CLASS_POINTER
|
||||
EVAS_DEVICE_CLASS_GAMEPAD
|
||||
ctypedef enum Evas_Device_Class:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Object_Pointer_Mode:
|
||||
EVAS_OBJECT_POINTER_MODE_AUTOGRAB
|
||||
EVAS_OBJECT_POINTER_MODE_NOGRAB
|
||||
EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN
|
||||
ctypedef enum Evas_Object_Pointer_Mode:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Text_Style_Type:
|
||||
EVAS_TEXT_STYLE_PLAIN
|
||||
EVAS_TEXT_STYLE_SHADOW
|
||||
EVAS_TEXT_STYLE_OUTLINE
|
||||
EVAS_TEXT_STYLE_SOFT_OUTLINE
|
||||
EVAS_TEXT_STYLE_GLOW
|
||||
EVAS_TEXT_STYLE_OUTLINE_SHADOW
|
||||
EVAS_TEXT_STYLE_FAR_SHADOW
|
||||
EVAS_TEXT_STYLE_OUTLINE_SOFT_SHADOW
|
||||
EVAS_TEXT_STYLE_SOFT_SHADOW
|
||||
EVAS_TEXT_STYLE_FAR_SOFT_SHADOW
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM_RIGHT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM_LEFT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_LEFT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP_LEFT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP_RIGHT
|
||||
EVAS_TEXT_STYLE_SHADOW_DIRECTION_RIGHT
|
||||
ctypedef enum Evas_Text_Style_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Textblock_Text_Type:
|
||||
EVAS_TEXTBLOCK_TEXT_RAW
|
||||
EVAS_TEXTBLOCK_TEXT_PLAIN
|
||||
EVAS_TEXTBLOCK_TEXT_MARKUP
|
||||
ctypedef enum Evas_Textblock_Text_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Textblock_Cursor_Type:
|
||||
EVAS_TEXTBLOCK_CURSOR_UNDER
|
||||
EVAS_TEXTBLOCK_CURSOR_BEFORE
|
||||
ctypedef enum Evas_Textblock_Cursor_Type:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Textgrid_Palette:
|
||||
EVAS_TEXTGRID_PALETTE_NONE
|
||||
EVAS_TEXTGRID_PALETTE_STANDARD
|
||||
EVAS_TEXTGRID_PALETTE_EXTENDED
|
||||
EVAS_TEXTGRID_PALETTE_LAST
|
||||
ctypedef enum Evas_Textgrid_Palette:
|
||||
pass
|
||||
|
||||
cpdef enum Evas_Textgrid_Font_Style:
|
||||
EVAS_TEXTGRID_FONT_STYLE_NORMAL
|
||||
EVAS_TEXTGRID_FONT_STYLE_BOLD
|
||||
EVAS_TEXTGRID_FONT_STYLE_ITALIC
|
||||
ctypedef enum Evas_Textgrid_Font_Style:
|
||||
pass
|
||||
|
||||
|
||||
####################################################################
|
||||
# Structures
|
||||
|
|
4
setup.py
4
setup.py
|
@ -20,7 +20,7 @@ VERSION = "%d.%d" % (vers[0], vers[1] if vers[2] < 99 else vers[1] + 1)
|
|||
|
||||
# dependencies
|
||||
CYTHON_MIN_VERSION = "0.21"
|
||||
CYTHON_BLACKLIST = ("0.23", "0.24")
|
||||
CYTHON_BLACKLIST = ()
|
||||
EFL_MIN_VER = RELEASE
|
||||
ELM_MIN_VER = RELEASE
|
||||
|
||||
|
@ -390,7 +390,7 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
|
|||
|
||||
# === Edje_Edit ===
|
||||
edje_edit_ext = Extension("edje_edit",
|
||||
["efl/edje/efl.edje_edit" + module_suffix],
|
||||
["efl/edje_edit/efl.edje_edit" + module_suffix],
|
||||
define_macros=[('EDJE_EDIT_IS_UNSTABLE_AND_I_KNOW_ABOUT_IT', None)],
|
||||
include_dirs=['include/'],
|
||||
extra_compile_args=edje_cflags,
|
||||
|
|
Loading…
Reference in New Issue