Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_embed.c File Reference


Detailed Description


Functions

Etk_Widget * etk_embed_new (Evas *evas)
 Creates a new embed widget.
Evas_Object * etk_embed_object_get (Etk_Embed *embed)
 Gets the smart-object of the embed widget. This object can be manipulated like the other Evas objects, with evas_object_move(), evas_object_resize(), evas_object_clip_set(), ...
void etk_embed_position_method_set (Etk_Embed *embed, void(*position_get)(void *position_data, int *x, int *y), void *position_data)
 Sets the function to call to get the position of the Evas where the embed widget belongs, relative to the screen. This is used to place correctly the menus and the combobox windows in the embed widget, so if the embed widget does not contain a menu bar or a combobox, you don't need to call this function.
void etk_embed_pointer_method_set (Etk_Embed *embed, void(*pointer_set)(void *pointer_data, Etk_Pointer_Type pointer_type), void *pointer_data)
 Sets the function to call to set the current mouse pointer used by the Embed. This is used to change the pointer when the mouse is over an entry for example, so if the embed widget does not contain a widget that makes the pointer change (such as an entry or a tree), you don't need to call this function.