Evas_Object_Group (3) - Linux Man Pages

Evas_Object_Group: Functions that manipulate generic evas objects.

NAME

Generic Object Functions - Functions that manipulate generic evas objects.

Functions


EAPI void evas_object_del (Evas_Object *obj)
Deletes the given evas object and frees its memory.
EAPI void evas_object_move (Evas_Object *obj, Evas_Coord x, Evas_Coord y)
Moves the given evas object to the given location.
EAPI void evas_object_resize (Evas_Object *obj, Evas_Coord w, Evas_Coord h)
Changes the size of the given evas object.
EAPI void evas_object_geometry_get (const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
Retrieves the position and rectangular size of the given evas object.
EAPI void evas_object_color_set (Evas_Object *obj, int r, int g, int b, int a)
Sets the general colour of the given evas object to the given colour.
EAPI void evas_object_color_get (const Evas_Object *obj, int *r, int *g, int *b, int *a)
Retrieves the general colour of the given evas object.
EAPI void evas_object_anti_alias_set (Evas_Object *obj, Evas_Bool anti_alias)
Sets whether or not the given evas object is to be drawn anti_aliased.
EAPI Evas_Bool evas_object_anti_alias_get (const Evas_Object *obj)
Retrieves whether or not the given evas object is to be drawn anti_aliased.
EAPI void evas_object_scale_set (Evas_Object *obj, double scale)
Sets the scaling factor for an evas object.
EAPI double evas_object_scale_get (const Evas_Object *obj)
Retrieves the scaling factor for the given evas object.
EAPI void evas_object_color_interpolation_set (Evas_Object *obj, int color_space)
Sets the color_space to be used for linear interpolation of colors.
EAPI int evas_object_color_interpolation_get (const Evas_Object *obj)
Retrieves the current value of the color space used for linear interpolation.
EAPI void evas_object_render_op_set (Evas_Object *obj, Evas_Render_Op render_op)
Sets the render_op to be used for rendering the evas object.
EAPI Evas_Render_Op evas_object_render_op_get (const Evas_Object *obj)
Retrieves the current value of the operation used for rendering the evas object.
EAPI Evas * evas_object_evas_get (const Evas_Object *obj)
Retrieves the evas that the given evas object is on.
EAPI const char * evas_object_type_get (const Evas_Object *obj)
Retrieves the name of the type of the given evas object.
EAPI void evas_object_precise_is_inside_set (Evas_Object *obj, Evas_Bool precise)
Set whether to use a precise (usually expensive) point collision detection.
EAPI Evas_Bool evas_object_precise_is_inside_get (const Evas_Object *obj)
Determine whether an object is set to use a precise point collision detection.

Detailed Description

Functions that manipulate generic evas objects.

Function Documentation

EAPI Evas_Bool evas_object_anti_alias_get (const Evas_Object * obj)

Retrieves whether or not the given evas object is to be drawn anti_aliased.

Parameters:

obj The given evas object.

Returns:

1 if the object is to be anti_aliased. 0 otherwise.

EAPI void evas_object_anti_alias_set (Evas_Object * obj, Evas_Bool anti_alias)

Sets whether or not the given evas object is to be drawn anti_aliased.

Parameters:

obj The given evas object.
anti_alias. 1 if the object is to be anti_aliased, 0 otherwise.

EAPI void evas_object_color_get (const Evas_Object * obj, int * r, int * g, int * b, int * a)

Retrieves the general colour of the given evas object.

Note that if any of r, g, b or a are NULL, then the NULL parameters are ignored.

Parameters:

obj The given evas object.
r Pointer to an integer in which to store the red component of the colour.
g Pointer to an integer in which to store the green component of the colour.
b Pointer to an integer in which to store the blue component of the colour.
a Pointer to an integer in which to store the alpha component of the colour.

EAPI int evas_object_color_interpolation_get (const Evas_Object * obj)

Retrieves the current value of the color space used for linear interpolation.

Parameters:

obj The given evas object.

Returns:

EVAS_COLOR_SPACE_ARGB or EVAS_COLOR_SPACE_AHSV.

EAPI void evas_object_color_interpolation_set (Evas_Object * obj, int color_space)

Sets the color_space to be used for linear interpolation of colors.

Parameters:

obj The given evas object.
color_space,one of EVAS_COLOR_SPACE_ARGB or EVAS_COLOR_SPACE_AHSV.

EAPI void evas_object_color_set (Evas_Object * obj, int r, int g, int b, int a)

Sets the general colour of the given evas object to the given colour.

Parameters:

obj The given evas object.
r The red component of the given colour.
g The green component of the given colour.
b The blue component of the given colour.
a The alpha component of the given colour.

EAPI void evas_object_del (Evas_Object * obj)

Deletes the given evas object and frees its memory.

The object's 'free' callback is called when this function is called. If the object currently has the focus, its 'focus out' callback is also called.

Parameters:

obj The given evas object.

References EVAS_CALLBACK_DEL, EVAS_CALLBACK_FOCUS_OUT, EVAS_CALLBACK_FREE, evas_object_clip_unset(), evas_object_hide(), and evas_object_name_set().

EAPI Evas* evas_object_evas_get (const Evas_Object * obj)

Retrieves the evas that the given evas object is on.

Parameters:

obj The given evas object.

Returns:

The evas that the object is on.

EAPI void evas_object_geometry_get (const Evas_Object * obj, Evas_Coord * x, Evas_Coord * y, Evas_Coord * w, Evas_Coord * h)

Retrieves the position and rectangular size of the given evas object.

Note that if any of x, y, w or h are NULL, the NULL parameters are ignored.

Parameters:

obj The given evas object.
x Pointer to an integer in which to store the X coordinate of the object.
y Pointer to an integer in which to store the Y coordinate of the object.
w Pointer to an integer in which to store the width of the object.
h Pointer to an integer in which to store the height of the object.

Referenced by evas_object_smart_move_children_relative().

EAPI void evas_object_move (Evas_Object * obj, Evas_Coord x, Evas_Coord y)

Moves the given evas object to the given location.

Parameters:

obj The given evas object.
x X position to move the object to, in canvas units.
y Y position to move the object to, in canvas units.

Referenced by evas_object_smart_move_children_relative().

EAPI Evas_Bool evas_object_precise_is_inside_get (const Evas_Object * obj)

Determine whether an object is set to use a precise point collision detection.

Parameters:

obj The given object.

EAPI void evas_object_precise_is_inside_set (Evas_Object * obj, Evas_Bool precise)

Set whether to use a precise (usually expensive) point collision detection.

Parameters:

obj The given object.
precise wheter to use a precise point collision detection or not The default value is false.

EAPI Evas_Render_Op evas_object_render_op_get (const Evas_Object * obj)

Retrieves the current value of the operation used for rendering the evas object.

Parameters:

obj The given evas object.

Returns:

one of the enumerated values in Evas_Render_Op.

References EVAS_RENDER_BLEND.

EAPI void evas_object_render_op_set (Evas_Object * obj, Evas_Render_Op render_op)

Sets the render_op to be used for rendering the evas object.

Parameters:

obj The given evas object.
render_op one of the Evas_Render_Op values.

EAPI void evas_object_resize (Evas_Object * obj, Evas_Coord w, Evas_Coord h)

Changes the size of the given evas object.

Parameters:

obj The given evas object.
w The new width of the evas object.
h The new height of the evas object.

EAPI double evas_object_scale_get (const Evas_Object * obj)

Retrieves the scaling factor for the given evas object.

Parameters:

obj The given evas object.

Returns:

The scaling factor.

EAPI void evas_object_scale_set (Evas_Object * obj, double scale)

Sets the scaling factor for an evas object.

Does not affect all objects.

Parameters:

obj The given evas object.
scale. The scaling factor. 1.0 == none.

EAPI const char* evas_object_type_get (const Evas_Object * obj)

Retrieves the name of the type of the given evas object.

Parameters:

obj The given object.

Returns:

The name.

Author

Generated automatically by Doxygen for Evas from the source code.