WIP
This commit is contained in:
parent
66718af2b9
commit
d24662f01e
|
@ -253,7 +253,7 @@ from cpython cimport Py_INCREF, Py_DECREF
|
||||||
import traceback
|
import traceback
|
||||||
import atexit
|
import atexit
|
||||||
|
|
||||||
import efl.ecore.enums as enums
|
cimport efl.ecore.enums as enums
|
||||||
|
|
||||||
ECORE_EVENT_NONE = enums.ECORE_EVENT_NONE
|
ECORE_EVENT_NONE = enums.ECORE_EVENT_NONE
|
||||||
ECORE_EVENT_SIGNAL_USER = enums.ECORE_EVENT_SIGNAL_USER
|
ECORE_EVENT_SIGNAL_USER = enums.ECORE_EVENT_SIGNAL_USER
|
||||||
|
|
|
@ -81,7 +81,7 @@ cdef class EventHandler(object):
|
||||||
raise TypeError("Parameter 'func' must be callable")
|
raise TypeError("Parameter 'func' must be callable")
|
||||||
event_cls = _event_type_mapping.get(type, None)
|
event_cls = _event_type_mapping.get(type, None)
|
||||||
if event_cls is 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.type = type
|
||||||
self.event_cls = event_cls
|
self.event_cls = event_cls
|
||||||
self.func = func
|
self.func = func
|
||||||
|
|
|
@ -173,7 +173,7 @@ import atexit
|
||||||
from efl.ecore cimport _event_mapping_register, _event_mapping_get, \
|
from efl.ecore cimport _event_mapping_register, _event_mapping_get, \
|
||||||
ecore_event_handler_add, ecore_event_handler_del
|
ecore_event_handler_add, ecore_event_handler_del
|
||||||
|
|
||||||
import efl.ecore_con.enums as enums
|
cimport efl.ecore_con.enums as enums
|
||||||
|
|
||||||
ECORE_CON_LOCAL_USER = enums.ECORE_CON_LOCAL_USER
|
ECORE_CON_LOCAL_USER = enums.ECORE_CON_LOCAL_USER
|
||||||
ECORE_CON_LOCAL_SYSTEM = enums.ECORE_CON_LOCAL_SYSTEM
|
ECORE_CON_LOCAL_SYSTEM = enums.ECORE_CON_LOCAL_SYSTEM
|
||||||
|
@ -219,9 +219,9 @@ def init():
|
||||||
|
|
||||||
global _con_events_registered
|
global _con_events_registered
|
||||||
if _con_events_registered == 0:
|
if _con_events_registered == 0:
|
||||||
_event_mapping_register(enums.ECORE_CON_EVENT_URL_COMPLETE, EventUrlComplete)
|
_event_mapping_register(ECORE_CON_EVENT_URL_COMPLETE, EventUrlComplete)
|
||||||
_event_mapping_register(enums.ECORE_CON_EVENT_URL_PROGRESS, EventUrlProgress)
|
_event_mapping_register(ECORE_CON_EVENT_URL_PROGRESS, EventUrlProgress)
|
||||||
_event_mapping_register(enums.ECORE_CON_EVENT_URL_DATA, EventUrlData)
|
_event_mapping_register(ECORE_CON_EVENT_URL_DATA, EventUrlData)
|
||||||
_con_events_registered = 1
|
_con_events_registered = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,135 @@ import traceback
|
||||||
import warnings
|
import warnings
|
||||||
import atexit
|
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():
|
def init():
|
||||||
cdef int r = edje_init()
|
cdef int r = edje_init()
|
||||||
|
|
|
@ -60,15 +60,15 @@ cdef class ExternalParam:
|
||||||
def __get__(self):
|
def __get__(self):
|
||||||
if self.obj == NULL:
|
if self.obj == NULL:
|
||||||
raise ValueError("Object uninitialized")
|
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
|
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
|
return self.obj.d
|
||||||
elif self.obj.type == <int>EDJE_EXTERNAL_PARAM_TYPE_STRING or \
|
elif self.obj.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_STRING or \
|
||||||
self.obj.type == <int>EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
|
self.obj.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
|
||||||
if self.obj.s != NULL:
|
if self.obj.s != NULL:
|
||||||
return self.obj.s
|
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)
|
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 ExternalParamInfo_from_ptr(type, Edje_External_Param_Info *ptr):
|
||||||
cdef ExternalParamInfo p
|
cdef ExternalParamInfo p
|
||||||
if ptr.type == <int>EDJE_EXTERNAL_PARAM_TYPE_INT:
|
if ptr.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_INT:
|
||||||
p = ExternalParamInfoInt()
|
p = ExternalParamInfoInt()
|
||||||
elif ptr.type == <int>EDJE_EXTERNAL_PARAM_TYPE_DOUBLE:
|
elif ptr.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_DOUBLE:
|
||||||
p = ExternalParamInfoDouble()
|
p = ExternalParamInfoDouble()
|
||||||
elif ptr.type == <int>EDJE_EXTERNAL_PARAM_TYPE_STRING:
|
elif ptr.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_STRING:
|
||||||
p = ExternalParamInfoString()
|
p = ExternalParamInfoString()
|
||||||
elif ptr.type == <int>EDJE_EXTERNAL_PARAM_TYPE_BOOL:
|
elif ptr.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_BOOL:
|
||||||
p = ExternalParamInfoBool()
|
p = ExternalParamInfoBool()
|
||||||
elif ptr.type == <int>EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
|
elif ptr.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
|
||||||
p = ExternalParamInfoChoice()
|
p = ExternalParamInfoChoice()
|
||||||
else:
|
else:
|
||||||
msg = "Don't know how to convert parameter %s of type %s" % \
|
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 Message_from_type(Edje_Message_Type type, int id, void *msg):
|
||||||
cdef Message m
|
cdef Message m
|
||||||
if type == <int>EDJE_MESSAGE_NONE:
|
if type == <int>enums.EDJE_MESSAGE_NONE:
|
||||||
return None
|
return None
|
||||||
elif type == <int>EDJE_MESSAGE_SIGNAL:
|
elif type == <int>enums.EDJE_MESSAGE_SIGNAL:
|
||||||
m = MessageSignal()
|
m = MessageSignal()
|
||||||
elif type == <int>EDJE_MESSAGE_STRING:
|
elif type == <int>enums.EDJE_MESSAGE_STRING:
|
||||||
m = MessageString_from_ptr(msg)
|
m = MessageString_from_ptr(msg)
|
||||||
elif type == <int>EDJE_MESSAGE_INT:
|
elif type == <int>enums.EDJE_MESSAGE_INT:
|
||||||
m = MessageInt_from_ptr(msg)
|
m = MessageInt_from_ptr(msg)
|
||||||
elif type == <int>EDJE_MESSAGE_FLOAT:
|
elif type == <int>enums.EDJE_MESSAGE_FLOAT:
|
||||||
m = MessageFloat_from_ptr(msg)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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 = MessageStringFloatSet_from_ptr(msg)
|
||||||
|
|
||||||
m._type = type
|
m._type = type
|
||||||
|
|
|
@ -60,23 +60,23 @@ cdef void signal_cb(void *data, Evas_Object *obj,
|
||||||
|
|
||||||
class EdjeLoadError(Exception):
|
class EdjeLoadError(Exception):
|
||||||
def __init__(self, int code, char *file, char *group):
|
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"
|
msg = "No error"
|
||||||
elif code == EDJE_LOAD_ERROR_GENERIC:
|
elif code == enums.EDJE_LOAD_ERROR_GENERIC:
|
||||||
msg = "Generic error"
|
msg = "Generic error"
|
||||||
elif code == EDJE_LOAD_ERROR_DOES_NOT_EXIST:
|
elif code == enums.EDJE_LOAD_ERROR_DOES_NOT_EXIST:
|
||||||
msg = "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"
|
msg = "Permission denied"
|
||||||
elif code == EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED:
|
elif code == enums.EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED:
|
||||||
msg = "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"
|
msg = "Corrupt file"
|
||||||
elif code == EDJE_LOAD_ERROR_UNKNOWN_FORMAT:
|
elif code == enums.EDJE_LOAD_ERROR_UNKNOWN_FORMAT:
|
||||||
msg = "Unknown format"
|
msg = "Unknown format"
|
||||||
elif code == EDJE_LOAD_ERROR_INCOMPATIBLE_FILE:
|
elif code == enums.EDJE_LOAD_ERROR_INCOMPATIBLE_FILE:
|
||||||
msg = "Incompatible file"
|
msg = "Incompatible file"
|
||||||
elif code == EDJE_LOAD_ERROR_UNKNOWN_COLLECTION:
|
elif code == enums.EDJE_LOAD_ERROR_UNKNOWN_COLLECTION:
|
||||||
msg = "Unknown collection"
|
msg = "Unknown collection"
|
||||||
|
|
||||||
self.code = code
|
self.code = code
|
||||||
|
@ -400,7 +400,7 @@ cdef class Edje(Object):
|
||||||
text_class = PyUnicode_AsUTF8String(text_class)
|
text_class = PyUnicode_AsUTF8String(text_class)
|
||||||
edje_object_text_class_del(self.obj,
|
edje_object_text_class_del(self.obj,
|
||||||
<const char *>text_class if text_class is not None else NULL)
|
<const char *>text_class if text_class is not None else NULL)
|
||||||
|
|
||||||
def size_class_set(self, size_class, int minw, int minh, int maxw, int maxh):
|
def size_class_set(self, size_class, int minw, int minh, int maxw, int maxh):
|
||||||
"""Sets the object size class.
|
"""Sets the object size class.
|
||||||
|
|
||||||
|
@ -419,7 +419,7 @@ cdef class Edje(Object):
|
||||||
:rtype: bool
|
:rtype: bool
|
||||||
|
|
||||||
.. versionadded:: 1.17
|
.. versionadded:: 1.17
|
||||||
|
|
||||||
"""
|
"""
|
||||||
if isinstance(size_class, unicode):
|
if isinstance(size_class, unicode):
|
||||||
size_class = PyUnicode_AsUTF8String(size_class)
|
size_class = PyUnicode_AsUTF8String(size_class)
|
||||||
|
@ -852,13 +852,13 @@ cdef class Edje(Object):
|
||||||
|
|
||||||
p.name = c_param
|
p.name = c_param
|
||||||
if isinstance(value, bool): # bool is int, so keep it before!
|
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
|
p.i = value
|
||||||
elif isinstance(value, int):
|
elif isinstance(value, int):
|
||||||
p.type = EDJE_EXTERNAL_PARAM_TYPE_INT
|
p.type = enums.EDJE_EXTERNAL_PARAM_TYPE_INT
|
||||||
p.i = value
|
p.i = value
|
||||||
elif isinstance(value, float):
|
elif isinstance(value, float):
|
||||||
p.type = EDJE_EXTERNAL_PARAM_TYPE_DOUBLE
|
p.type = enums.EDJE_EXTERNAL_PARAM_TYPE_DOUBLE
|
||||||
p.d = value
|
p.d = value
|
||||||
elif isinstance(value, (str, unicode)):
|
elif isinstance(value, (str, unicode)):
|
||||||
# may be STRING or CHOICE
|
# may be STRING or CHOICE
|
||||||
|
@ -904,19 +904,19 @@ cdef class Edje(Object):
|
||||||
|
|
||||||
p.name = c_param
|
p.name = c_param
|
||||||
p.type = edje_object_part_external_param_type_get(self.obj, c_part, 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
|
return None
|
||||||
|
|
||||||
if not edje_object_part_external_param_get(self.obj, c_part, &p):
|
if not edje_object_part_external_param_get(self.obj, c_part, &p):
|
||||||
return None
|
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)
|
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
|
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
|
return p.d
|
||||||
elif p.type == <int>EDJE_EXTERNAL_PARAM_TYPE_STRING or \
|
elif p.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_STRING or \
|
||||||
p.type == <int>EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
|
p.type == <int>enums.EDJE_EXTERNAL_PARAM_TYPE_CHOICE:
|
||||||
return _ctouni(p.s)
|
return _ctouni(p.s)
|
||||||
|
|
||||||
def part_box_append(self, part, Object obj):
|
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 void message_send_int(self, int id, int data):
|
||||||
cdef Edje_Message_Int m
|
cdef Edje_Message_Int m
|
||||||
m.val = data
|
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 void message_send_float(self, int id, float data):
|
||||||
cdef Edje_Message_Float m
|
cdef Edje_Message_Float m
|
||||||
m.val = data
|
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 void message_send_str(self, int id, data):
|
||||||
cdef Edje_Message_String m
|
cdef Edje_Message_String m
|
||||||
if isinstance(data, unicode): data = PyUnicode_AsUTF8String(data)
|
if isinstance(data, unicode): data = PyUnicode_AsUTF8String(data)
|
||||||
m.str = <char *>data if data is not None else NULL
|
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 void message_send_str_set(self, int id, data):
|
||||||
cdef int count, i
|
cdef int count, i
|
||||||
|
@ -1226,7 +1226,7 @@ cdef class Edje(Object):
|
||||||
m.str[i] = s
|
m.str[i] = s
|
||||||
i += 1
|
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)
|
<void*>m)
|
||||||
PyMem_Free(m)
|
PyMem_Free(m)
|
||||||
|
|
||||||
|
@ -1235,7 +1235,7 @@ cdef class Edje(Object):
|
||||||
if isinstance(s, unicode): s = PyUnicode_AsUTF8String(s)
|
if isinstance(s, unicode): s = PyUnicode_AsUTF8String(s)
|
||||||
m.str = <char *>s if s is not None else NULL
|
m.str = <char *>s if s is not None else NULL
|
||||||
m.val = i
|
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)
|
<void*>&m)
|
||||||
|
|
||||||
cdef void message_send_str_float(self, int id, s, float f):
|
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)
|
if isinstance(s, unicode): s = PyUnicode_AsUTF8String(s)
|
||||||
m.str = <char *>s if s is not None else NULL
|
m.str = <char *>s if s is not None else NULL
|
||||||
m.val = f
|
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)
|
<void*>&m)
|
||||||
|
|
||||||
cdef void message_send_str_int_set(self, int id, s, data):
|
cdef void message_send_str_int_set(self, int id, s, data):
|
||||||
|
@ -1262,7 +1262,7 @@ cdef class Edje(Object):
|
||||||
m.val[i] = f
|
m.val[i] = f
|
||||||
i += 1
|
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)
|
<void*>m)
|
||||||
PyMem_Free(m)
|
PyMem_Free(m)
|
||||||
|
|
||||||
|
@ -1283,7 +1283,7 @@ cdef class Edje(Object):
|
||||||
m.val[i] = f
|
m.val[i] = f
|
||||||
i += 1
|
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)
|
<void*>m)
|
||||||
PyMem_Free(m)
|
PyMem_Free(m)
|
||||||
|
|
||||||
|
@ -1301,7 +1301,7 @@ cdef class Edje(Object):
|
||||||
m.val[i] = f
|
m.val[i] = f
|
||||||
i += 1
|
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)
|
<void*>m)
|
||||||
PyMem_Free(m)
|
PyMem_Free(m)
|
||||||
|
|
||||||
|
@ -1319,7 +1319,7 @@ cdef class Edje(Object):
|
||||||
m.val[i] = f
|
m.val[i] = f
|
||||||
i += 1
|
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)
|
<void*>m)
|
||||||
PyMem_Free(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 cimport Edje_Part_Type, Edje, ExternalParam_from_ptr
|
||||||
from efl.edje import EDJE_PART_TYPE_EXTERNAL
|
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):
|
cdef class EdjeEdit(Edje):
|
||||||
|
|
|
@ -39,9 +39,615 @@ import traceback
|
||||||
import atexit
|
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")
|
elm_log = add_logger("efl.elementary")
|
||||||
cdef int PY_EFL_ELM_LOG_DOMAIN = elm_log.eina_log_domain
|
cdef int PY_EFL_ELM_LOG_DOMAIN = elm_log.eina_log_domain
|
||||||
|
@ -163,10 +769,10 @@ def shutdown():
|
||||||
init()
|
init()
|
||||||
atexit.register(shutdown)
|
atexit.register(shutdown)
|
||||||
|
|
||||||
_event_mapping_register(ELM_EVENT_CONFIG_ALL_CHANGED, ConfigAllChanged)
|
_event_mapping_register(enums.ELM_EVENT_CONFIG_ALL_CHANGED, ConfigAllChanged)
|
||||||
_event_mapping_register(ELM_EVENT_POLICY_CHANGED, PolicyChanged)
|
_event_mapping_register(enums.ELM_EVENT_POLICY_CHANGED, PolicyChanged)
|
||||||
_event_mapping_register(ELM_EVENT_PROCESS_BACKGROUND, ProcessBackground)
|
_event_mapping_register(enums.ELM_EVENT_PROCESS_BACKGROUND, ProcessBackground)
|
||||||
_event_mapping_register(ELM_EVENT_PROCESS_FOREGROUND, ProcessForeground)
|
_event_mapping_register(enums.ELM_EVENT_PROCESS_FOREGROUND, ProcessForeground)
|
||||||
|
|
||||||
|
|
||||||
cdef void py_elm_sys_notify_send_cb(void *data, unsigned int id):
|
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
|
.. 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):
|
def on_config_all_changed(func, *args, **kwargs):
|
||||||
|
@ -195,7 +801,7 @@ def on_config_all_changed(func, *args, **kwargs):
|
||||||
|
|
||||||
.. versionadded:: 1.14
|
.. 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):
|
def on_policy_changed(func, *args, **kwargs):
|
||||||
|
@ -205,7 +811,7 @@ def on_policy_changed(func, *args, **kwargs):
|
||||||
|
|
||||||
.. versionadded:: 1.14
|
.. 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):
|
def on_process_background(func, *args, **kwargs):
|
||||||
|
@ -216,7 +822,7 @@ def on_process_background(func, *args, **kwargs):
|
||||||
|
|
||||||
.. versionadded:: 1.14
|
.. 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):
|
def on_process_foreground(func, *args, **kwargs):
|
||||||
|
@ -227,18 +833,18 @@ def on_process_foreground(func, *args, **kwargs):
|
||||||
|
|
||||||
.. versionadded:: 1.14
|
.. 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):
|
def on_sys_notify_notification_closed(func, *args, **kargs):
|
||||||
return EventHandler(
|
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):
|
def on_sys_notify_action_invoked(func, *args, **kargs):
|
||||||
return EventHandler(
|
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(
|
def sys_notify_send(
|
||||||
unsigned int replaces_id=0,
|
unsigned int replaces_id=0,
|
||||||
icon=None, summary=None, body=None,
|
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
|
int timeout=-1, cb=None, cb_data=None
|
||||||
):
|
):
|
||||||
"""Sends a notification to the notification server.
|
"""Sends a notification to the notification server.
|
||||||
|
|
|
@ -1,15 +1,6 @@
|
||||||
|
from efl.elementary.enums cimport Elm_Actionslider_Pos
|
||||||
|
|
||||||
cdef extern from "Elementary.h":
|
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)
|
Evas_Object *elm_actionslider_add(Evas_Object *parent)
|
||||||
const char *elm_actionslider_selected_label_get(const Evas_Object *obj)
|
const char *elm_actionslider_selected_label_get(const Evas_Object *obj)
|
||||||
void elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos)
|
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":
|
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)
|
Evas_Object *elm_bg_add(Evas_Object *parent)
|
||||||
Eina_Bool elm_bg_file_set(Evas_Object *obj, const char *file, const char *group)
|
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)
|
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":
|
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)
|
Evas_Object *elm_bubble_add(Evas_Object *parent)
|
||||||
void elm_bubble_pos_set(Evas_Object *obj, Elm_Bubble_Pos pos)
|
void elm_bubble_pos_set(Evas_Object *obj, Elm_Bubble_Pos pos)
|
||||||
Elm_Bubble_Pos elm_bubble_pos_get(const Evas_Object *obj)
|
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":
|
cdef extern from "time.h":
|
||||||
struct tm:
|
struct tm:
|
||||||
int tm_sec
|
int tm_sec
|
||||||
|
@ -14,46 +17,6 @@ cdef extern from "time.h":
|
||||||
const char *tm_zone
|
const char *tm_zone
|
||||||
|
|
||||||
cdef extern from "Elementary.h":
|
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)
|
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":
|
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)
|
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_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)
|
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":
|
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)
|
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_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)
|
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":
|
from efl.elementary.enums cimport Elm_Softcursor_Mode, \
|
||||||
|
Elm_Slider_Indicator_Visible_Mode, Elm_Focus_Move_Policy, \
|
||||||
cpdef enum Edje_Channel:
|
Elm_Focus_Autoscroll_Mode, 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
|
|
||||||
|
|
||||||
|
|
||||||
cdef extern from "Elementary.h":
|
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:
|
ctypedef struct Elm_Font_Overlay:
|
||||||
const char *text_class
|
const char *text_class
|
||||||
const char *font
|
const char *font
|
||||||
|
@ -193,7 +166,7 @@ cdef extern from "Elementary.h":
|
||||||
|
|
||||||
Eina_Bool elm_config_vsync_get()
|
Eina_Bool elm_config_vsync_get()
|
||||||
void elm_config_vsync_set(Eina_Bool enabled)
|
void elm_config_vsync_set(Eina_Bool enabled)
|
||||||
|
|
||||||
Elm_Focus_Autoscroll_Mode elm_config_focus_autoscroll_mode_get()
|
Elm_Focus_Autoscroll_Mode elm_config_focus_autoscroll_mode_get()
|
||||||
void elm_config_focus_autoscroll_mode_set(Elm_Focus_Autoscroll_Mode mode)
|
void elm_config_focus_autoscroll_mode_set(Elm_Focus_Autoscroll_Mode mode)
|
||||||
Eina_Bool elm_config_window_auto_focus_enable_get()
|
Eina_Bool elm_config_window_auto_focus_enable_get()
|
||||||
|
|
|
@ -1,15 +1,6 @@
|
||||||
|
from efl.elementary.enums cimport Elm_Ctxpopup_Direction
|
||||||
|
|
||||||
cdef extern from "Elementary.h":
|
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)
|
Evas_Object *elm_ctxpopup_add(Evas_Object *parent)
|
||||||
void elm_ctxpopup_hover_parent_set(Evas_Object *obj, 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)
|
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":
|
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)
|
Evas_Object * elm_datetime_add(Evas_Object *parent)
|
||||||
const char * elm_datetime_format_get(const Evas_Object *obj)
|
const char * elm_datetime_format_get(const Evas_Object *obj)
|
||||||
void elm_datetime_format_set(Evas_Object *obj, const char *fmt)
|
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":
|
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)
|
Evas_Object *elm_dayselector_add(Evas_Object *parent)
|
||||||
void elm_dayselector_day_selected_set(Evas_Object *obj, Elm_Dayselector_Day day, Eina_Bool selected)
|
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)
|
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
|
eina_list_free, eina_list_append, eina_stringshare_del
|
||||||
from efl.evas cimport Eina_List, Eina_Bool, Evas_Object, Evas_Font_Size, \
|
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_Coord, Evas_Callback_Type, Evas_Smart_Cb, Evas_Event_Flags, \
|
||||||
Evas_Load_Error, Evas_Image_Orient, EVAS_EVENT_FLAG_NONE, \
|
Evas_Load_Error, Evas_Image_Orient, \
|
||||||
evas_object_smart_callback_add, EVAS_CALLBACK_KEY_DOWN, \
|
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
|
EVAS_CALLBACK_KEY_UP, EVAS_CALLBACK_MOUSE_WHEEL
|
||||||
|
|
||||||
from efl.ecore cimport Ecore_Pos_Map
|
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":
|
cdef extern from "time.h":
|
||||||
struct tm:
|
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)
|
ctypedef void (*Edje_Signal_Cb)(void *data, Evas_Object *obj, const char *emission, const char *source)
|
||||||
|
|
||||||
cdef extern from "Elementary.h":
|
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
|
#colors
|
||||||
ctypedef struct Elm_Color_RGBA:
|
ctypedef struct Elm_Color_RGBA:
|
||||||
unsigned int r
|
unsigned int r
|
||||||
|
|
|
@ -871,7 +871,7 @@ cdef class Entry(LayoutClass):
|
||||||
"""
|
"""
|
||||||
elm_entry_context_menu_clear(self.obj)
|
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.
|
"""This adds an item to the entry's contextual menu.
|
||||||
|
|
||||||
A longpress on an entry will make the contextual menu show up, if this
|
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 isinstance(a1, unicode): a1 = PyUnicode_AsUTF8String(a1)
|
||||||
if not elm_entry_file_set(self.obj,
|
if not elm_entry_file_set(self.obj,
|
||||||
<const char *>a1 if a1 is not None else NULL,
|
<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")
|
raise RuntimeError("Could not set file")
|
||||||
|
|
||||||
def file_set(self, file_name, file_format):
|
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 isinstance(a1, unicode): a1 = PyUnicode_AsUTF8String(a1)
|
||||||
if not elm_entry_file_set(self.obj,
|
if not elm_entry_file_set(self.obj,
|
||||||
<const char *>a1 if a1 is not None else NULL,
|
<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")
|
raise RuntimeError("Could not set file")
|
||||||
def file_get(self):
|
def file_get(self):
|
||||||
cdef const char *file
|
cdef const char *file
|
||||||
|
@ -1128,7 +1128,7 @@ cdef class Entry(LayoutClass):
|
||||||
Default is ``ELM_TEXT_FORMAT_PLAIN_UTF8``, if you want to use
|
Default is ``ELM_TEXT_FORMAT_PLAIN_UTF8``, if you want to use
|
||||||
``ELM_TEXT_FORMAT_MARKUP_UTF8`` then you need to set the text format
|
``ELM_TEXT_FORMAT_MARKUP_UTF8`` then you need to set the text format
|
||||||
before calling :attr:`file` or :func:`file_set`.
|
before calling :attr:`file` or :func:`file_set`.
|
||||||
|
|
||||||
You could also set it before a call to :func:`file_save` in order to
|
You could also set it before a call to :func:`file_save` in order to
|
||||||
save with the given format.
|
save with the given format.
|
||||||
|
|
||||||
|
|
|
@ -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":
|
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:
|
ctypedef struct Elm_Entry_Anchor_Info:
|
||||||
char *name
|
char *name
|
||||||
int button
|
int button
|
||||||
|
|
|
@ -1,25 +1,6 @@
|
||||||
|
from efl.elementary.enums cimport Elm_Fileselector_Mode, Elm_Fileselector_Sort
|
||||||
|
|
||||||
cdef extern from "Elementary.h":
|
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)
|
ctypedef Eina_Bool (*Elm_Fileselector_Filter_Func)(const char *path, Eina_Bool dir, void *data)
|
||||||
|
|
||||||
Evas_Object * elm_fileselector_add(Evas_Object *parent)
|
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":
|
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)
|
Evas_Object *elm_flip_add(Evas_Object *parent)
|
||||||
Eina_Bool elm_flip_front_visible_get(const Evas_Object *obj)
|
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)
|
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":
|
cdef extern from "Elementary.h":
|
||||||
|
|
||||||
ctypedef cEo Elm_Gengrid
|
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 char *(*GengridItemLabelGetFunc) (void *data, Evas_Object *obj, const char *part)
|
||||||
ctypedef Evas_Object *(*GengridItemIconGetFunc) (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)
|
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)
|
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)
|
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)
|
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_show(Elm_Object_Item *item, Elm_Gengrid_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_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_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_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)
|
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):
|
def selected_get(self):
|
||||||
return bool(elm_gengrid_item_selected_get(self.item))
|
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
|
"""This causes gengrid to **redraw** its viewport's contents to the
|
||||||
region containing the given ``item``, if it is not fully
|
region containing the given ``item``, if it is not fully
|
||||||
visible.
|
visible.
|
||||||
|
@ -274,7 +274,7 @@ cdef class GengridItem(ObjectItem):
|
||||||
"""
|
"""
|
||||||
elm_gengrid_item_show(self.item, scrollto_type)
|
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
|
"""This causes gengrid to jump to the item and show
|
||||||
it (by scrolling), if it is not fully visible. This will use
|
it (by scrolling), if it is not fully visible. This will use
|
||||||
animation to do so and take a period of time to complete.
|
animation to do so and take a period of time to complete.
|
||||||
|
@ -327,7 +327,7 @@ cdef class GengridItem(ObjectItem):
|
||||||
|
|
||||||
:return: The list of now orphans objects
|
:return: The list of now orphans objects
|
||||||
:rtype: list
|
:rtype: list
|
||||||
|
|
||||||
.. versionadded:: 1.18
|
.. versionadded:: 1.18
|
||||||
|
|
||||||
.. warning:: Don't forget to do something with the returned objects,
|
.. warning:: Don't forget to do something with the returned objects,
|
||||||
|
|
|
@ -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":
|
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 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 *(*GenlistItemIconGetFunc) (void *data, Evas_Object *obj, const char *part)
|
||||||
ctypedef Evas_Object *(*GenlistItemReusableIconGetFunc)(void *data, Evas_Object *obj, const char *part, Evas_Object *old)
|
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,
|
def __init__(self, GenlistItemClass item_class not None, item_data=None,
|
||||||
GenlistItem parent_item=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):
|
func=None, func_data=None, *args, **kwargs):
|
||||||
"""GenlistItem(...)
|
"""GenlistItem(...)
|
||||||
|
|
||||||
|
@ -330,7 +330,7 @@ cdef class GenlistItem(ObjectItem):
|
||||||
cdef bint ret = elm_genlist_item_selected_get(self.item)
|
cdef bint ret = elm_genlist_item_selected_get(self.item)
|
||||||
return ret
|
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
|
"""This causes genlist to jump to the item and show it (by
|
||||||
jumping to that position), if it is not fully visible.
|
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)
|
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
|
"""This causes genlist to jump to the item and show it (by
|
||||||
animatedly scrolling), if it is not fully visible.
|
animatedly scrolling), if it is not fully visible.
|
||||||
This may use animation and take a some time to do so.
|
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,
|
GenlistItemClass item_class not None,
|
||||||
item_data,
|
item_data,
|
||||||
ObjectItem parent_item=None,
|
ObjectItem parent_item=None,
|
||||||
int flags=ELM_GENLIST_ITEM_NONE,
|
int flags=enums.ELM_GENLIST_ITEM_NONE,
|
||||||
func=None):
|
func=None):
|
||||||
"""Append a new item (add as last row) to this genlist.
|
"""Append a new item (add as last row) to this genlist.
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ cdef class Genlist(Object):
|
||||||
GenlistItemClass item_class not None,
|
GenlistItemClass item_class not None,
|
||||||
item_data,
|
item_data,
|
||||||
ObjectItem parent_item=None,
|
ObjectItem parent_item=None,
|
||||||
int flags=ELM_GENLIST_ITEM_NONE,
|
int flags=enums.ELM_GENLIST_ITEM_NONE,
|
||||||
func=None):
|
func=None):
|
||||||
"""Prepend a new item (add as first row) to this genlist.
|
"""Prepend a new item (add as first row) to this genlist.
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ cdef class Genlist(Object):
|
||||||
GenlistItemClass item_class not None,
|
GenlistItemClass item_class not None,
|
||||||
item_data,
|
item_data,
|
||||||
ObjectItem before_item=None,
|
ObjectItem before_item=None,
|
||||||
int flags=ELM_GENLIST_ITEM_NONE,
|
int flags=enums.ELM_GENLIST_ITEM_NONE,
|
||||||
func=None
|
func=None
|
||||||
):
|
):
|
||||||
"""Insert a new item before another item to this genlist.
|
"""Insert a new item before another item to this genlist.
|
||||||
|
@ -217,7 +217,7 @@ cdef class Genlist(Object):
|
||||||
GenlistItemClass item_class not None,
|
GenlistItemClass item_class not None,
|
||||||
item_data,
|
item_data,
|
||||||
ObjectItem after_item=None,
|
ObjectItem after_item=None,
|
||||||
int flags=ELM_GENLIST_ITEM_NONE,
|
int flags=enums.ELM_GENLIST_ITEM_NONE,
|
||||||
func=None
|
func=None
|
||||||
):
|
):
|
||||||
"""Insert a new item after another item to this genlist.
|
"""Insert a new item after another item to this genlist.
|
||||||
|
@ -254,7 +254,7 @@ cdef class Genlist(Object):
|
||||||
item_data,
|
item_data,
|
||||||
comparison_func not None,
|
comparison_func not None,
|
||||||
ObjectItem parent_item=None,
|
ObjectItem parent_item=None,
|
||||||
int flags=ELM_GENLIST_ITEM_NONE,
|
int flags=enums.ELM_GENLIST_ITEM_NONE,
|
||||||
func=None
|
func=None
|
||||||
):
|
):
|
||||||
"""This inserts a new item in the genlist based on a user defined
|
"""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):
|
if not callable(callback):
|
||||||
raise TypeError("callback is not callable")
|
raise TypeError("callback is not callable")
|
||||||
|
|
||||||
if idx == <int>ELM_GESTURE_N_TAPS or \
|
if idx == <int>enums.ELM_GESTURE_N_TAPS or \
|
||||||
idx == <int>ELM_GESTURE_N_LONG_TAPS or \
|
idx == <int>enums.ELM_GESTURE_N_LONG_TAPS or \
|
||||||
idx == <int>ELM_GESTURE_N_DOUBLE_TAPS or \
|
idx == <int>enums.ELM_GESTURE_N_DOUBLE_TAPS or \
|
||||||
idx == <int>ELM_GESTURE_N_TRIPLE_TAPS:
|
idx == <int>enums.ELM_GESTURE_N_TRIPLE_TAPS:
|
||||||
cb = _gesture_layer_taps_event_cb
|
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
|
cb = _gesture_layer_momentum_event_cb
|
||||||
elif idx == <int>ELM_GESTURE_N_LINES or \
|
elif idx == <int>enums.ELM_GESTURE_N_LINES or \
|
||||||
idx == <int>ELM_GESTURE_N_FLICKS:
|
idx == <int>enums.ELM_GESTURE_N_FLICKS:
|
||||||
cb = _gesture_layer_line_event_cb
|
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
|
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
|
cb = _gesture_layer_rotate_event_cb
|
||||||
else:
|
else:
|
||||||
raise TypeError("Unknown gesture type")
|
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":
|
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:
|
ctypedef struct Elm_Gesture_Taps_Info:
|
||||||
Evas_Coord x, y
|
Evas_Coord x, y
|
||||||
unsigned int n
|
unsigned int n
|
||||||
|
|
|
@ -1,13 +1,6 @@
|
||||||
|
from efl.elementary.enums cimport Elm_Hover_Axis
|
||||||
|
|
||||||
cdef extern from "Elementary.h":
|
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)
|
Evas_Object *elm_hover_add(Evas_Object *parent)
|
||||||
void elm_hover_target_set(Evas_Object *obj, Evas_Object *target)
|
void elm_hover_target_set(Evas_Object *obj, Evas_Object *target)
|
||||||
Evas_Object *elm_hover_target_get(const Evas_Object *obj)
|
Evas_Object *elm_hover_target_get(const Evas_Object *obj)
|
||||||
|
|
|
@ -32,7 +32,7 @@ cdef class HoverselItem(ObjectItem):
|
||||||
Elm_Icon_Type icon_type
|
Elm_Icon_Type icon_type
|
||||||
|
|
||||||
def __init__(self, label = None, icon_file = None,
|
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):
|
*args, **kwargs):
|
||||||
"""HoverselItem(...)
|
"""HoverselItem(...)
|
||||||
|
|
||||||
|
@ -295,7 +295,7 @@ cdef class Hoversel(Button):
|
||||||
return _object_item_list_to_python(elm_hoversel_items_get(self.obj))
|
return _object_item_list_to_python(elm_hoversel_items_get(self.obj))
|
||||||
|
|
||||||
def item_add(self, label = None, icon_file = None,
|
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:
|
cdef:
|
||||||
Elm_Object_Item *item
|
Elm_Object_Item *item
|
||||||
Evas_Smart_Cb cb = NULL
|
Evas_Smart_Cb cb = NULL
|
||||||
|
|
|
@ -1,12 +1,4 @@
|
||||||
cdef extern from "Elementary.h":
|
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)
|
Evas_Object *elm_hoversel_add(Evas_Object *parent)
|
||||||
void elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
|
void elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
|
||||||
Eina_Bool elm_hoversel_horizontal_get(const Evas_Object *obj)
|
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":
|
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)
|
Evas_Object * elm_icon_add(Evas_Object *parent)
|
||||||
void elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group)
|
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)
|
Eina_Bool elm_icon_standard_set(Evas_Object *obj, const char *name)
|
||||||
const char * elm_icon_standard_get(const Evas_Object *obj)
|
const char * elm_icon_standard_get(const Evas_Object *obj)
|
||||||
void elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order)
|
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)
|
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":
|
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:
|
ctypedef struct Elm_Image_Progress:
|
||||||
double now
|
double now
|
||||||
double total
|
double total
|
||||||
|
|
|
@ -1,20 +1,6 @@
|
||||||
|
from efl.elementary.enums cimport Elm_Wrap_Type, Elm_Label_Slide_Mode
|
||||||
|
|
||||||
cdef extern from "Elementary.h":
|
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)
|
Evas_Object *elm_label_add(Evas_Object *parent)
|
||||||
void elm_label_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap)
|
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)
|
Elm_Wrap_Type elm_label_line_wrap_get(const Evas_Object *obj)
|
||||||
|
|
|
@ -1,29 +1,4 @@
|
||||||
cdef extern from "Elementary.h":
|
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)
|
Evas_Object *elm_list_add(Evas_Object *parent)
|
||||||
void elm_list_go(Evas_Object *obj)
|
void elm_list_go(Evas_Object *obj)
|
||||||
void elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi)
|
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":
|
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_Overlay
|
||||||
ctypedef void *Elm_Map_Route
|
ctypedef void *Elm_Map_Route
|
||||||
ctypedef void *Elm_Map_Name
|
ctypedef void *Elm_Map_Name
|
||||||
|
|
|
@ -126,7 +126,7 @@ def need_systray():
|
||||||
cdef bint ret = elm_need_systray()
|
cdef bint ret = elm_need_systray()
|
||||||
if ret:
|
if ret:
|
||||||
try:
|
try:
|
||||||
_event_mapping_register(ELM_EVENT_SYSTRAY_READY, EventSystrayReady)
|
_event_mapping_register(enums.ELM_EVENT_SYSTRAY_READY, EventSystrayReady)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
return ret
|
return ret
|
||||||
|
@ -148,11 +148,11 @@ def need_sys_notify():
|
||||||
if ret:
|
if ret:
|
||||||
try:
|
try:
|
||||||
_event_mapping_register(
|
_event_mapping_register(
|
||||||
ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED,
|
enums.ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED,
|
||||||
SysNotifyNotificationClosed
|
SysNotifyNotificationClosed
|
||||||
)
|
)
|
||||||
_event_mapping_register(
|
_event_mapping_register(
|
||||||
ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED,
|
enums.ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED,
|
||||||
SysNotifyActionInvoked
|
SysNotifyActionInvoked
|
||||||
)
|
)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
@ -218,7 +218,7 @@ def need_ethumb():
|
||||||
"""
|
"""
|
||||||
cdef bint ret = elm_need_ethumb()
|
cdef bint ret = elm_need_ethumb()
|
||||||
try:
|
try:
|
||||||
_event_mapping_register(ELM_ECORE_EVENT_ETHUMB_CONNECT, EthumbConnect)
|
_event_mapping_register(enums.ELM_ECORE_EVENT_ETHUMB_CONNECT, EthumbConnect)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
return ret
|
return ret
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
cdef extern from "Elementary.h":
|
from efl.elementary.enums cimport Elm_Sys_Notify_Closed_Reason
|
||||||
cpdef enum:
|
|
||||||
ELM_ECORE_EVENT_ETHUMB_CONNECT
|
|
||||||
ELM_EVENT_SYS_NOTIFY_NOTIFICATION_CLOSED
|
|
||||||
ELM_EVENT_SYS_NOTIFY_ACTION_INVOKED
|
|
||||||
ELM_EVENT_SYSTRAY_READY
|
|
||||||
|
|
||||||
|
cdef extern from "Elementary.h":
|
||||||
ctypedef struct Elm_Sys_Notify_Notification_Closed:
|
ctypedef struct Elm_Sys_Notify_Notification_Closed:
|
||||||
unsigned int id # ID of the notification.
|
unsigned int id # ID of the notification.
|
||||||
Elm_Sys_Notify_Closed_Reason reason # The Reason the notification was closed.
|
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.
|
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.
|
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_efreet()
|
||||||
Eina_Bool elm_need_systray()
|
Eina_Bool elm_need_systray()
|
||||||
Eina_Bool elm_need_sys_notify()
|
Eina_Bool elm_need_sys_notify()
|
||||||
|
|
|
@ -1,20 +1,4 @@
|
||||||
cdef extern from "Elementary.h":
|
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)
|
Evas_Object *elm_notify_add(Evas_Object *parent)
|
||||||
void elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent)
|
void elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent)
|
||||||
Evas_Object *elm_notify_parent_get(const Evas_Object *obj)
|
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
|
# 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/>.
|
# 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":
|
cdef extern from "Edje.h":
|
||||||
ctypedef void (*Edje_Signal_Cb)(void *data, Evas_Object *obj, const char *emission, const char *source)
|
ctypedef void (*Edje_Signal_Cb)(void *data, Evas_Object *obj, const char *emission, const char *source)
|
||||||
|
|
||||||
|
|
||||||
cdef extern from "Elementary.h":
|
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_Theme
|
||||||
|
|
||||||
ctypedef struct Elm_Object_Item
|
ctypedef struct Elm_Object_Item
|
||||||
|
|
|
@ -1,13 +1,6 @@
|
||||||
|
from efl.elementary.enums cimport Elm_Panel_Orient
|
||||||
|
|
||||||
cdef extern from "Elementary.h":
|
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)
|
Evas_Object *elm_panel_add(Evas_Object *parent)
|
||||||
void elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient)
|
void elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient)
|
||||||
Elm_Panel_Orient elm_panel_orient_get(const Evas_Object *obj)
|
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":
|
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:
|
ctypedef struct Elm_Photocam_Progress:
|
||||||
double now
|
double now
|
||||||
double total
|
double total
|
||||||
|
|
|
@ -1,28 +1,6 @@
|
||||||
|
from efl.elementary.enums cimport Elm_Popup_Orient, Elm_Wrap_Type
|
||||||
|
|
||||||
cdef extern from "Elementary.h":
|
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)
|
Evas_Object *elm_popup_add(Evas_Object *parent)
|
||||||
void elm_popup_align_set(Evas_Object *obj, double horizontal, double vertical)
|
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)
|
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":
|
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)
|
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_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)
|
void elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h)
|
||||||
|
@ -60,4 +39,4 @@ cdef extern from "Elementary.h":
|
||||||
void elm_scroller_loop_get(const Evas_Object *obj, Eina_Bool *loop_h, Eina_Bool *loop_v)
|
void elm_scroller_loop_get(const Evas_Object *obj, Eina_Bool *loop_h, Eina_Bool *loop_v)
|
||||||
void elm_scroller_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled)
|
void elm_scroller_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled)
|
||||||
Eina_Bool elm_scroller_wheel_disabled_get(const Evas_Object *obj)
|
Eina_Bool elm_scroller_wheel_disabled_get(const Evas_Object *obj)
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,4 @@
|
||||||
cdef extern from "Elementary.h":
|
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)
|
Evas_Object * elm_slider_add(Evas_Object *parent)
|
||||||
void elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size)
|
void elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size)
|
||||||
Evas_Coord elm_slider_span_size_get(const Evas_Object *obj)
|
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):
|
def on_systray_ready(func, *args, **kwargs):
|
||||||
"""Use this to set a handler for the systray ready event."""
|
"""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":
|
cdef extern from "Elementary.h":
|
||||||
|
|
||||||
ctypedef cEo Elm_Systray
|
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()
|
const Eo_Class *elm_systray_class_get()
|
||||||
|
|
||||||
void elm_obj_systray_id_set(cEo *obj, const char *id)
|
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":
|
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)
|
Evas_Object *elm_thumb_add(Evas_Object *parent)
|
||||||
void elm_thumb_reload(Evas_Object *obj)
|
void elm_thumb_reload(Evas_Object *obj)
|
||||||
void elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key)
|
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":
|
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:
|
ctypedef struct Elm_Toolbar_Item_State:
|
||||||
pass
|
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":
|
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 struct Elm_Transit
|
||||||
ctypedef void Elm_Transit_Effect
|
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":
|
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:
|
ctypedef struct Elm_Web_Frame_Load_Error:
|
||||||
int code
|
int code
|
||||||
Eina_Bool is_cancellation
|
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":
|
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_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_standard_add(const char *name, const char *title)
|
||||||
Evas_Object *elm_win_util_dialog_add(Evas_Object *parent, 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
|
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 void _emotion_callback(void *data, Evas_Object *o, void *ei) with gil:
|
||||||
cdef Emotion obj
|
cdef Emotion obj
|
||||||
|
@ -952,14 +1028,14 @@ cdef class Emotion(evasObject):
|
||||||
"""
|
"""
|
||||||
cdef const char *info
|
cdef const char *info
|
||||||
ret = dict()
|
ret = dict()
|
||||||
lst = (("title", EMOTION_META_INFO_TRACK_TITLE),
|
lst = (("title", enums.EMOTION_META_INFO_TRACK_TITLE),
|
||||||
("artist", EMOTION_META_INFO_TRACK_ARTIST),
|
("artist", enums.EMOTION_META_INFO_TRACK_ARTIST),
|
||||||
("album", EMOTION_META_INFO_TRACK_ALBUM),
|
("album", enums.EMOTION_META_INFO_TRACK_ALBUM),
|
||||||
("year", EMOTION_META_INFO_TRACK_YEAR),
|
("year", enums.EMOTION_META_INFO_TRACK_YEAR),
|
||||||
("genre", EMOTION_META_INFO_TRACK_GENRE),
|
("genre", enums.EMOTION_META_INFO_TRACK_GENRE),
|
||||||
("comment", EMOTION_META_INFO_TRACK_COMMENT),
|
("comment", enums.EMOTION_META_INFO_TRACK_COMMENT),
|
||||||
("disc_id", EMOTION_META_INFO_TRACK_DISC_ID),
|
("disc_id", enums.EMOTION_META_INFO_TRACK_DISC_ID),
|
||||||
("track_count", EMOTION_META_INFO_TRACK_COUNT))
|
("track_count", enums.EMOTION_META_INFO_TRACK_COUNT))
|
||||||
for n, i in lst:
|
for n, i in lst:
|
||||||
info = emotion_object_meta_info_get(self.obj, i)
|
info = emotion_object_meta_info_get(self.obj, i)
|
||||||
if info != NULL:
|
if info != NULL:
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
.. versionadded:: 1.17
|
.. versionadded:: 1.17
|
||||||
|
|
||||||
|
|
||||||
Classes
|
Classes
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
@ -41,11 +41,11 @@ Ethumb_Thumb_FDO_Size
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_NORMAL
|
.. data:: ETHUMB_THUMB_NORMAL
|
||||||
|
|
||||||
128x128 as defined by FreeDesktop.Org standard
|
128x128 as defined by FreeDesktop.Org standard
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_LARGE
|
.. data:: ETHUMB_THUMB_LARGE
|
||||||
|
|
||||||
256x256 as defined by FreeDesktop.Org standard
|
256x256 as defined by FreeDesktop.Org standard
|
||||||
|
|
||||||
|
|
||||||
.. _Ethumb_Thumb_Format:
|
.. _Ethumb_Thumb_Format:
|
||||||
|
@ -55,13 +55,13 @@ Ethumb_Thumb_Format
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_FDO
|
.. data:: ETHUMB_THUMB_FDO
|
||||||
|
|
||||||
PNG as defined by FreeDesktop.Org standard.
|
PNG as defined by FreeDesktop.Org standard.
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_JPEG
|
.. data:: ETHUMB_THUMB_JPEG
|
||||||
|
|
||||||
JPEGs are often smaller and faster to read/write.
|
JPEGs are often smaller and faster to read/write.
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_EET
|
.. data:: ETHUMB_THUMB_EET
|
||||||
|
|
||||||
EFL's own storage system, supports key parameter.
|
EFL's own storage system, supports key parameter.
|
||||||
|
|
||||||
|
@ -75,11 +75,11 @@ Ethumb_Thumb_Aspect
|
||||||
|
|
||||||
Keep original proportion between width and height
|
Keep original proportion between width and height
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_IGNORE_ASPECT
|
.. data:: ETHUMB_THUMB_IGNORE_ASPECT
|
||||||
|
|
||||||
Ignore aspect and foce it to match thumbnail's width and height
|
Ignore aspect and foce it to match thumbnail's width and height
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_CROP
|
.. data:: ETHUMB_THUMB_CROP
|
||||||
|
|
||||||
keep aspect but crop (cut) the largest dimension
|
keep aspect but crop (cut) the largest dimension
|
||||||
|
|
||||||
|
@ -89,41 +89,41 @@ Ethumb_Thumb_Aspect
|
||||||
Ethumb_Thumb_Orientation
|
Ethumb_Thumb_Orientation
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_ORIENT_NONE
|
.. data:: ETHUMB_THUMB_ORIENT_NONE
|
||||||
|
|
||||||
Keep orientation as pixel data is
|
Keep orientation as pixel data is
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_ROTATE_90_CW
|
.. data:: ETHUMB_THUMB_ROTATE_90_CW
|
||||||
|
|
||||||
Rotate 90° clockwise
|
Rotate 90° clockwise
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_ROTATE_180
|
.. data:: ETHUMB_THUMB_ROTATE_180
|
||||||
|
|
||||||
Rotate 180°
|
Rotate 180°
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_ROTATE_90_CCW
|
.. data:: ETHUMB_THUMB_ROTATE_90_CCW
|
||||||
|
|
||||||
Rotate 90° counter-clockwise
|
Rotate 90° counter-clockwise
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_FLIP_HORIZONTAL
|
.. data:: ETHUMB_THUMB_FLIP_HORIZONTAL
|
||||||
|
|
||||||
Flip horizontally
|
Flip horizontally
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_FLIP_VERTICAL
|
.. data:: ETHUMB_THUMB_FLIP_VERTICAL
|
||||||
|
|
||||||
Flip vertically
|
Flip vertically
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_FLIP_TRANSPOSE
|
.. data:: ETHUMB_THUMB_FLIP_TRANSPOSE
|
||||||
|
|
||||||
Transpose
|
Transpose
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_FLIP_TRANSVERSE
|
.. data:: ETHUMB_THUMB_FLIP_TRANSVERSE
|
||||||
|
|
||||||
Transverse
|
Transverse
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_ORIENT_ORIGINAL
|
.. data:: ETHUMB_THUMB_ORIENT_ORIGINAL
|
||||||
|
|
||||||
Use orientation from metadata (EXIF-only currently)
|
Use orientation from metadata (EXIF-only currently)
|
||||||
|
|
||||||
|
|
||||||
Module level functions
|
Module level functions
|
||||||
|
@ -157,6 +157,29 @@ from efl.c_ethumb cimport Ethumb as cEthumb, Ethumb_Thumb_FDO_Size, \
|
||||||
import atexit
|
import atexit
|
||||||
import traceback
|
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:
|
cdef void _generate_cb(void *data, cEthumb *e, Eina_Bool success) with gil:
|
||||||
obj = <object>data
|
obj = <object>data
|
||||||
|
@ -240,7 +263,7 @@ cdef class Ethumb(object):
|
||||||
return bool(ethumb_exists(self.obj))
|
return bool(ethumb_exists(self.obj))
|
||||||
|
|
||||||
def generate(self, func, *args, **kargs):
|
def generate(self, func, *args, **kargs):
|
||||||
""" Generate the thumbnail.
|
""" Generate the thumbnail.
|
||||||
|
|
||||||
Thumbnail generation is asynchronous and depend on ecore main
|
Thumbnail generation is asynchronous and depend on ecore main
|
||||||
loop running. Given function will be called back with
|
loop running. Given function will be called back with
|
||||||
|
@ -258,7 +281,7 @@ cdef class Ethumb(object):
|
||||||
with success being ``True`` for successful generation or
|
with success being ``True`` for successful generation or
|
||||||
``False`` on failure.
|
``False`` on failure.
|
||||||
|
|
||||||
:return: ``True`` on success and ``False`` on failure
|
:return: ``True`` on success and ``False`` on failure
|
||||||
|
|
||||||
:raise TypeError: if **func** is not callable.
|
:raise TypeError: if **func** is not callable.
|
||||||
|
|
||||||
|
@ -579,7 +602,7 @@ cdef class Ethumb(object):
|
||||||
.. note:: that video backends might not be able to
|
.. note:: that video backends might not be able to
|
||||||
precisely skip that amount as it will depend on various
|
precisely skip that amount as it will depend on various
|
||||||
factors, including video encoding.
|
factors, including video encoding.
|
||||||
|
|
||||||
:type: float
|
:type: float
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -41,11 +41,11 @@ Ethumb_Thumb_FDO_Size
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_NORMAL
|
.. data:: ETHUMB_THUMB_NORMAL
|
||||||
|
|
||||||
128x128 as defined by FreeDesktop.Org standard
|
128x128 as defined by FreeDesktop.Org standard
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_LARGE
|
.. data:: ETHUMB_THUMB_LARGE
|
||||||
|
|
||||||
256x256 as defined by FreeDesktop.Org standard
|
256x256 as defined by FreeDesktop.Org standard
|
||||||
|
|
||||||
|
|
||||||
.. _Ethumb_Client_Thumb_Format:
|
.. _Ethumb_Client_Thumb_Format:
|
||||||
|
@ -55,13 +55,13 @@ Ethumb_Thumb_Format
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_FDO
|
.. data:: ETHUMB_THUMB_FDO
|
||||||
|
|
||||||
PNG as defined by FreeDesktop.Org standard.
|
PNG as defined by FreeDesktop.Org standard.
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_JPEG
|
.. data:: ETHUMB_THUMB_JPEG
|
||||||
|
|
||||||
JPEGs are often smaller and faster to read/write.
|
JPEGs are often smaller and faster to read/write.
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_EET
|
.. data:: ETHUMB_THUMB_EET
|
||||||
|
|
||||||
EFL's own storage system, supports key parameter.
|
EFL's own storage system, supports key parameter.
|
||||||
|
|
||||||
|
@ -75,11 +75,11 @@ Ethumb_Thumb_Aspect
|
||||||
|
|
||||||
Keep original proportion between width and height
|
Keep original proportion between width and height
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_IGNORE_ASPECT
|
.. data:: ETHUMB_THUMB_IGNORE_ASPECT
|
||||||
|
|
||||||
Ignore aspect and foce it to match thumbnail's width and height
|
Ignore aspect and foce it to match thumbnail's width and height
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_CROP
|
.. data:: ETHUMB_THUMB_CROP
|
||||||
|
|
||||||
keep aspect but crop (cut) the largest dimension
|
keep aspect but crop (cut) the largest dimension
|
||||||
|
|
||||||
|
@ -89,41 +89,41 @@ Ethumb_Thumb_Aspect
|
||||||
Ethumb_Thumb_Orientation
|
Ethumb_Thumb_Orientation
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_ORIENT_NONE
|
.. data:: ETHUMB_THUMB_ORIENT_NONE
|
||||||
|
|
||||||
Keep orientation as pixel data is
|
Keep orientation as pixel data is
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_ROTATE_90_CW
|
.. data:: ETHUMB_THUMB_ROTATE_90_CW
|
||||||
|
|
||||||
Rotate 90° clockwise
|
Rotate 90° clockwise
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_ROTATE_180
|
.. data:: ETHUMB_THUMB_ROTATE_180
|
||||||
|
|
||||||
Rotate 180°
|
Rotate 180°
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_ROTATE_90_CCW
|
.. data:: ETHUMB_THUMB_ROTATE_90_CCW
|
||||||
|
|
||||||
Rotate 90° counter-clockwise
|
Rotate 90° counter-clockwise
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_FLIP_HORIZONTAL
|
.. data:: ETHUMB_THUMB_FLIP_HORIZONTAL
|
||||||
|
|
||||||
Flip horizontally
|
Flip horizontally
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_FLIP_VERTICAL
|
.. data:: ETHUMB_THUMB_FLIP_VERTICAL
|
||||||
|
|
||||||
Flip vertically
|
Flip vertically
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_FLIP_TRANSPOSE
|
.. data:: ETHUMB_THUMB_FLIP_TRANSPOSE
|
||||||
|
|
||||||
Transpose
|
Transpose
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_FLIP_TRANSVERSE
|
.. data:: ETHUMB_THUMB_FLIP_TRANSVERSE
|
||||||
|
|
||||||
Transverse
|
Transverse
|
||||||
|
|
||||||
.. data:: ETHUMB_THUMB_ORIENT_ORIGINAL
|
.. data:: ETHUMB_THUMB_ORIENT_ORIGINAL
|
||||||
|
|
||||||
Use orientation from metadata (EXIF-only currently)
|
Use orientation from metadata (EXIF-only currently)
|
||||||
|
|
||||||
|
|
||||||
Module level functions
|
Module level functions
|
||||||
|
@ -140,6 +140,29 @@ import atexit
|
||||||
from efl.utils.conversions cimport _ctouni, _touni
|
from efl.utils.conversions cimport _ctouni, _touni
|
||||||
from efl.ethumb_client cimport Ethumb_Thumb_Orientation
|
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 void _connect_cb(void *data, Ethumb_Client *client, Eina_Bool success) with gil:
|
||||||
cdef EthumbClient self = <EthumbClient>data
|
cdef EthumbClient self = <EthumbClient>data
|
||||||
|
@ -722,7 +745,7 @@ cdef class EthumbClient:
|
||||||
.. note:: that video backends might not be able to
|
.. note:: that video backends might not be able to
|
||||||
precisely skip that amount as it will depend on various
|
precisely skip that amount as it will depend on various
|
||||||
factors, including video encoding.
|
factors, including video encoding.
|
||||||
|
|
||||||
:type: float (**readonly**)
|
:type: float (**readonly**)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1043,6 +1043,10 @@ EVAS_CALLBACK_AXIS_UPDATE = enums.EVAS_CALLBACK_AXIS_UPDATE
|
||||||
EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE = enums.EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE
|
EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE = enums.EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE
|
||||||
EVAS_CALLBACK_LAST = enums.EVAS_CALLBACK_LAST
|
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_DOWN = enums.EVAS_TOUCH_POINT_DOWN
|
||||||
EVAS_TOUCH_POINT_UP = enums.EVAS_TOUCH_POINT_UP
|
EVAS_TOUCH_POINT_UP = enums.EVAS_TOUCH_POINT_UP
|
||||||
EVAS_TOUCH_POINT_MOVE = enums.EVAS_TOUCH_POINT_MOVE
|
EVAS_TOUCH_POINT_MOVE = enums.EVAS_TOUCH_POINT_MOVE
|
||||||
|
|
|
@ -17,24 +17,11 @@
|
||||||
|
|
||||||
from efl.eina cimport Eina_Bool, Eina_Free_Cb
|
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":
|
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
|
# Structs
|
||||||
#
|
#
|
||||||
|
|
|
@ -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.eina cimport Eina_Bool, Eina_List, Eina_Iterator
|
||||||
from efl.evas cimport Object, Evas_Object, Evas, Evas_Font_Size, Evas_Coord
|
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":
|
cdef extern from "Edje.h":
|
||||||
####################################################################
|
####################################################################
|
||||||
|
@ -27,165 +31,6 @@ cdef extern from "Edje.h":
|
||||||
cdef double EDJE_EXTERNAL_DOUBLE_UNSET
|
cdef double EDJE_EXTERNAL_DOUBLE_UNSET
|
||||||
cdef unsigned int EDJE_EXTERNAL_TYPE_ABI_VERSION
|
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
|
# 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, \
|
from efl.edje cimport Edje_Part_Type, Edje_Text_Effect, Edje_Tween_Mode, \
|
||||||
Edje_Action_Type
|
Edje_Action_Type
|
||||||
|
|
||||||
|
from efl.edje_edit.enums cimport Edje_Edit_Image_Comp
|
||||||
|
|
||||||
cdef extern from "Edje_Edit.h":
|
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
|
# 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 Evas, Evas_Object
|
||||||
from efl.evas cimport Object as evasObject
|
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":
|
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
|
# 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
|
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 class Ethumb:
|
||||||
cdef cEthumb *obj
|
cdef cEthumb *obj
|
||||||
|
|
|
@ -17,45 +17,11 @@
|
||||||
|
|
||||||
from efl.eina cimport Eina_Bool, Eina_Free_Cb
|
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":
|
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
|
# Structs
|
||||||
#
|
#
|
||||||
|
|
122
setup.py
122
setup.py
|
@ -362,74 +362,74 @@ if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):
|
||||||
eina_libs + evas_libs)
|
eina_libs + evas_libs)
|
||||||
ext_modules.append(ecore_x_ext)
|
ext_modules.append(ecore_x_ext)
|
||||||
|
|
||||||
# # === Ethumb ===
|
# === Ethumb ===
|
||||||
# ethumb_cflags, ethumb_libs = pkg_config('Ethumb', 'ethumb', EFL_MIN_VER)
|
ethumb_cflags, ethumb_libs = pkg_config('Ethumb', 'ethumb', EFL_MIN_VER)
|
||||||
# ethumb_ext = Extension("ethumb", ["efl/ethumb/efl.ethumb" + module_suffix],
|
ethumb_ext = Extension("ethumb", ["efl/ethumb/efl.ethumb" + module_suffix],
|
||||||
# include_dirs=['include/'],
|
include_dirs=['include/'],
|
||||||
# extra_compile_args=ethumb_cflags,
|
extra_compile_args=ethumb_cflags,
|
||||||
# extra_link_args=ethumb_libs + eina_libs)
|
extra_link_args=ethumb_libs + eina_libs)
|
||||||
# ext_modules.append(ethumb_ext)
|
ext_modules.append(ethumb_ext)
|
||||||
|
|
||||||
# # === Ethumb Client ===
|
# === Ethumb Client ===
|
||||||
# ethumb_client_cflags, ethumb_client_libs = pkg_config('Ethumb_Client',
|
ethumb_client_cflags, ethumb_client_libs = pkg_config('Ethumb_Client',
|
||||||
# 'ethumb_client', EFL_MIN_VER)
|
'ethumb_client', EFL_MIN_VER)
|
||||||
# ethumb_client_ext = Extension("ethumb_client",
|
ethumb_client_ext = Extension("ethumb_client",
|
||||||
# ["efl/ethumb/efl.ethumb_client" + module_suffix],
|
["efl/ethumb/efl.ethumb_client" + module_suffix],
|
||||||
# include_dirs=['include/'],
|
include_dirs=['include/'],
|
||||||
# extra_compile_args=ethumb_client_cflags,
|
extra_compile_args=ethumb_client_cflags,
|
||||||
# extra_link_args=ethumb_client_libs + eina_libs)
|
extra_link_args=ethumb_client_libs + eina_libs)
|
||||||
# ext_modules.append(ethumb_client_ext)
|
ext_modules.append(ethumb_client_ext)
|
||||||
|
|
||||||
# # === Edje ===
|
# === Edje ===
|
||||||
# edje_cflags, edje_libs = pkg_config('Edje', 'edje', EFL_MIN_VER)
|
edje_cflags, edje_libs = pkg_config('Edje', 'edje', EFL_MIN_VER)
|
||||||
# edje_ext = Extension("edje", ["efl/edje/efl.edje" + module_suffix],
|
edje_ext = Extension("edje", ["efl/edje/efl.edje" + module_suffix],
|
||||||
# include_dirs=['include/'],
|
include_dirs=['include/'],
|
||||||
# extra_compile_args=edje_cflags,
|
extra_compile_args=edje_cflags,
|
||||||
# extra_link_args=edje_libs + eina_libs + evas_libs)
|
extra_link_args=edje_libs + eina_libs + evas_libs)
|
||||||
# ext_modules.append(edje_ext)
|
ext_modules.append(edje_ext)
|
||||||
|
|
||||||
# # === Edje_Edit ===
|
# === Edje_Edit ===
|
||||||
# edje_edit_ext = Extension("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)],
|
define_macros=[('EDJE_EDIT_IS_UNSTABLE_AND_I_KNOW_ABOUT_IT', None)],
|
||||||
# include_dirs=['include/'],
|
include_dirs=['include/'],
|
||||||
# extra_compile_args=edje_cflags,
|
extra_compile_args=edje_cflags,
|
||||||
# extra_link_args=edje_libs + eina_libs + evas_libs)
|
extra_link_args=edje_libs + eina_libs + evas_libs)
|
||||||
# ext_modules.append(edje_edit_ext)
|
ext_modules.append(edje_edit_ext)
|
||||||
|
|
||||||
# # === Emotion ===
|
# === Emotion ===
|
||||||
# emotion_cflags, emotion_libs = pkg_config('Emotion', 'emotion', EFL_MIN_VER)
|
emotion_cflags, emotion_libs = pkg_config('Emotion', 'emotion', EFL_MIN_VER)
|
||||||
# emotion_ext = Extension("emotion",
|
emotion_ext = Extension("emotion",
|
||||||
# ["efl/emotion/efl.emotion" + module_suffix],
|
["efl/emotion/efl.emotion" + module_suffix],
|
||||||
# include_dirs=['include/'],
|
include_dirs=['include/'],
|
||||||
# extra_compile_args=emotion_cflags,
|
extra_compile_args=emotion_cflags,
|
||||||
# extra_link_args=emotion_libs +
|
extra_link_args=emotion_libs +
|
||||||
# eina_libs + evas_libs)
|
eina_libs + evas_libs)
|
||||||
# ext_modules.append(emotion_ext)
|
ext_modules.append(emotion_ext)
|
||||||
|
|
||||||
# # === dbus mainloop integration ===
|
# === dbus mainloop integration ===
|
||||||
# dbus_cflags, dbus_libs = pkg_config('DBus', 'dbus-python', "0.83.0")
|
dbus_cflags, dbus_libs = pkg_config('DBus', 'dbus-python', "0.83.0")
|
||||||
# dbus_ml_ext = Extension("dbus_mainloop",
|
dbus_ml_ext = Extension("dbus_mainloop",
|
||||||
# ["efl/dbus_mainloop/dbus_mainloop" + module_suffix,
|
["efl/dbus_mainloop/dbus_mainloop" + module_suffix,
|
||||||
# "efl/dbus_mainloop/e_dbus.c"],
|
"efl/dbus_mainloop/e_dbus.c"],
|
||||||
# extra_compile_args=list(set(dbus_cflags + ecore_cflags)),
|
extra_compile_args=list(set(dbus_cflags + ecore_cflags)),
|
||||||
# extra_link_args=dbus_libs + ecore_libs)
|
extra_link_args=dbus_libs + ecore_libs)
|
||||||
# ext_modules.append(dbus_ml_ext)
|
ext_modules.append(dbus_ml_ext)
|
||||||
|
|
||||||
# # === Elementary ===
|
# === Elementary ===
|
||||||
# elm_cflags, elm_libs = pkg_config('Elementary', 'elementary', ELM_MIN_VER)
|
elm_cflags, elm_libs = pkg_config('Elementary', 'elementary', ELM_MIN_VER)
|
||||||
# e = Extension("elementary.__init__",
|
e = Extension("elementary.__init__",
|
||||||
# ["efl/elementary/__init__" + module_suffix],
|
["efl/elementary/__init__" + module_suffix],
|
||||||
# define_macros=[
|
define_macros=[
|
||||||
# ('EFL_BETA_API_SUPPORT', 1),
|
('EFL_BETA_API_SUPPORT', 1),
|
||||||
# ('EFL_EO_API_SUPPORT', 1)
|
('EFL_EO_API_SUPPORT', 1)
|
||||||
# ],
|
],
|
||||||
# include_dirs=["include/"],
|
include_dirs=["include/"],
|
||||||
# extra_compile_args=elm_cflags,
|
extra_compile_args=elm_cflags,
|
||||||
# extra_link_args=elm_libs + eina_libs + eo_libs + evas_libs)
|
extra_link_args=elm_libs + eina_libs + eo_libs + evas_libs)
|
||||||
# ext_modules.append(e)
|
ext_modules.append(e)
|
||||||
|
|
||||||
# packages.append("efl.elementary")
|
packages.append("efl.elementary")
|
||||||
|
|
||||||
# Cythonize all the external modules (if needed)
|
# Cythonize all the external modules (if needed)
|
||||||
if USE_CYTHON:
|
if USE_CYTHON:
|
||||||
|
|
Loading…
Reference in New Issue