Edje evas object.
Edje is an important EFL component because it makes easy to split
logic and UI, usually used as theme engine but can be much more powerful
than just changing some random images or text fonts.
Edje also provides scripting through Embryo and communication can be
done using messages and signals.
Warning:
although Edje provides part_object_get(), you should NOT mess with
these objects states or you'll screw the given Edje. The objects
you get with this function should be handled as
"read-only".
Attention:
messages are one way only! If you emit a message from Python you
will just get it from your Embryo script, if you emit from Embryo
you just get it in Python. If you want to emit events and capture
them on the same side, use signals.
Note:
You can debug messages and signals by capturing all of them,
example:
>>> def sig_dbg(obj, emission, source):
... print "%s: %s %s" % (obj, emission, source)
...
>>> my_edje.signal_callback_add("*", "*", sig_dbg)
>>> def msg_dbg(obj, msg):
... print "%s: %s" % (obj, msg)
...
>>> my_edje.message_handler_set(msg_dbg)
|
__free_wrapper_resources(...) |
|
|
|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
a new object with type S, a subtype of T
|
|
|
|
|
|
|
|
bool
|
|
|
animation_set(...)
Set animation state. |
|
|
|
calc_force(...)
Force recalculation of parts state (geometry, position, ...) |
|
|
|
|
|
color_class_set(...)
Set color class. |
|
|
|
data_get(...)
Get data from Edje data collection (defined in .edj). |
|
|
tuple for str
|
|
|
|
int
|
freeze(...)
This puts all changes on hold. |
|
|
int
|
|
|
|
|
|
|
message_signal_process(...)
Manually iterate message signal system. |
|
|
int
|
|
|
|
tuple of float
|
|
|
|
tuple of float
|
|
|
|
|
|
tuple of float
|
|
|
|
tuple of float
|
|
|
|
bool
|
|
tuple of int
|
|
|
|
tuple of int
|
|
tuple of int
|
|
(name, value)
|
|
|
|
evas.c_evas.Object
|
|
str
|
|
|
part_text_select_all(...) |
|
|
|
part_text_select_none(...) |
|
|
|
|
|
|
|
|
|
|
bool
|
|
|
play_set(...)
Set the Edje to play or pause. |
|
|
|
|
|
signal_callback_del(...)
Remove the callable associated with given emission and source. |
|
|
|
signal_emit(...)
Emit signal with emission and source |
|
|
tuple of int
|
|
|
size_min_calc(...)
Request object to calculate minimum size. |
|
|
tuple of int
|
|
|
|
|
text_class_set(...)
Set text class. |
|
|
|
|
Inherited from evas.c_evas.Object :
clipees_get ,
evas_get ,
name_get ,
name_set ,
on_changed_size_hints_add ,
on_changed_size_hints_del ,
on_del_add ,
on_del_del ,
parent_get ,
size_hint_align_get ,
size_hint_align_set ,
size_hint_aspect_get ,
size_hint_aspect_set ,
size_hint_max_get ,
size_hint_max_set ,
size_hint_min_get ,
size_hint_min_set ,
size_hint_padding_get ,
size_hint_padding_set ,
size_hint_request_get ,
size_hint_request_set ,
size_hint_weight_get ,
size_hint_weight_set ,
type_get
Inherited from evas.c_evas.Object (private):
_set_evas
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
Inherited from evas.c_evas.Object :
clip_get ,
clip_set ,
clip_unset ,
color_get ,
color_set ,
delete ,
hide ,
is_deleted ,
show ,
visible_get ,
visible_set
|
Inherited from evas.c_evas.Object :
bottom_left_get ,
bottom_left_set ,
bottom_right_get ,
bottom_right_set ,
center_get ,
center_set ,
geometry_get ,
geometry_set ,
move ,
move_relative ,
pos_get ,
pos_set ,
resize ,
size_get ,
size_set ,
top_left_get ,
top_left_set ,
top_right_get ,
top_right_set
|
Inherited from evas.c_evas.Object :
above_get ,
below_get ,
bottom_get ,
layer_get ,
layer_set ,
lower ,
raise_ ,
stack_above ,
stack_below ,
top_get
|
Inherited from evas.c_evas.Object :
focus_get ,
focus_set ,
pass_events_get ,
pass_events_set ,
propagate_events_get ,
propagate_events_set ,
repeat_events_get ,
repeat_events_set
|
Inherited from evas.c_evas.Object :
event_callback_add ,
event_callback_del ,
on_focus_in_add ,
on_focus_in_del ,
on_focus_out_add ,
on_focus_out_del ,
on_free_add ,
on_free_del ,
on_hide_add ,
on_hide_del ,
on_hold_add ,
on_hold_del ,
on_key_down_add ,
on_key_down_del ,
on_key_up_add ,
on_key_up_del ,
on_mouse_down_add ,
on_mouse_down_del ,
on_mouse_in_add ,
on_mouse_in_del ,
on_mouse_move_add ,
on_mouse_move_del ,
on_mouse_out_add ,
on_mouse_out_del ,
on_mouse_up_add ,
on_mouse_up_del ,
on_mouse_wheel_add ,
on_mouse_wheel_del ,
on_move_add ,
on_move_del ,
on_resize_add ,
on_resize_del ,
on_restack_add ,
on_restack_del ,
on_show_add ,
on_show_del
|
Inherited from evas.c_evas.Object :
anti_alias_get ,
anti_alias_set ,
color_interpolation_get ,
color_interpolation_set ,
pointer_mode_get ,
pointer_mode_set ,
render_op_get ,
render_op_set
|