efl/legacy/elementary/src/lib/elm_menu_legacy.h

35 lines
806 B
C

/**
* @brief Add a new menu to the parent
*
* @param parent The parent object.
* @return The new object or NULL if it cannot be created.
*
* @ingroup Elm_Menu
*/
EAPI Evas_Object *elm_menu_add(Evas_Object *parent);
/**
* @brief Set the parent for the given menu widget
*
* @param obj The menu object.
* @param parent The new parent.
*
* @ingroup Elm_Menu
*/
EAPI void elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent);
/**
* @brief Get the parent for the given menu widget
*
* @param obj The menu object.
* @return The parent.
*
* @see elm_menu_parent_set()
*
* @ingroup Elm_Menu
*/
EAPI Evas_Object *elm_menu_parent_get(const Evas_Object *obj);
#include "elm_menu_item.eo.legacy.h"
#include "elm_menu.eo.legacy.h"