ELM_POPUP_ORIENT_BOTTOM_RIGHT
} Elm_Popup_Orient;
+ typedef struct _Action_Area_Data Action_Area_Data;
+ struct _Action_Area_Data
+ {
+ Evas_Object *obj;
+ Evas_Object *btn;
+ int response_id;
+ };
/* smart callbacks called:
* "response" - when ever popup is closed, this signal is sent with appropriate response id.".
*/
EAPI void elm_popup_response(Evas_Object *obj, int response_id);
EAPI void elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient);
EAPI int elm_popup_run(Evas_Object *obj);
+ EAPI Eina_List * elm_popup_buttons_list_get(Evas_Object *obj);
/* tansit */
typedef enum
}\r
\r
/**\r
+ * Get the buttons list.\r
+ *\r
+ * @param [in] obj The popup object
+ * @return Button List.
+ *\r
+ * @ingroup Popup\r
+ */\r
+EAPI Eina_List *\r
+elm_popup_buttons_list_get(Evas_Object *obj)\r
+{\r
+ ELM_CHECK_WIDTYPE(obj, widtype);\r
+ Widget_Data *wd = elm_widget_data_get(obj);\r
+\r
+ if (!wd) return;\r
+ return wd->button_list;\r
+}\r
+\r
+/**\r
* This Set's the time before the popup window is hidden, \r
* and ELM_POPUP_RESPONSE_TIMEOUT is sent along with response signal.\r
*\r