forked from enlightenment/efl
parent
2ddaccbe38
commit
c0fef3e01c
|
@ -654,6 +654,7 @@ extern "C" {
|
|||
EAPI void elm_menu_item_icon_set(Elm_Menu_Item *item, Evas_Object *icon);
|
||||
EAPI void elm_menu_item_disabled_set(Elm_Menu_Item *item, Eina_Bool disabled);
|
||||
EAPI void elm_menu_item_del(Elm_Menu_Item *item);
|
||||
EAPI Evas_Object *elm_menu_object_get(const Elm_Menu_Item *it);
|
||||
EAPI const Eina_List *elm_menu_item_subitems_get(Elm_Menu_Item *item);
|
||||
/* smart callbacks called:
|
||||
* "clicked" - the user clicked the empty space in the menu to dismiss. event_info is NULL.
|
||||
|
|
|
@ -525,6 +525,19 @@ elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
|
|||
_sizing_eval(obj);
|
||||
}
|
||||
|
||||
/*
|
||||
* Move the menu to a new position
|
||||
*
|
||||
* @param obj The menu object.
|
||||
* @param x The new position.
|
||||
* @param y The new position.
|
||||
*/
|
||||
EAPI Evas_Object *
|
||||
elm_menu_object_get(const Elm_Menu_Item *it)
|
||||
{
|
||||
return it->o;
|
||||
}
|
||||
|
||||
/*
|
||||
* Add an item at the end
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue