Basic Graphical Object (or actor).
Clips respects the hierarchy: the minimum area and the composed color
will be used used at the end, if one object is not visible, othe lower
objects (clipped by it) will not be visible as well. Clipping is the
recommended way of doing fade out/in effect, instead of changing object's
color, clip it to a rectangle and change its color: this will work as
expected with every object, unlike directly changing color that just work
for Images.
|
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
a new object with type S, a subtype of T
|
|
|
|
|
|
|
_set_common_params(...)
Set common parameters in one go. |
|
|
|
|
tuple of int
|
|
|
bottom_center_set(...)
Set (x, y) of bottom-center. |
|
|
tuple of Object
|
clipees_get(...)
Return objects currently clipped by this. |
|
|
Canvas
|
|
tuple of int
|
|
|
left_center_set(...)
Set (x, y) of left-center. |
|
|
str
|
|
|
name_set(...)
Set the name of one object. |
|
|
|
on_changed_size_hints_add(...)
Same as event_callback_add(EVAS_CALLBACK_CHANGED_SIZE_HINTS, ...) |
|
|
|
on_changed_size_hints_del(...)
Same as event_callback_del(EVAS_CALLBACK_CHANGED_SIZE_HINTS, ...) |
|
|
|
on_del_add(...)
Same as event_callback_add(EVAS_CALLBACK_DEL, ...) |
|
|
|
on_del_del(...)
Same as event_callback_del(EVAS_CALLBACK_DEL, ...) |
|
|
Object
|
parent_get(...)
Get object's parent, in the case it was added to some SmartObject. |
|
|
tuple of int
|
|
|
right_center_set(...)
Set (x, y) of right-center. |
|
|
tuple of floats (x, y)
|
size_hint_align_get(...)
Retrieve alignment hint. |
|
|
|
|
tuple of integers (aspect, w, h)
|
size_hint_aspect_get(...)
Retrieve aspect hint. |
|
|
|
|
tuple of integers (w, h)
|
size_hint_max_get(...)
Retrieve maximum size hint. |
|
|
|
|
tuple of integers (w, h)
|
size_hint_min_get(...)
Retrieve minimum size hint. |
|
|
|
|
tuple of integers (l, r, t, b)
|
size_hint_padding_get(...)
Retrieve padding hint. |
|
|
|
|
tuple of integers (w, h)
|
size_hint_request_get(...)
Retrieve request size hint. |
|
|
|
|
tuple of floats (x, y)
|
size_hint_weight_get(...)
Retrieve weight hint. |
|
|
|
|
tuple of int
|
|
|
top_center_set(...)
Set (x, y) of top-center. |
|
|
str
|
type_get(...)
Get the Evas object's type |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
Object or
None
|
clip_get(...)
Return the object currently clipping this object, or None. |
|
|
|
clip_set(...)
Set the object to clip this object, or None to unset. |
|
|
|
clip_unset(...)
Remove any clip of this object. |
|
|
tuple of int
|
color_get(...)
Get object color (r, g, b, a) (uses pre-multiply colorspace!) |
|
|
|
color_set(...)
Set object color using r, g, b, a (uses pre-multiply colorspace!) |
|
|
|
delete(...)
Delete object and free it's internal (wrapped) resources. |
|
|
|
|
bool
|
|
|
|
bool
|
|
|
|
tuple of int
|
|
|
bottom_left_set(...)
Set (x, y) of bottom-left corner. |
|
|
tuple of int
|
|
|
bottom_right_set(...)
Set (x, y) of bottom-right corner. |
|
|
tuple of int
|
|
|
center_set(...)
Set (x, y) of center. |
|
|
tuple of int
|
|
|
geometry_set(...)
Set object geometry (position and size). |
|
|
|
|
|
move_relative(...)
Move relatively to current position |
|
|
tuple of int
|
|
|
pos_set(...)
Set object position. |
|
|
|
|
tuple of int
|
|
|
size_set(...)
Set object size. |
|
|
tuple of int
|
|
|
top_left_set(...)
Set (x, y) of top-left corner. |
|
|
tuple of int
|
|
|
top_right_set(...)
Set (x, y) of top-right corner. |
|
|
Object
|
above_get(...)
Return the object above this. |
|
|
Object
|
below_get(...)
Return the object below this. |
|
|
Object
|
|
int
|
|
|
|
|
lower(...)
Lower to the bottom of its layer. |
|
|
|
raise_(...)
Raise to the top of its layer. |
|
|
|
stack_above(...)
Reorder to be above the given one. |
|
|
|
stack_below(...)
Reorder to be below the given one. |
|
|
Object
|
top_get(...)
Return the topmost object. |
|
|
bool
|
focus_get(...)
Returns if this object currently have the focus. |
|
|
|
focus_set(...)
Give focus to object. |
|
|
bool
|
|
|
|
bool
|
propagate_events_get(...) |
|
|
|
|
bool
|
|
|
repeat_events_set(...)
Enable or disable events to continue propagation after processed. |
|
|
|
|
|
|
|
on_focus_in_add(...)
Same as event_callback_add(EVAS_CALLBACK_FOCUS_IN, ...) |
|
|
|
on_focus_in_del(...)
Same as event_callback_del(EVAS_CALLBACK_FOCUS_IN, ...) |
|
|
|
|
|
on_focus_out_del(...)
Same as event_callback_del(EVAS_CALLBACK_FOCUS_OUT, ...) |
|
|
|
on_free_add(...)
Same as event_callback_add(EVAS_CALLBACK_FREE, ...) |
|
|
|
on_free_del(...)
Same as event_callback_del(EVAS_CALLBACK_FREE, ...) |
|
|
|
on_hide_add(...)
Same as event_callback_add(EVAS_CALLBACK_HIDE, ...) |
|
|
|
on_hide_del(...)
Same as event_callback_del(EVAS_CALLBACK_HIDE, ...) |
|
|
|
on_hold_add(...)
Same as event_callback_add(EVAS_CALLBACK_HOLD, ...) |
|
|
|
on_hold_del(...)
Same as event_callback_del(EVAS_CALLBACK_HOLD, ...) |
|
|
|
on_key_down_add(...)
Same as event_callback_add(EVAS_CALLBACK_KEY_DOWN, ...) |
|
|
|
on_key_down_del(...)
Same as event_callback_del(EVAS_CALLBACK_KEY_DOWN, ...) |
|
|
|
on_key_up_add(...)
Same as event_callback_add(EVAS_CALLBACK_KEY_UP, ...) |
|
|
|
on_key_up_del(...)
Same as event_callback_del(EVAS_CALLBACK_KEY_UP, ...) |
|
|
|
|
|
on_mouse_down_del(...)
Same as event_callback_del(EVAS_CALLBACK_MOUSE_DOWN, ...) |
|
|
|
on_mouse_in_add(...)
Same as event_callback_add(EVAS_CALLBACK_MOUSE_IN, ...) |
|
|
|
on_mouse_in_del(...)
Same as event_callback_del(EVAS_CALLBACK_MOUSE_IN, ...) |
|
|
|
|
|
on_mouse_move_del(...)
Same as event_callback_del(EVAS_CALLBACK_MOUSE_MOVE, ...) |
|
|
|
|
|
on_mouse_out_del(...)
Same as event_callback_del(EVAS_CALLBACK_MOUSE_OUT, ...) |
|
|
|
on_mouse_up_add(...)
Same as event_callback_add(EVAS_CALLBACK_MOUSE_UP, ...) |
|
|
|
on_mouse_up_del(...)
Same as event_callback_del(EVAS_CALLBACK_MOUSE_UP, ...) |
|
|
|
|
|
on_mouse_wheel_del(...)
Same as event_callback_del(EVAS_CALLBACK_MOUSE_WHEEL, ...) |
|
|
|
on_move_add(...)
Same as event_callback_add(EVAS_CALLBACK_MOVE, ...) |
|
|
|
on_move_del(...)
Same as event_callback_del(EVAS_CALLBACK_MOVE, ...) |
|
|
|
on_resize_add(...)
Same as event_callback_add(EVAS_CALLBACK_RESIZE, ...) |
|
|
|
on_resize_del(...)
Same as event_callback_del(EVAS_CALLBACK_RESIZE, ...) |
|
|
|
on_restack_add(...)
Same as event_callback_add(EVAS_CALLBACK_RESTACK, ...) |
|
|
|
on_restack_del(...)
Same as event_callback_del(EVAS_CALLBACK_RESTACK, ...) |
|
|
|
on_show_add(...)
Same as event_callback_add(EVAS_CALLBACK_SHOW, ...) |
|
|
|
on_show_del(...)
Same as event_callback_del(EVAS_CALLBACK_SHOW, ...) |
|
|
bool
|
|
|
anti_alias_set(...)
Enable or disable the object to be drawn anti-aliased. |
|
|
int
|
|
|
color_interpolation_set(...)
Set color interpolation to be used by this object. |
|
|
int
|
|
|
|
int
|
render_op_get(...)
Return the id of the operation used for rendering. |
|
|
|
render_op_set(...)
Set the operation used for rendering. |
|
|
|
clipees
objects that this object clips.
|
|
data
utility dict used to hold any user data.
|
|
evas
Canvas that
owns this object.
|
|
name
object name or None .
|
|
parent
Object that
this object is member of, or None .
|
|
rect
Rect
describing object geometry, for easy manipulation.
|
|
type
type name, ie: "rectangle".
|
|
clip
object's clipper.
|
|
color
object's color as a tuple of int (r, g, b, a)
|
|
visible
whenever it's visible or not.
|
|
bottom_left
object's bottom-left corner coordinates.
|
|
bottom_right
object's bottom-right corner coordinates.
|
|
center
object's center coordinates.
|
|
geometry
object's position and size.
|
|
pos
object's position.
|
|
size
object's size.
|
|
top_left
object's top-left corner coordinates.
|
|
top_right
object's top-right corner coordinates.
|
|
above
the object above this.
|
|
below
the object below this.
|
|
layer
object's layer number.
|
|
focus
whenever object currently have the focus.
|
|
pass_events
whenever object should ignore and pass events.
|
|
propagate_events
whenever object should propagate events to its parent.
|
|
repeat_events
whenever object should process and then repeat events.
|
|
anti_alias
if anti-aliased primitives should be used.
|
|
color_interpolation
color interpolation used.
|
|
pointer_mode
if pointer should be grabbed while processing events.
|
|
render_op
render operation used at drawing.
|