/** * @brief click action callback * * @param action an AtkAction * @param data user data * @return TRUE on success, FALSE otherwise */ static gboolean eail_naviframe_action_click(AtkAction *action, void *data) { EailNaviframe *naviframe; Evas_Object *widget, *target; Elm_Object_Item *it; g_return_val_if_fail(EAIL_IS_NAVIFRAME(action), FALSE); naviframe = EAIL_NAVIFRAME(action); widget = eail_widget_get_widget(EAIL_WIDGET(naviframe)); it = elm_naviframe_top_item_get(widget); if (!elm_naviframe_item_title_visible_get(it)) return FALSE; target = elm_object_item_widget_get(it); if (!target) return FALSE; evas_object_smart_callback_call(target, "title,clicked", it); return TRUE; }
PREFIX value ml_elm_naviframe_item_title_visible_get(value v_it) { return Val_Eina_Bool(elm_naviframe_item_title_visible_get( (Elm_Object_Item*) v_it)); }