* @}
*/
- /* available styles:
+ /**
+ * @defgroup Stackedicon Stackedicon
+ * @ingroup Elementary
+ * @addtogroup Stackedicon
+ * @{
+ *
+ * This is a Stackedicon.
+ * smart callback called:
+ * "expanded" - This signal is emitted when a stackedicon is expanded.
+ * "clicked" - This signal is emitted when a stackedicon is clicked.
+ *
+ * available styles:
* default
*/
-
- /* stackedicon */
typedef struct _Stackedicon_Item Elm_Stackedicon_Item;
+ /**
+ * Add a new stackedicon to the parent
+ *
+ * @param parent The parent object
+ * @return The new object or NULL if it cannot be created
+ */
EAPI Evas_Object *elm_stackedicon_add(Evas_Object *parent);
+ /**
+ * This appends a path to the stackedicon
+ *
+ * @param obj The stackedicon object
+ * @param path The image full path
+ * @return The new item or NULL if it cannot be created
+ */
EAPI Elm_Stackedicon_Item *elm_stackedicon_item_append(Evas_Object *obj, const char *path);
+ /**
+ * This prepends a path to the stackedicon
+ *
+ * @param obj The stackedicon object
+ * @param path The image full path
+ * @return The new item or NULL if it cannot be created
+ */
EAPI Elm_Stackedicon_Item *elm_stackedicon_item_prepend(Evas_Object *obj, const char *path);
+ /**
+ * This delete a path at the stackedicon
+ *
+ * @param Elm_Stackedicon_Item The delete item
+ */
EAPI void elm_stackedicon_item_del(Elm_Stackedicon_Item *it);
- EAPI Eina_List *elm_stackedicon_item_list_get(Evas_Object *obj);
- /* smart callback called:
- * "expanded" - This signal is emitted when a stackedicon is expanded.
- * "clicked" - This signal is emitted when a stackedicon is clicked.
+ /**
+ * Get item list from the stackedicon
+ *
+ * @param obj The stackedicon object
+ * @return The item list or NULL if it cannot be created
*/
- /* available styles:
- * default
+ EAPI Eina_List *elm_stackedicon_item_list_get(Evas_Object *obj);
+ /**
+ * @}
*/
+
/* dialoguegroup */
typedef struct _Dialogue_Item Dialogue_Item;
#include "elm_priv.h"
-/**
- * @defgroup Stackedicon Stackedicon
- * @ingroup Elementary
- *
- * This is a Stackedicon.
- */
-
#define MAX_ITEM_NUM (9)
#define MAX_MOVE_INTERVAL (0.2)
evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE, _hide_cb, obj);
}
-/**
- * Add a new stackedicon to the parent
- *
- * @param parent The parent object
- * @return The new object or NULL if it cannot be created
- *
- * @ingroup Stackedicon
- */
EAPI Evas_Object *
elm_stackedicon_add(Evas_Object *parent)
{
return obj;
}
-/**
- * This appends a path to the stackedicon
- *
- * @param obj The stackedicon object
- * @param path The image full path
- * @return The new item or NULL if it cannot be created
- *
- * @ingroup Stackedicon
- */
EAPI Elm_Stackedicon_Item *elm_stackedicon_item_append(Evas_Object *obj, const char *path)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
return it;
}
-/**
- * This prepends a path to the stackedicon
- *
- * @param obj The stackedicon object
- * @param path The image full path
- * @return The new item or NULL if it cannot be created
- *
- * @ingroup Stackedicon
- */
EAPI Elm_Stackedicon_Item *elm_stackedicon_item_prepend(Evas_Object *obj, const char *path)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
return it;
}
-/**
- * This delete a path at the stackedicon
- *
- * @param Elm_Stackedicon_Item The delete item
- *
- * @ingroup Stackedicon
- */
EAPI void elm_stackedicon_item_del(Elm_Stackedicon_Item *it)
{
- if (!it)return;
+ if (!it) return;
ELM_CHECK_WIDTYPE(it->parent, widtype);
Evas_Object *obj = it->parent;
Widget_Data *wd = elm_widget_data_get(obj);
_update_stackedicon(obj);
}
-/**
- * Get item list from the stackedicon
- *
- * @param obj The stackedicon object
- * @return The item list or NULL if it cannot be created
- *
- * @ingroup Stackedicon
- */
EAPI Eina_List *elm_stackedicon_item_list_get(Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
if (!wd) return NULL;
return wd->list;
}
-