\chapter{Actionslider example}
\hypertarget{actionslider_example_01}{}\label{actionslider_example_01}\index{Actionslider example@{Actionslider example}}

\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{\textcolor{comment}{//Compile\ with:}}
\DoxyCodeLine{\textcolor{comment}{//gcc\ -\/g\ actionslider\_example\_01.c\ -\/o\ actionslider\_example\_01\ \`{}pkg-\/config\ -\/-\/cflags\ -\/-\/libs\ elementary`}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{preprocessor}{\#include\ <Elementary.h>}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static}\ \textcolor{keywordtype}{void}\ \_pos\_selected\_cb(\textcolor{keywordtype}{void}\ *data\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},\ Evas\_Object\ *obj,\ \textcolor{keywordtype}{void}\ *event\_info)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ printf(\textcolor{stringliteral}{"{}Selection:\ \%s\(\backslash\)n"{}},\ (\textcolor{keywordtype}{char}\ *)event\_info);}
\DoxyCodeLine{\ \ \ printf(\textcolor{stringliteral}{"{}Label\ selected:\ \%s\(\backslash\)n"{}},\ elm\_actionslider\_selected\_label\_get(obj));}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static}\ \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_position\_change\_magnetic\_cb(\textcolor{keywordtype}{void}\ *data\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},\ Evas\_Object\ *\ obj,\ \textcolor{keywordtype}{void}\ *event\_info)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{if}\ (!strcmp((\textcolor{keywordtype}{char}\ *)event\_info,\ \textcolor{stringliteral}{"{}left"{}}))}
\DoxyCodeLine{\ \ \ \ \ elm\_actionslider\_magnet\_pos\_set(obj,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbcea41ff40a6b33327aabdf490a7b633d128}{ELM\_ACTIONSLIDER\_LEFT}});}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (!strcmp((\textcolor{keywordtype}{char}\ *)event\_info,\ \textcolor{stringliteral}{"{}right"{}}))}
\DoxyCodeLine{\ \ \ \ \ elm\_actionslider\_magnet\_pos\_set(obj,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaf8d862e344443d07eaf92b8492069d17}{ELM\_ACTIONSLIDER\_RIGHT}});}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static}\ \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_magnet\_enable\_disable\_cb(\textcolor{keywordtype}{void}\ *data\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},\ Evas\_Object\ *obj,\ \textcolor{keywordtype}{void}\ *event\_info)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{if}\ (!strcmp((\textcolor{keywordtype}{char}\ *)event\_info,\ \textcolor{stringliteral}{"{}left"{}}))}
\DoxyCodeLine{\ \ \ \ \ elm\_actionslider\_magnet\_pos\_set(obj,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaa211fa2272b5536b29f6bbb099652c67}{ELM\_ACTIONSLIDER\_CENTER}});}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}\ (!strcmp((\textcolor{keywordtype}{char}\ *)event\_info,\ \textcolor{stringliteral}{"{}right"{}}))}
\DoxyCodeLine{\ \ \ \ \ elm\_actionslider\_magnet\_pos\_set(obj,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbcea251910c2db1ec34a6b02c384088c812e}{ELM\_ACTIONSLIDER\_NONE}});}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{EAPI\_MAIN\ \textcolor{keywordtype}{int}}
\DoxyCodeLine{elm\_main(\textcolor{keywordtype}{int}\ argc\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},\ \textcolor{keywordtype}{char}\ **argv\ \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ Evas\_Object\ *win,\ *bx,\ *as;}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga7a05f37fd3a019da5e26c5fc91fcd937}{elm\_policy\_set}}(\mbox{\hyperlink{group__Elm__General_ggaa16f3378ecdbf660fa378402e3c5a0a9a02fadb6faada04b19d0fa42c11a8d32a}{ELM\_POLICY\_QUIT}},\ \mbox{\hyperlink{group__Elm__General_gga46af37e6ac2c406321060be827117196abbe0962d88ae12afe1a173da881f56cd}{ELM\_POLICY\_QUIT\_LAST\_WINDOW\_CLOSED}});}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ win\ =\ \mbox{\hyperlink{group__Elm__Win__Group_ga23d9d1ffa0a65a1a1dd482d570db1ba0}{elm\_win\_util\_standard\_add}}(\textcolor{stringliteral}{"{}actionslider"{}},\ \textcolor{stringliteral}{"{}Actionslider"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Win__Group_ga9a16a2f8c9fd5b6e9203ed9dcb53ea8b}{elm\_win\_autodel\_set}}(win,\ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ bx\ =\ \mbox{\hyperlink{group__Elm__Box__Group_ga49ec615c90bf8bead2158d5ffab2e445}{elm\_box\_add}}(win);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(bx,\ \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}},\ 0);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Win__Group_ga505d6bd217e5ee01e82b548ec35986eb}{elm\_win\_resize\_object\_add}}(win,\ bx);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(bx);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ as\ =\ \mbox{\hyperlink{group__Elm__Actionslider_ga631b471e079d30e52c3b38c4293242af}{elm\_actionslider\_add}}(win);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(as,\ \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}},\ 0);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(as,\ \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}},\ 0);}
\DoxyCodeLine{\ \ \ elm\_actionslider\_indicator\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaf8d862e344443d07eaf92b8492069d17}{ELM\_ACTIONSLIDER\_RIGHT}});}
\DoxyCodeLine{\ \ \ elm\_actionslider\_magnet\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaf8d862e344443d07eaf92b8492069d17}{ELM\_ACTIONSLIDER\_RIGHT}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}left"{}},\ \textcolor{stringliteral}{"{}Snooze"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}right"{}},\ \textcolor{stringliteral}{"{}Stop"{}});}
\DoxyCodeLine{\ \ \ elm\_actionslider\_enabled\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbcea41ff40a6b33327aabdf490a7b633d128}{ELM\_ACTIONSLIDER\_LEFT}}\ |}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaf8d862e344443d07eaf92b8492069d17}{ELM\_ACTIONSLIDER\_RIGHT}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(as,\ \textcolor{stringliteral}{"{}pos\_changed"{}},}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \_position\_change\_magnetic\_cb,\ NULL);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(as,\ \textcolor{stringliteral}{"{}selected"{}},\ \_pos\_selected\_cb,\ NULL);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(as);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(bx,\ as);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ as\ =\ \mbox{\hyperlink{group__Elm__Actionslider_ga631b471e079d30e52c3b38c4293242af}{elm\_actionslider\_add}}(win);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(as,\ \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}},\ 0);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(as,\ \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}},\ 0);}
\DoxyCodeLine{\ \ \ elm\_actionslider\_indicator\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaa211fa2272b5536b29f6bbb099652c67}{ELM\_ACTIONSLIDER\_CENTER}});}
\DoxyCodeLine{\ \ \ elm\_actionslider\_magnet\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaa211fa2272b5536b29f6bbb099652c67}{ELM\_ACTIONSLIDER\_CENTER}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}left"{}},\ \textcolor{stringliteral}{"{}Snooze"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}right"{}},\ \textcolor{stringliteral}{"{}Stop"{}});}
\DoxyCodeLine{\ \ \ elm\_actionslider\_enabled\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbcea41ff40a6b33327aabdf490a7b633d128}{ELM\_ACTIONSLIDER\_LEFT}}\ |}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaf8d862e344443d07eaf92b8492069d17}{ELM\_ACTIONSLIDER\_RIGHT}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(as,\ \textcolor{stringliteral}{"{}selected"{}},\ \_pos\_selected\_cb,\ NULL);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(as);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(bx,\ as);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ as\ =\ \mbox{\hyperlink{group__Elm__Actionslider_ga631b471e079d30e52c3b38c4293242af}{elm\_actionslider\_add}}(win);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Styles_ga7fc2d1f9ba723470da7a05799c49f7fe}{elm\_object\_style\_set}}(as,\ \textcolor{stringliteral}{"{}bar"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(as,\ \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}},\ 0);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(as,\ \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}},\ 0);}
\DoxyCodeLine{\ \ \ elm\_actionslider\_indicator\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbcea41ff40a6b33327aabdf490a7b633d128}{ELM\_ACTIONSLIDER\_LEFT}});}
\DoxyCodeLine{\ \ \ elm\_actionslider\_magnet\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaa211fa2272b5536b29f6bbb099652c67}{ELM\_ACTIONSLIDER\_CENTER}}|}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaf8d862e344443d07eaf92b8492069d17}{ELM\_ACTIONSLIDER\_RIGHT}});}
\DoxyCodeLine{\ \ \ elm\_actionslider\_enabled\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaa211fa2272b5536b29f6bbb099652c67}{ELM\_ACTIONSLIDER\_CENTER}}\ |}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaf8d862e344443d07eaf92b8492069d17}{ELM\_ACTIONSLIDER\_RIGHT}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}center"{}},\ \textcolor{stringliteral}{"{}Accept"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}right"{}},\ \textcolor{stringliteral}{"{}Reject"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(as,\ \textcolor{stringliteral}{"{}selected"{}},\ \_pos\_selected\_cb,\ NULL);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(as);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(bx,\ as);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ as\ =\ \mbox{\hyperlink{group__Elm__Actionslider_ga631b471e079d30e52c3b38c4293242af}{elm\_actionslider\_add}}(win);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Styles_ga7fc2d1f9ba723470da7a05799c49f7fe}{elm\_object\_style\_set}}(as,\ \textcolor{stringliteral}{"{}bar"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(as,\ \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}},\ 0);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(as,\ \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}},\ 0);}
\DoxyCodeLine{\ \ \ elm\_actionslider\_indicator\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbcea41ff40a6b33327aabdf490a7b633d128}{ELM\_ACTIONSLIDER\_LEFT}});}
\DoxyCodeLine{\ \ \ elm\_actionslider\_magnet\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbcea41ff40a6b33327aabdf490a7b633d128}{ELM\_ACTIONSLIDER\_LEFT}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}center"{}},\ \textcolor{stringliteral}{"{}Accept"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}right"{}},\ \textcolor{stringliteral}{"{}Reject"{}});}
\DoxyCodeLine{\ \ \ elm\_object\_text\_set(as,\ \textcolor{stringliteral}{"{}Go"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(as,\ \textcolor{stringliteral}{"{}pos\_changed"{}},}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \_position\_change\_magnetic\_cb,\ NULL);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(as,\ \textcolor{stringliteral}{"{}selected"{}},\ \_pos\_selected\_cb,\ NULL);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(as);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(bx,\ as);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ as\ =\ \mbox{\hyperlink{group__Elm__Actionslider_ga631b471e079d30e52c3b38c4293242af}{elm\_actionslider\_add}}(win);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(as,\ \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}},\ 0);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(as,\ \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}},\ 0);}
\DoxyCodeLine{\ \ \ elm\_actionslider\_indicator\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbcea41ff40a6b33327aabdf490a7b633d128}{ELM\_ACTIONSLIDER\_LEFT}});}
\DoxyCodeLine{\ \ \ elm\_actionslider\_magnet\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbcea1d16cd7e3aca27dbe288d2379d4e626d}{ELM\_ACTIONSLIDER\_ALL}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}left"{}},\ \textcolor{stringliteral}{"{}Left"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}center"{}},\ \textcolor{stringliteral}{"{}Center"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}right"{}},\ \textcolor{stringliteral}{"{}Right"{}});}
\DoxyCodeLine{\ \ \ elm\_object\_text\_set(as,\ \textcolor{stringliteral}{"{}Go"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(as,\ \textcolor{stringliteral}{"{}selected"{}},\ \_pos\_selected\_cb,\ NULL);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(as);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(bx,\ as);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ as\ =\ \mbox{\hyperlink{group__Elm__Actionslider_ga631b471e079d30e52c3b38c4293242af}{elm\_actionslider\_add}}(win);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(as,\ \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}},\ 0);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(as,\ \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}},\ 0);}
\DoxyCodeLine{\ \ \ elm\_actionslider\_indicator\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaa211fa2272b5536b29f6bbb099652c67}{ELM\_ACTIONSLIDER\_CENTER}});}
\DoxyCodeLine{\ \ \ elm\_actionslider\_magnet\_pos\_set(as,\ \mbox{\hyperlink{group__Elm__Actionslider_gga3c3924da13a094d1042b3ce092eefbceaa211fa2272b5536b29f6bbb099652c67}{ELM\_ACTIONSLIDER\_CENTER}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}left"{}},\ \textcolor{stringliteral}{"{}Enable"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}center"{}},\ \textcolor{stringliteral}{"{}Magnet"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\_object\_part\_text\_set}}(as,\ \textcolor{stringliteral}{"{}right"{}},\ \textcolor{stringliteral}{"{}Disable"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(as,\ \textcolor{stringliteral}{"{}pos\_changed"{}},}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \_magnet\_enable\_disable\_cb,\ NULL);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(as,\ \textcolor{stringliteral}{"{}selected"{}},\ \_pos\_selected\_cb,\ NULL);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(as);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(bx,\ as);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_gacad94595f83580c18908cb3b69b08d1a}{evas\_object\_resize}}(win,\ 320,\ 400);}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(win);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__General_gadf2553f83e6b0b9c7fbe054019a664a1}{elm\_run}}();}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{return}\ 0;}
\DoxyCodeLine{\}}
\DoxyCodeLine{\mbox{\hyperlink{group__Elm__General_ga50fe52d513f7e89c9c770afd76de7ad9}{ELM\_MAIN}}()}

\end{DoxyCodeInclude}
 