\hypertarget{entry_example_8c-example}{}\doxysection{entry\+\_\+example.\+c}

\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{\textcolor{comment}{/*}}
\DoxyCodeLine{\textcolor{comment}{ * gcc -\/o entry\_example entry\_example.c `pkg-\/config -\/-\/cflags -\/-\/libs elementary`}}
\DoxyCodeLine{\textcolor{comment}{ */}}
\DoxyCodeLine{\textcolor{preprocessor}{\#include <Elementary.h>}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{typedef} \textcolor{keyword}{struct}}
\DoxyCodeLine{\{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *win;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *edit\_buffer;}
\DoxyCodeLine{\} App\_Data;}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{typedef} \textcolor{keyword}{struct}}
\DoxyCodeLine{\{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *inwin;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *naviframe;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *grid;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *settings;}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordtype}{int} size;}
\DoxyCodeLine{   \textcolor{keywordtype}{int} vsize;}
\DoxyCodeLine{   \textcolor{keywordtype}{int} width, height;}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keyword}{const} \textcolor{keywordtype}{char} *emo;}
\DoxyCodeLine{}
\DoxyCodeLine{   App\_Data *ad;}
\DoxyCodeLine{\} App\_Inwin\_Data;}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_edit\_buffer\_insert(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *e, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *text)}
\DoxyCodeLine{\{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_gacf27a8e1b5f1af931284fb840c7251b0}{elm\_entry\_entry\_insert}}(e, text);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Focus_ga05e39b5e60ad861c63100c811855ef55}{elm\_object\_focus\_set}}(e, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_it\_sel\_cb(\textcolor{keywordtype}{void} *data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \textcolor{keywordtype}{void} *event)}
\DoxyCodeLine{\{}
\DoxyCodeLine{   App\_Inwin\_Data *aid = data;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\_Object\_Item}} *gg\_it = event;}
\DoxyCodeLine{}
\DoxyCodeLine{   aid-\/>emo = \mbox{\hyperlink{group__Elm__General_ga6593639f5568153bff4960224a7fadcb}{elm\_object\_item\_data\_get}}(gg\_it);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Naviframe__Group_gada1d362c52eed9f09e5f4cc3d1b270ab}{elm\_naviframe\_item\_simple\_promote}}(aid-\/>naviframe, aid-\/>settings);}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{char} *}
\DoxyCodeLine{\_emo\_label\_get(\textcolor{keywordtype}{void} *data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},}
\DoxyCodeLine{               \textcolor{keyword}{const} \textcolor{keywordtype}{char} *part \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   \textcolor{keywordflow}{return} strdup(data);}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *}
\DoxyCodeLine{\_emo\_content\_get(\textcolor{keywordtype}{void} *data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *part)}
\DoxyCodeLine{\{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *o;}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (strcmp(part, \textcolor{stringliteral}{"{}elm.swallow.icon"{}}))}
\DoxyCodeLine{     \textcolor{keywordflow}{return} NULL;}
\DoxyCodeLine{   o = \mbox{\hyperlink{group__Elm__Layout_ga5bcf7d68b0401cc7d557ef7d297baa3e}{elm\_layout\_add}}(obj);}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (!\mbox{\hyperlink{group__Elm__Layout_ga8f28efed82872f5c57a61db5c81d4eb3}{elm\_layout\_theme\_set}}(o, \textcolor{stringliteral}{"{}entry/emoticon"{}}, data, \textcolor{stringliteral}{"{}default"{}}))}
\DoxyCodeLine{     \{}
\DoxyCodeLine{        fprintf(stderr, \textcolor{stringliteral}{"{}Failed to set layout"{}});}
\DoxyCodeLine{        \textcolor{keywordflow}{return} NULL;}
\DoxyCodeLine{     \}}
\DoxyCodeLine{   \textcolor{keywordflow}{return} o;}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_emo\_del(\textcolor{keywordtype}{void} *data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   free(data);}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *}
\DoxyCodeLine{\_page\_grid\_add(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *parent, App\_Inwin\_Data *aid)}
\DoxyCodeLine{\{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *grid;}
\DoxyCodeLine{   \textcolor{keywordtype}{char} *theme, *emo;}
\DoxyCodeLine{   \mbox{\hyperlink{struct__Eina__List}{Eina\_List}} *emos, *it;}
\DoxyCodeLine{   \textcolor{keyword}{static} \mbox{\hyperlink{struct__Elm__Gen__Item__Class}{Elm\_Gengrid\_Item\_Class}} *it\_class;}
\DoxyCodeLine{   it\_class = \mbox{\hyperlink{group__Elm__Gengrid__Group_gadb4b59b0a0e1cb31d0ea3c696b3e7c4f}{elm\_gengrid\_item\_class\_new}}();}
\DoxyCodeLine{   it\_class-\/>\mbox{\hyperlink{struct__Elm__Gen__Item__Class_aa611ea90d00c3e0f9abe25ff56fc420f}{item\_style}} = \textcolor{stringliteral}{"{}default"{}};}
\DoxyCodeLine{   it\_class-\/>\mbox{\hyperlink{struct__Elm__Gen__Item__Class_a457622de444f6539822387321996418d}{func}}.\mbox{\hyperlink{struct__Elm__Gen__Item__Class__Functions_ae7a3a244fab9e126b3ac264615535c41}{text\_get}} = \_emo\_label\_get;}
\DoxyCodeLine{   it\_class-\/>\mbox{\hyperlink{struct__Elm__Gen__Item__Class_a457622de444f6539822387321996418d}{func}}.\mbox{\hyperlink{struct__Elm__Gen__Item__Class__Functions_a796220b356374cd6395bcd2c3668f8d8}{content\_get}} = \_emo\_content\_get;}
\DoxyCodeLine{   it\_class-\/>\mbox{\hyperlink{struct__Elm__Gen__Item__Class_a457622de444f6539822387321996418d}{func}}.\mbox{\hyperlink{struct__Elm__Gen__Item__Class__Functions_a29069fe3b82c13e822a3ce515e12dac0}{del}} = \_emo\_del;}
\DoxyCodeLine{}
\DoxyCodeLine{   theme = \mbox{\hyperlink{group__Elm__Theme_gab2a2a47fff7c32691e308c7c9c45aba7}{elm\_theme\_list\_item\_path\_get}}(\textcolor{stringliteral}{"{}default"{}}, NULL);}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (!theme) \textcolor{keywordflow}{return} NULL;}
\DoxyCodeLine{   emos = \mbox{\hyperlink{group__Edje__Object__File_gab459d255f85ab555b24181fbd3f2634a}{edje\_file\_collection\_list}}(theme);}
\DoxyCodeLine{   free(theme);}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (!emos) \textcolor{keywordflow}{return} NULL;}
\DoxyCodeLine{}
\DoxyCodeLine{   grid = \mbox{\hyperlink{group__Elm__Gengrid__Group_ga4551f56817ddd07f021a1d89b8ac542a}{elm\_gengrid\_add}}(parent);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Gengrid__Group_gadea5cce647305f0a8f7bca8778131754}{elm\_gengrid\_item\_size\_set}}(grid, 64, 80);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(grid, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(grid, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Eina__List__Group_gac6efafc19f526d916cdb9757240a8773}{EINA\_LIST\_FOREACH}}(emos, it, emo)}
\DoxyCodeLine{     \{}
\DoxyCodeLine{        \textcolor{keywordtype}{char} name[512];}
\DoxyCodeLine{}
\DoxyCodeLine{        \textcolor{keywordflow}{if} (strncmp(emo, \textcolor{stringliteral}{"{}elm/entry/emoticon/"{}}, 19))}
\DoxyCodeLine{          \textcolor{keywordflow}{continue};}
\DoxyCodeLine{        sscanf(emo, \textcolor{stringliteral}{"{}elm/entry/emoticon/\%[\string^/]/default"{}}, name);}
\DoxyCodeLine{        \mbox{\hyperlink{group__Elm__Gengrid__Group_ga1614357292696e7e8d5bcd71e4843fe6}{elm\_gengrid\_item\_append}}(grid, it\_class, strdup(name), \_it\_sel\_cb, aid);}
\DoxyCodeLine{     \}}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Object__File_ga4301434642378c3a733e39836446ae4f}{edje\_file\_collection\_list\_free}}(emos);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Gengrid__Group_ga360f537d18d0b0c16815baf2870c97ef}{elm\_gengrid\_item\_class\_free}}(it\_class);}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordflow}{return} grid;}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_btn\_insert\_cb(\textcolor{keywordtype}{void} *data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \textcolor{keywordtype}{void} *event \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   App\_Inwin\_Data *aid = data;}
\DoxyCodeLine{   \textcolor{keyword}{const} \textcolor{keywordtype}{char} *size[] = \{}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}size"{}},}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}absize"{}},}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}relsize"{}}}
\DoxyCodeLine{   \};}
\DoxyCodeLine{   \textcolor{keyword}{const} \textcolor{keywordtype}{char} *vsize[] = \{}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}full"{}},}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}ascent"{}}}
\DoxyCodeLine{   \};}
\DoxyCodeLine{   \textcolor{keywordtype}{char} buf[512];}
\DoxyCodeLine{}
\DoxyCodeLine{   snprintf(buf, \textcolor{keyword}{sizeof}(buf), \textcolor{stringliteral}{"{}<item \%s=\%dx\%d vsize=\%s href=emoticon/\%s>"{}}}
\DoxyCodeLine{            \textcolor{stringliteral}{"{}</item>"{}}, size[aid-\/>size], aid-\/>width, aid-\/>height,}
\DoxyCodeLine{            vsize[aid-\/>vsize], aid-\/>emo);}
\DoxyCodeLine{   \_edit\_buffer\_insert(aid-\/>ad-\/>edit\_buffer, buf);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9217cf1d90690dbd1960db155d1c7476}{evas\_object\_del}}(aid-\/>inwin);}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_width\_changed\_cb(\textcolor{keywordtype}{void} *data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj, \textcolor{keywordtype}{void} *event \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   App\_Inwin\_Data *aid = data;}
\DoxyCodeLine{}
\DoxyCodeLine{   aid-\/>width = atoi(elm\_object\_text\_get(obj));}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_height\_changed\_cb(\textcolor{keywordtype}{void} *data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj, \textcolor{keywordtype}{void} *event \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   App\_Inwin\_Data *aid = data;}
\DoxyCodeLine{}
\DoxyCodeLine{   aid-\/>height = atoi(elm\_object\_text\_get(obj));}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *}
\DoxyCodeLine{\_page\_settings\_add(\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *parent, App\_Inwin\_Data *aid)}
\DoxyCodeLine{\{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *box, *sizeopts, *box2, *sizebox, *vsizebox,}
\DoxyCodeLine{               *rsize, *rabsize, *rrelsize, *rvfull, *rvascent,}
\DoxyCodeLine{               *fwidth, *ewidth, *fheight, *eheight,}
\DoxyCodeLine{               *binsert;}
\DoxyCodeLine{   \textcolor{keywordtype}{char} buf[100];}
\DoxyCodeLine{   \textcolor{keyword}{static} \mbox{\hyperlink{struct__Elm__Entry__Filter__Accept__Set}{Elm\_Entry\_Filter\_Accept\_Set}} accept\_set = \{}
\DoxyCodeLine{        .\mbox{\hyperlink{struct__Elm__Entry__Filter__Accept__Set_a80eee21723a962770265662319a3f016}{accepted}} = \textcolor{stringliteral}{"{}0123456789"{}},}
\DoxyCodeLine{        .rejected = NULL}
\DoxyCodeLine{   \};}
\DoxyCodeLine{   \textcolor{keyword}{static} \mbox{\hyperlink{struct__Elm__Entry__Filter__Limit__Size}{Elm\_Entry\_Filter\_Limit\_Size}} limit\_size = \{}
\DoxyCodeLine{        .\mbox{\hyperlink{struct__Elm__Entry__Filter__Limit__Size_aea7ee771a6525ed549ca5c797e04be7a}{max\_char\_count}} = 5,}
\DoxyCodeLine{        .max\_byte\_count = 0}
\DoxyCodeLine{   \};}
\DoxyCodeLine{}
\DoxyCodeLine{   box = \mbox{\hyperlink{group__Elm__Box__Group_ga49ec615c90bf8bead2158d5ffab2e445}{elm\_box\_add}}(parent);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(box, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(box, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{}
\DoxyCodeLine{   sizeopts = \mbox{\hyperlink{group__Elm__Frame__Group_ga7a1801e032f479332d8c68b17bc2e0bf}{elm\_frame\_add}}(parent);}
\DoxyCodeLine{   elm\_object\_text\_set(sizeopts, \textcolor{stringliteral}{"{}Size"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(sizeopts, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, 0.0);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(sizeopts, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(box, sizeopts);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(sizeopts);}
\DoxyCodeLine{}
\DoxyCodeLine{   box2 = \mbox{\hyperlink{group__Elm__Box__Group_ga49ec615c90bf8bead2158d5ffab2e445}{elm\_box\_add}}(parent);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(box2, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(box2, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   elm\_object\_content\_set(sizeopts, box2);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(box2);}
\DoxyCodeLine{}
\DoxyCodeLine{   sizebox = \mbox{\hyperlink{group__Elm__Box__Group_ga49ec615c90bf8bead2158d5ffab2e445}{elm\_box\_add}}(parent);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga447f790a64a49b477019938dc3d5c3ff}{elm\_box\_horizontal\_set}}(sizebox, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(sizebox, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}},}
\DoxyCodeLine{                                    \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(sizebox, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(box2, sizebox);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(sizebox);}
\DoxyCodeLine{}
\DoxyCodeLine{   rsize = \mbox{\hyperlink{group__Elm__Radio__Group_ga55ac57f03ef5a581b1fee0dce02961d2}{elm\_radio\_add}}(parent);}
\DoxyCodeLine{   elm\_object\_text\_set(rsize, \textcolor{stringliteral}{"{}Scale adjusted (size)"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gac67d20c6bccac5b1ed81cddd76880235}{elm\_radio\_state\_value\_set}}(rsize, 0);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gae96fc2cfbb4c864641eb997a96dfa6e4}{elm\_radio\_value\_pointer\_set}}(rsize, \&aid-\/>size);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(sizebox, rsize);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(rsize);}
\DoxyCodeLine{}
\DoxyCodeLine{   rabsize = \mbox{\hyperlink{group__Elm__Radio__Group_ga55ac57f03ef5a581b1fee0dce02961d2}{elm\_radio\_add}}(parent);}
\DoxyCodeLine{   elm\_object\_text\_set(rabsize, \textcolor{stringliteral}{"{}Absolute size (absize)"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gac67d20c6bccac5b1ed81cddd76880235}{elm\_radio\_state\_value\_set}}(rabsize, 1);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gae96fc2cfbb4c864641eb997a96dfa6e4}{elm\_radio\_value\_pointer\_set}}(rabsize, \&aid-\/>size);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gaa597f8aaad338c0221dada51ac7e110f}{elm\_radio\_group\_add}}(rabsize, rsize);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(sizebox, rabsize);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(rabsize);}
\DoxyCodeLine{}
\DoxyCodeLine{   rrelsize = \mbox{\hyperlink{group__Elm__Radio__Group_ga55ac57f03ef5a581b1fee0dce02961d2}{elm\_radio\_add}}(parent);}
\DoxyCodeLine{   elm\_object\_text\_set(rrelsize, \textcolor{stringliteral}{"{}Relative to line (relsize)"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gac67d20c6bccac5b1ed81cddd76880235}{elm\_radio\_state\_value\_set}}(rrelsize, 2);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gae96fc2cfbb4c864641eb997a96dfa6e4}{elm\_radio\_value\_pointer\_set}}(rrelsize, \&aid-\/>size);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gaa597f8aaad338c0221dada51ac7e110f}{elm\_radio\_group\_add}}(rrelsize, rsize);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(sizebox, rrelsize);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(rrelsize);}
\DoxyCodeLine{}
\DoxyCodeLine{   vsizebox = \mbox{\hyperlink{group__Elm__Box__Group_ga49ec615c90bf8bead2158d5ffab2e445}{elm\_box\_add}}(parent);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga447f790a64a49b477019938dc3d5c3ff}{elm\_box\_horizontal\_set}}(vsizebox, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(vsizebox, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}},}
\DoxyCodeLine{                                    \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(vsizebox, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(box2, vsizebox);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(vsizebox);}
\DoxyCodeLine{}
\DoxyCodeLine{   rvfull = \mbox{\hyperlink{group__Elm__Radio__Group_ga55ac57f03ef5a581b1fee0dce02961d2}{elm\_radio\_add}}(parent);}
\DoxyCodeLine{   elm\_object\_text\_set(rvfull, \textcolor{stringliteral}{"{}Full height (vsize=full)"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gac67d20c6bccac5b1ed81cddd76880235}{elm\_radio\_state\_value\_set}}(rvfull, 0);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gae96fc2cfbb4c864641eb997a96dfa6e4}{elm\_radio\_value\_pointer\_set}}(rvfull, \&aid-\/>vsize);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(vsizebox, rvfull);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(rvfull);}
\DoxyCodeLine{}
\DoxyCodeLine{   rvascent = \mbox{\hyperlink{group__Elm__Radio__Group_ga55ac57f03ef5a581b1fee0dce02961d2}{elm\_radio\_add}}(parent);}
\DoxyCodeLine{   elm\_object\_text\_set(rvascent, \textcolor{stringliteral}{"{}Ascent only (vsize=ascent)"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gac67d20c6bccac5b1ed81cddd76880235}{elm\_radio\_state\_value\_set}}(rvascent, 1);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gae96fc2cfbb4c864641eb997a96dfa6e4}{elm\_radio\_value\_pointer\_set}}(rvascent, \&aid-\/>vsize);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Radio__Group_gaa597f8aaad338c0221dada51ac7e110f}{elm\_radio\_group\_add}}(rvascent, rvfull);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(vsizebox, rvascent);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(rvascent);}
\DoxyCodeLine{}
\DoxyCodeLine{   fwidth = \mbox{\hyperlink{group__Elm__Frame__Group_ga7a1801e032f479332d8c68b17bc2e0bf}{elm\_frame\_add}}(parent);}
\DoxyCodeLine{   elm\_object\_text\_set(fwidth, \textcolor{stringliteral}{"{}Width"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(fwidth, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, 0.0);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(fwidth, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(box2, fwidth);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(fwidth);}
\DoxyCodeLine{}
\DoxyCodeLine{   snprintf(buf, \textcolor{keyword}{sizeof}(buf), \textcolor{stringliteral}{"{}\%d"{}}, aid-\/>width);}
\DoxyCodeLine{   ewidth = \mbox{\hyperlink{group__Elm__Entry__Group_gafb201886fc4ee715d229ad2fddfe2ee7}{elm\_entry\_add}}(parent);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga96e162d7def2bbba34c5449d51f87fdd}{elm\_entry\_single\_line\_set}}(ewidth, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga183c0a0afb4a25eaf677deb3c544a8b6}{elm\_entry\_markup\_filter\_append}}(ewidth, \mbox{\hyperlink{group__Elm__Entry__Group_ga1e05b2bb8af5220b4705e9c719f6862d}{elm\_entry\_filter\_accept\_set}},}
\DoxyCodeLine{                                  \&accept\_set);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga183c0a0afb4a25eaf677deb3c544a8b6}{elm\_entry\_markup\_filter\_append}}(ewidth, \mbox{\hyperlink{group__Elm__Entry__Group_gad7c7596fbb344f228bfa47d890714681}{elm\_entry\_filter\_limit\_size}},}
\DoxyCodeLine{                                  \&limit\_size);}
\DoxyCodeLine{   elm\_object\_text\_set(ewidth, buf);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(ewidth, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, 0.0);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(ewidth, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   elm\_object\_content\_set(fwidth, ewidth);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(ewidth);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(ewidth, \textcolor{stringliteral}{"{}changed"{}}, \_width\_changed\_cb, aid);}
\DoxyCodeLine{}
\DoxyCodeLine{   fheight = \mbox{\hyperlink{group__Elm__Frame__Group_ga7a1801e032f479332d8c68b17bc2e0bf}{elm\_frame\_add}}(parent);}
\DoxyCodeLine{   elm\_object\_text\_set(fheight, \textcolor{stringliteral}{"{}Height"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(fheight, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, 0.0);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(fheight, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(box2, fheight);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(fheight);}
\DoxyCodeLine{}
\DoxyCodeLine{   snprintf(buf, \textcolor{keyword}{sizeof}(buf), \textcolor{stringliteral}{"{}\%d"{}}, aid-\/>height);}
\DoxyCodeLine{   eheight = \mbox{\hyperlink{group__Elm__Entry__Group_gafb201886fc4ee715d229ad2fddfe2ee7}{elm\_entry\_add}}(parent);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga96e162d7def2bbba34c5449d51f87fdd}{elm\_entry\_single\_line\_set}}(eheight, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga183c0a0afb4a25eaf677deb3c544a8b6}{elm\_entry\_markup\_filter\_append}}(eheight, \mbox{\hyperlink{group__Elm__Entry__Group_ga1e05b2bb8af5220b4705e9c719f6862d}{elm\_entry\_filter\_accept\_set}},}
\DoxyCodeLine{                                  \&accept\_set);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga183c0a0afb4a25eaf677deb3c544a8b6}{elm\_entry\_markup\_filter\_append}}(eheight, \mbox{\hyperlink{group__Elm__Entry__Group_gad7c7596fbb344f228bfa47d890714681}{elm\_entry\_filter\_limit\_size}},}
\DoxyCodeLine{                                  \&limit\_size);}
\DoxyCodeLine{   elm\_object\_text\_set(eheight, buf);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(eheight, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, 0.0);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(eheight, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   elm\_object\_content\_set(fheight, eheight);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(eheight);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(eheight, \textcolor{stringliteral}{"{}changed"{}}, \_height\_changed\_cb, aid);}
\DoxyCodeLine{}
\DoxyCodeLine{   binsert = \mbox{\hyperlink{group__Elm__Button_gaf5caf46d74c4e122a18da323935d25e4}{elm\_button\_add}}(parent);}
\DoxyCodeLine{   elm\_object\_text\_set(binsert, \textcolor{stringliteral}{"{}Insert"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(box, binsert);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(binsert);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(binsert, \textcolor{stringliteral}{"{}clicked"{}}, \_btn\_insert\_cb, aid);}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordflow}{return} box;}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_insert\_cancel\_cb(\textcolor{keywordtype}{void} *data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},}
\DoxyCodeLine{                  \textcolor{keywordtype}{void} *event \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   App\_Inwin\_Data *aid = data;}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9217cf1d90690dbd1960db155d1c7476}{evas\_object\_del}}(aid-\/>inwin);}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_inwin\_del\_cb(\textcolor{keywordtype}{void} *data, \mbox{\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas}} *e \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},}
\DoxyCodeLine{              \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \textcolor{keywordtype}{void} *event \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   free(data);}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_image\_insert\_cb(\textcolor{keywordtype}{void} *data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}},}
\DoxyCodeLine{                 \textcolor{keywordtype}{void} *event \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   App\_Data *ad = data;}
\DoxyCodeLine{   App\_Inwin\_Data *aid;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *inwin, *box, *box2, *naviframe, *o;}
\DoxyCodeLine{}
\DoxyCodeLine{   aid = calloc(1, \textcolor{keyword}{sizeof}(App\_Inwin\_Data));}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (!aid) \textcolor{keywordflow}{return};}
\DoxyCodeLine{}
\DoxyCodeLine{   aid-\/>ad = ad;}
\DoxyCodeLine{   aid-\/>size = 1;}
\DoxyCodeLine{   aid-\/>vsize = 1;}
\DoxyCodeLine{   aid-\/>width = 64;}
\DoxyCodeLine{   aid-\/>height = 64;}
\DoxyCodeLine{}
\DoxyCodeLine{   inwin = \mbox{\hyperlink{group__Elm__Inwin__Group_ga318183a28e45ff7c7010781c5fe56789}{elm\_win\_inwin\_add}}(ad-\/>win);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(inwin, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(inwin, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(inwin);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Events_gac71a1038dad71da36f57b70c8ad10252}{evas\_object\_event\_callback\_add}}(inwin, \mbox{\hyperlink{Evas__Common_8h_ad64cde0da38a60e7cb7905b3ab216968a4471afbcbb4a754b7b0bbde00fb9a277}{EVAS\_CALLBACK\_DEL}}, \_inwin\_del\_cb,}
\DoxyCodeLine{                                  aid);}
\DoxyCodeLine{}
\DoxyCodeLine{   box = \mbox{\hyperlink{group__Elm__Box__Group_ga49ec615c90bf8bead2158d5ffab2e445}{elm\_box\_add}}(ad-\/>win);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(box, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(box, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Inwin__Group_gaeb4bd299e4d9b4dc040ac29e1b1d6b1e}{elm\_win\_inwin\_content\_set}}(inwin, box);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(box);}
\DoxyCodeLine{}
\DoxyCodeLine{   naviframe = \mbox{\hyperlink{group__Elm__Naviframe__Group_ga8c53b29789e38864d6f5c455ddd71a0e}{elm\_naviframe\_add}}(ad-\/>win);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(naviframe, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(naviframe, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(box, naviframe);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(naviframe);}
\DoxyCodeLine{}
\DoxyCodeLine{   o = \_page\_grid\_add(ad-\/>win, aid);}
\DoxyCodeLine{   elm\_naviframe\_item\_simple\_push(naviframe, o);}
\DoxyCodeLine{   aid-\/>grid = o;}
\DoxyCodeLine{}
\DoxyCodeLine{   o = \_page\_settings\_add(ad-\/>win, aid);}
\DoxyCodeLine{   elm\_naviframe\_item\_simple\_push(naviframe, o);}
\DoxyCodeLine{   aid-\/>settings = o;}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Naviframe__Group_gada1d362c52eed9f09e5f4cc3d1b270ab}{elm\_naviframe\_item\_simple\_promote}}(naviframe, aid-\/>grid);}
\DoxyCodeLine{}
\DoxyCodeLine{   box2 = \mbox{\hyperlink{group__Elm__Box__Group_ga49ec615c90bf8bead2158d5ffab2e445}{elm\_box\_add}}(ad-\/>win);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga447f790a64a49b477019938dc3d5c3ff}{elm\_box\_horizontal\_set}}(box2, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(box2, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, 0.0);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(box2, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(box, box2);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(box2);}
\DoxyCodeLine{}
\DoxyCodeLine{   o = \mbox{\hyperlink{group__Elm__Button_gaf5caf46d74c4e122a18da323935d25e4}{elm\_button\_add}}(ad-\/>win);}
\DoxyCodeLine{   elm\_object\_text\_set(o, \textcolor{stringliteral}{"{}Cancel"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(o, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(o, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(box2, o);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(o);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(o, \textcolor{stringliteral}{"{}clicked"{}}, \_insert\_cancel\_cb, aid);}
\DoxyCodeLine{}
\DoxyCodeLine{   aid-\/>inwin = inwin;}
\DoxyCodeLine{   aid-\/>naviframe = naviframe;}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_format\_change\_cb(\textcolor{keywordtype}{void} *data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj, \textcolor{keywordtype}{void} *event \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   App\_Data *ad = data;}
\DoxyCodeLine{   \textcolor{keywordtype}{char} fmt\_open[5], fmt\_close[6];}
\DoxyCodeLine{   \textcolor{keyword}{const} \textcolor{keywordtype}{char} *sel;}
\DoxyCodeLine{   \textcolor{keywordtype}{int} cursor;}
\DoxyCodeLine{   \textcolor{keywordtype}{char} *s;}
\DoxyCodeLine{   \textcolor{keyword}{const} \textcolor{keywordtype}{char} *ptr, *what;}
\DoxyCodeLine{   \mbox{\hyperlink{struct__Eina__Strbuf}{Eina\_Strbuf}} *buf = NULL;}
\DoxyCodeLine{}
\DoxyCodeLine{   sel = elm\_object\_text\_get(obj);}
\DoxyCodeLine{   snprintf(fmt\_open, \textcolor{keyword}{sizeof}(fmt\_open), \textcolor{stringliteral}{"{}<\%s>"{}}, sel);}
\DoxyCodeLine{   snprintf(fmt\_close, \textcolor{keyword}{sizeof}(fmt\_close), \textcolor{stringliteral}{"{}</\%s>"{}}, sel);}
\DoxyCodeLine{}
\DoxyCodeLine{   buf = \mbox{\hyperlink{group__Eina__String__Buffer__Group_ga13277ebcc07defa040d6e92f22774031}{eina\_strbuf\_new}}();}
\DoxyCodeLine{}
\DoxyCodeLine{   cursor = \mbox{\hyperlink{group__Elm__Entry__Group_ga7fd85bdd49063cf46dc33881a0467b5e}{elm\_entry\_cursor\_pos\_get}}(ad-\/>edit\_buffer);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga8ee511b7603abc14b1a413532665d9ca}{elm\_entry\_cursor\_begin\_set}}(ad-\/>edit\_buffer);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_gabe7d304abb5916c82d77fe4ea9998d62}{elm\_entry\_cursor\_selection\_begin}}(ad-\/>edit\_buffer);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga103d3179e4e832632f24ab3c13418b94}{elm\_entry\_cursor\_pos\_set}}(ad-\/>edit\_buffer, cursor);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga0a642462f4c8e431b6251b12d927b2f4}{elm\_entry\_cursor\_selection\_end}}(ad-\/>edit\_buffer);}
\DoxyCodeLine{   sel = \mbox{\hyperlink{group__Elm__Entry__Group_ga4268754dfa50669fef6b429f27f6a6b1}{elm\_entry\_selection\_get}}(ad-\/>edit\_buffer);}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (!sel || !sel[0])}
\DoxyCodeLine{     \{}
\DoxyCodeLine{        \mbox{\hyperlink{group__Eina__String__Buffer__Group_gad476e89a04c3f1571e3628facd4319bb}{eina\_strbuf\_append}}(buf, fmt\_open);}
\DoxyCodeLine{        \textcolor{keywordflow}{goto} all\_done;}
\DoxyCodeLine{     \}}
\DoxyCodeLine{   what = fmt\_open;}
\DoxyCodeLine{   ptr = sel;}
\DoxyCodeLine{   \textcolor{keywordflow}{while} ((s = strstr(ptr, what)))}
\DoxyCodeLine{     \{}
\DoxyCodeLine{        ptr = s + strlen(what);}
\DoxyCodeLine{        \textcolor{keywordflow}{if} (what == fmt\_open) what = fmt\_close;}
\DoxyCodeLine{        \textcolor{keywordflow}{else} what = fmt\_open;}
\DoxyCodeLine{     \}}
\DoxyCodeLine{   \mbox{\hyperlink{group__Eina__String__Buffer__Group_gad476e89a04c3f1571e3628facd4319bb}{eina\_strbuf\_append}}(buf, what);}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (what == fmt\_close)}
\DoxyCodeLine{     \{}
\DoxyCodeLine{        \mbox{\hyperlink{group__Elm__Entry__Group_gabe7d304abb5916c82d77fe4ea9998d62}{elm\_entry\_cursor\_selection\_begin}}(ad-\/>edit\_buffer);}
\DoxyCodeLine{        \mbox{\hyperlink{group__Elm__Entry__Group_ga6336f667855800817c5d9faf8b8c318d}{elm\_entry\_cursor\_end\_set}}(ad-\/>edit\_buffer);}
\DoxyCodeLine{        \mbox{\hyperlink{group__Elm__Entry__Group_ga0a642462f4c8e431b6251b12d927b2f4}{elm\_entry\_cursor\_selection\_end}}(ad-\/>edit\_buffer);}
\DoxyCodeLine{        sel = \mbox{\hyperlink{group__Elm__Entry__Group_ga4268754dfa50669fef6b429f27f6a6b1}{elm\_entry\_selection\_get}}(ad-\/>edit\_buffer);}
\DoxyCodeLine{        \textcolor{keywordflow}{if} (sel)}
\DoxyCodeLine{          \{}
\DoxyCodeLine{             \mbox{\hyperlink{struct__Eina__Strbuf}{Eina\_Strbuf}} *buf2 = \mbox{\hyperlink{group__Eina__String__Buffer__Group_ga13277ebcc07defa040d6e92f22774031}{eina\_strbuf\_new}}();}
\DoxyCodeLine{             \mbox{\hyperlink{group__Eina__String__Buffer__Group_gad476e89a04c3f1571e3628facd4319bb}{eina\_strbuf\_append}}(buf2, sel);}
\DoxyCodeLine{             \mbox{\hyperlink{group__Eina__String__Buffer__Group_gadb9be08a24e6b4a8702ca9930cf1ea17}{eina\_strbuf\_replace\_first}}(buf2, fmt\_close, \textcolor{stringliteral}{"{}"{}});}
\DoxyCodeLine{             \mbox{\hyperlink{group__Elm__Entry__Group_gacf27a8e1b5f1af931284fb840c7251b0}{elm\_entry\_entry\_insert}}(ad-\/>edit\_buffer,}
\DoxyCodeLine{                                    \mbox{\hyperlink{group__Eina__String__Buffer__Group_gafd020a4f5483d73741c9d1b6d44b24d5}{eina\_strbuf\_string\_get}}(buf2));}
\DoxyCodeLine{             \mbox{\hyperlink{group__Eina__String__Buffer__Group_ga88d8da6589bad44714ad9e47aaa1992b}{eina\_strbuf\_free}}(buf2);}
\DoxyCodeLine{          \}}
\DoxyCodeLine{     \}}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_gaaf4d71b5b72f8cca01e5f9cdd5d95f2b}{elm\_entry\_select\_none}}(ad-\/>edit\_buffer);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga103d3179e4e832632f24ab3c13418b94}{elm\_entry\_cursor\_pos\_set}}(ad-\/>edit\_buffer, cursor);}
\DoxyCodeLine{}
\DoxyCodeLine{all\_done:}
\DoxyCodeLine{   \_edit\_buffer\_insert(ad-\/>edit\_buffer, \mbox{\hyperlink{group__Eina__String__Buffer__Group_gafd020a4f5483d73741c9d1b6d44b24d5}{eina\_strbuf\_string\_get}}(buf));}
\DoxyCodeLine{   \mbox{\hyperlink{group__Eina__String__Buffer__Group_ga88d8da6589bad44714ad9e47aaa1992b}{eina\_strbuf\_free}}(buf);}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_autosave\_change\_cb(\textcolor{keywordtype}{void} *data, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj, \textcolor{keywordtype}{void} *event \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   App\_Data *ad = data;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\_Bool}} state = \mbox{\hyperlink{group__Elm__Check_ga011ed8bd33b24ab9be27d7f162b80846}{elm\_check\_state\_get}}(obj);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_gaf11dbad4cd1e5309fb655910e4f14771}{elm\_entry\_autosave\_set}}(ad-\/>edit\_buffer, state);}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (state) \mbox{\hyperlink{group__Elm__Entry__Group_gaa44cb80b64207a3706fad36d35e92bc7}{elm\_entry\_file\_save}}(ad-\/>edit\_buffer);}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_edit\_dblclick\_cb(\textcolor{keywordtype}{void} *data \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj,}
\DoxyCodeLine{                  \textcolor{keywordtype}{void} *event \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   \textcolor{keywordtype}{int} current\_cursor;}
\DoxyCodeLine{}
\DoxyCodeLine{   current\_cursor = \mbox{\hyperlink{group__Elm__Entry__Group_ga7fd85bdd49063cf46dc33881a0467b5e}{elm\_entry\_cursor\_pos\_get}}(obj);}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordflow}{while} (\mbox{\hyperlink{group__Elm__Entry__Group_ga95c490e60101d05f72a660be8e75b18f}{elm\_entry\_cursor\_prev}}(obj))}
\DoxyCodeLine{     \{}
\DoxyCodeLine{        \textcolor{keyword}{const} \textcolor{keywordtype}{char} *content;}
\DoxyCodeLine{        \textcolor{keywordflow}{if} (\mbox{\hyperlink{group__Elm__Entry__Group_ga64f82ec87268674d1981d571ba2b0636}{elm\_entry\_cursor\_is\_visible\_format\_get}}(obj))}
\DoxyCodeLine{          \textcolor{keywordflow}{break};}
\DoxyCodeLine{        content = \mbox{\hyperlink{group__Elm__Entry__Group_gaece7266c63e76e954e17dbe232ce0b36}{elm\_entry\_cursor\_content\_get}}(obj);}
\DoxyCodeLine{        \textcolor{keywordflow}{if} (content \&\& (content[0] == \textcolor{charliteral}{' '}))}
\DoxyCodeLine{          \textcolor{keywordflow}{break};}
\DoxyCodeLine{     \}}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (current\_cursor == \mbox{\hyperlink{group__Elm__Entry__Group_ga7fd85bdd49063cf46dc33881a0467b5e}{elm\_entry\_cursor\_pos\_get}}(obj))}
\DoxyCodeLine{     \textcolor{keywordflow}{return};}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_gabfa4a0f5a6b9774cb4d1ebe289e65935}{elm\_entry\_cursor\_next}}(obj);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_gabe7d304abb5916c82d77fe4ea9998d62}{elm\_entry\_cursor\_selection\_begin}}(obj);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga103d3179e4e832632f24ab3c13418b94}{elm\_entry\_cursor\_pos\_set}}(obj, current\_cursor);}
\DoxyCodeLine{   \textcolor{keywordflow}{while} (\mbox{\hyperlink{group__Elm__Entry__Group_gabfa4a0f5a6b9774cb4d1ebe289e65935}{elm\_entry\_cursor\_next}}(obj))}
\DoxyCodeLine{     \{}
\DoxyCodeLine{        \textcolor{keyword}{const} \textcolor{keywordtype}{char} *content;}
\DoxyCodeLine{        \textcolor{keywordflow}{if} (\mbox{\hyperlink{group__Elm__Entry__Group_ga64f82ec87268674d1981d571ba2b0636}{elm\_entry\_cursor\_is\_visible\_format\_get}}(obj))}
\DoxyCodeLine{          \textcolor{keywordflow}{break};}
\DoxyCodeLine{        content = \mbox{\hyperlink{group__Elm__Entry__Group_gaece7266c63e76e954e17dbe232ce0b36}{elm\_entry\_cursor\_content\_get}}(obj);}
\DoxyCodeLine{        \textcolor{keywordflow}{if} (content \&\& (content[0] == \textcolor{charliteral}{' '}))}
\DoxyCodeLine{          \textcolor{keywordflow}{break};}
\DoxyCodeLine{     \}}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga0a642462f4c8e431b6251b12d927b2f4}{elm\_entry\_cursor\_selection\_end}}(obj);}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_edit\_tplclick\_cb(\textcolor{keywordtype}{void} *data \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj,}
\DoxyCodeLine{                  \textcolor{keywordtype}{void} *event \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_gaf523d39624b8e70aba49c93b0bd4570f}{elm\_entry\_cursor\_line\_begin\_set}}(obj);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_gabe7d304abb5916c82d77fe4ea9998d62}{elm\_entry\_cursor\_selection\_begin}}(obj);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga5f8f18958079b4b65cf4c8c71936a1ec}{elm\_entry\_cursor\_line\_end\_set}}(obj);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga0a642462f4c8e431b6251b12d927b2f4}{elm\_entry\_cursor\_selection\_end}}(obj);}
\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{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *win, *box, *tb, *en, *o, *icon;}
\DoxyCodeLine{   App\_Data app;}
\DoxyCodeLine{}
\DoxyCodeLine{   memset(\&app, 0, \textcolor{keyword}{sizeof}(app));}
\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}{"{}entry-\/example"{}}, \textcolor{stringliteral}{"{}Emacs Lite"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Win__Group_ga9a16a2f8c9fd5b6e9203ed9dcb53ea8b}{elm\_win\_autodel\_set}}(win, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{}
\DoxyCodeLine{   box = \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}}(box, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Win__Group_ga505d6bd217e5ee01e82b548ec35986eb}{elm\_win\_resize\_object\_add}}(win, box);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(box);}
\DoxyCodeLine{}
\DoxyCodeLine{   tb = \mbox{\hyperlink{group__Elm__Box__Group_ga49ec615c90bf8bead2158d5ffab2e445}{elm\_box\_add}}(win);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga447f790a64a49b477019938dc3d5c3ff}{elm\_box\_horizontal\_set}}(tb, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(tb, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, 0.0);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(tb, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(box, tb);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(tb);}
\DoxyCodeLine{}
\DoxyCodeLine{   o = \mbox{\hyperlink{group__Elm__Check_ga467a6a6215c116a18664aa40fc95f4e3}{elm\_check\_add}}(win);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Check_gaa011e6d86f82142698760cf0cc4fd0a4}{elm\_check\_state\_set}}(o, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\_FALSE}});}
\DoxyCodeLine{   elm\_object\_text\_set(o, \textcolor{stringliteral}{"{}Autosave"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(tb, o);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(o);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(o, \textcolor{stringliteral}{"{}changed"{}}, \_autosave\_change\_cb, \&app);}
\DoxyCodeLine{}
\DoxyCodeLine{   o = \mbox{\hyperlink{group__Elm__Button_gaf5caf46d74c4e122a18da323935d25e4}{elm\_button\_add}}(win);}
\DoxyCodeLine{   elm\_object\_text\_set(o, \textcolor{stringliteral}{"{}b"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(tb, o);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(o);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(o, \textcolor{stringliteral}{"{}clicked"{}}, \_format\_change\_cb, \&app);}
\DoxyCodeLine{}
\DoxyCodeLine{   o = \mbox{\hyperlink{group__Elm__Button_gaf5caf46d74c4e122a18da323935d25e4}{elm\_button\_add}}(win);}
\DoxyCodeLine{   elm\_object\_text\_set(o, \textcolor{stringliteral}{"{}em"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(tb, o);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(o);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(o, \textcolor{stringliteral}{"{}clicked"{}}, \_format\_change\_cb, \&app);}
\DoxyCodeLine{}
\DoxyCodeLine{   o = \mbox{\hyperlink{group__Elm__Button_gaf5caf46d74c4e122a18da323935d25e4}{elm\_button\_add}}(win);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(tb, o);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(o);}
\DoxyCodeLine{}
\DoxyCodeLine{   icon = \mbox{\hyperlink{group__Elm__Layout_ga5bcf7d68b0401cc7d557ef7d297baa3e}{elm\_layout\_add}}(win);}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (!\mbox{\hyperlink{group__Elm__Layout_ga8f28efed82872f5c57a61db5c81d4eb3}{elm\_layout\_theme\_set}}(}
\DoxyCodeLine{         icon, \textcolor{stringliteral}{"{}entry"{}}, \textcolor{stringliteral}{"{}emoticon/haha"{}}, \textcolor{stringliteral}{"{}default"{}}))}
\DoxyCodeLine{     fprintf(stderr, \textcolor{stringliteral}{"{}Failed to set layout"{}});}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__General_ga0531ec8867c72def7c780601764ca642}{elm\_object\_part\_content\_set}}(o, \textcolor{stringliteral}{"{}icon"{}}, icon);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(o, \textcolor{stringliteral}{"{}clicked"{}}, \_image\_insert\_cb, \&app);}
\DoxyCodeLine{}
\DoxyCodeLine{   en = \mbox{\hyperlink{group__Elm__Entry__Group_gafb201886fc4ee715d229ad2fddfe2ee7}{elm\_entry\_add}}(win);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_gaf11dbad4cd1e5309fb655910e4f14771}{elm\_entry\_autosave\_set}}(en, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\_FALSE}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Entry__Group_ga873dc14aec6498faa47db768f8ea0028}{elm\_entry\_file\_set}}(en, \textcolor{stringliteral}{"{}/tmp/da\_test.txt"{}}, \mbox{\hyperlink{group__Elm__General_gga0813d45294f8b2213aeded2ddebe627ea1175b97770899a9423de08909a7d762c}{ELM\_TEXT\_FORMAT\_MARKUP\_UTF8}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9379629ad8ad2860aa786d838a4a106a}{evas\_object\_size\_hint\_weight\_set}}(en, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}}, \mbox{\hyperlink{Evas__Common_8h_aa47c85083d3dae0111c21ec49359306a}{EVAS\_HINT\_EXPAND}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gaaf1d3e26e36b316977336066b6f56632}{evas\_object\_size\_hint\_align\_set}}(en, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}}, \mbox{\hyperlink{Evas__Common_8h_aecbac710f36d52911fc34dcdaf8e729c}{EVAS\_HINT\_FILL}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Box__Group_ga66a10dd861578521af2ab7b8c2ca65c5}{elm\_box\_pack\_end}}(box, en);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(en);}
\DoxyCodeLine{}
\DoxyCodeLine{   app.win = win;}
\DoxyCodeLine{   app.edit\_buffer = en;}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(en, \textcolor{stringliteral}{"{}clicked,double"{}}, \_edit\_dblclick\_cb,}
\DoxyCodeLine{                                  NULL);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Smart__Object__Group_gac12dd6655f488cc47ce6cf00eb7d12b2}{evas\_object\_smart\_callback\_add}}(en, \textcolor{stringliteral}{"{}clicked,triple"{}}, \_edit\_tplclick\_cb,}
\DoxyCodeLine{                                  NULL);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__Focus_ga05e39b5e60ad861c63100c811855ef55}{elm\_object\_focus\_set}}(app.edit\_buffer, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_gacad94595f83580c18908cb3b69b08d1a}{evas\_object\_resize}}(win, 300, 780);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga07208fcafd4739de606bc35fff684bf5}{evas\_object\_show}}(win);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Elm__General_gadf2553f83e6b0b9c7fbe054019a664a1}{elm\_run}}();}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordflow}{return} 0;}
\DoxyCodeLine{\}}
\DoxyCodeLine{\mbox{\hyperlink{group__Elm__General_ga50fe52d513f7e89c9c770afd76de7ad9}{ELM\_MAIN}}()}

\end{DoxyCodeInclude}
 