#ifdef HAVE_CONFIG_H # include "elementary_config.h" #endif #include <Elementary.h> static void _pos_selected_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info) { Elm_Actionslider_Pos ipos, mpos, epos; printf("Selection: %s\n", (char *)event_info); printf("Label selected: %s\n", elm_actionslider_selected_label_get(obj)); ipos = elm_actionslider_indicator_pos_get(obj); switch (ipos) { case ELM_ACTIONSLIDER_NONE: printf("actionslider indicator pos: none!\n"); break; case ELM_ACTIONSLIDER_LEFT: printf("actionslider indicator pos: left!\n"); break; case ELM_ACTIONSLIDER_CENTER: printf("actionslider indicator pos: center!\n"); break; case ELM_ACTIONSLIDER_RIGHT: printf("actionslider indicator pos: right!\n"); break; case ELM_ACTIONSLIDER_ALL: printf("actionslider indicator pos: all!\n"); break;
PREFIX value ml_elm_actionslider_indicator_pos_get(value v_obj) { return copy_Elm_Actionslider_Pos(elm_actionslider_indicator_pos_get( (Evas_Object*) v_obj)); }