Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_canvas.c File Reference


Detailed Description


Functions

Etk_Widget * etk_canvas_new (void)
 Creates a new canvas.
Etk_Bool etk_canvas_object_add (Etk_Canvas *canvas, Evas_Object *object)
 Adds an Evas object to the canvas. The object will be moved to the top left corner of the canvas and will be clipped against the canvas. You can then use any Evas function to control the object.
void etk_canvas_object_remove (Etk_Canvas *canvas, Evas_Object *object)
 Removes an Evas object from the canvas. The removed object will be automatically hidden.
void etk_canvas_object_move (Etk_Canvas *canvas, Evas_Object *object, int x, int y)
 Moves an Evas object to position ( x, y ), relatively to the canvas' top-left corner.
void etk_canvas_object_geometry_get (Etk_Canvas *canvas, Evas_Object *object, int *x, int *y, int *w, int *h)
 Gets the geometry of an Evas Object. The returned position will be relative to the canvas' top-left corner.