This example shows how to manipulate T\+E\+XT and T\+E\+X\+T\+B\+L\+O\+CK parts from code.

The very first we are going to do is register a callback to react to changes in the text of our parts\+:  
\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{   edje\_object\_text\_change\_cb\_set(edje\_obj, \_on\_text\_change, NULL);}

\end{DoxyCodeInclude}


 
\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{\_on\_text\_change(\textcolor{keywordtype}{void} *data \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *part)}

\end{DoxyCodeInclude}
 \begin{DoxyNote}{Note}
Since edje\+\_\+obj represent a group we\textquotesingle{}ll be notified whenever any part\textquotesingle{}s text in that group changes.
\end{DoxyNote}
We now set the text for two our two parts\+:  
\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_gafd2241781aedc44a0f4cdc63bb029784}{edje\_object\_part\_text\_set}}(edje\_obj, \textcolor{stringliteral}{"part\_two"}, \textcolor{stringliteral}{"<b>Click here"});}

\end{DoxyCodeInclude}
 \begin{DoxyNote}{Note}
Since the \char`\"{}part\+\_\+two\char`\"{} part is a T\+E\+X\+T\+B\+L\+O\+CK we can use formatting such as $<$b$>$
\end{DoxyNote}
And we now move on to selection issues, first thing we do is make sure the user can select text\+:  
\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{   edje\_object\_part\_text\_select\_allow\_set(edje\_obj, \textcolor{stringliteral}{"part\_two"}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}

\end{DoxyCodeInclude}


We then select the entire text, and print the selected text\+:  
\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{   printf(\textcolor{stringliteral}{"selection: \%s\(\backslash\)n"}, \mbox{\hyperlink{group__Edje__Part__Drag_ga473aaafddaf658634682535f13fad6fe}{edje\_object\_part\_text\_selection\_get}}(edje\_obj, \textcolor{stringliteral}{"part\_two"}));}

\end{DoxyCodeInclude}


We now unselect the entire text(set selection to none), and print the selected text\+:  
\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_gaa353f2ce979d07f5f37267d59816c07a}{edje\_object\_part\_text\_select\_none}}(edje\_obj, \textcolor{stringliteral}{"part\_two"});}
\DoxyCodeLine{   printf(\textcolor{stringliteral}{"selection: \%s\(\backslash\)n"}, \mbox{\hyperlink{group__Edje__Part__Drag_ga473aaafddaf658634682535f13fad6fe}{edje\_object\_part\_text\_selection\_get}}(edje\_obj, \textcolor{stringliteral}{"part\_two"}));}

\end{DoxyCodeInclude}


Our example will look like this\+:

  
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth]{edje-text}}
\end{DoxyImageNoCaption}


The full source code follows\+: 
\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{preprocessor}{\#ifdef HAVE\_CONFIG\_H}}
\DoxyCodeLine{\textcolor{preprocessor}{\# include "config.h"}}
\DoxyCodeLine{\textcolor{preprocessor}{\#else}}
\DoxyCodeLine{\textcolor{preprocessor}{\# define EINA\_UNUSED}}
\DoxyCodeLine{\textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{preprocessor}{\#ifndef PACKAGE\_DATA\_DIR}}
\DoxyCodeLine{\textcolor{preprocessor}{\#define PACKAGE\_DATA\_DIR "."}}
\DoxyCodeLine{\textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{preprocessor}{\#include <Ecore.h>}}
\DoxyCodeLine{\textcolor{preprocessor}{\#include <\mbox{\hyperlink{Ecore__Evas_8h}{Ecore\_Evas.h}}>}}
\DoxyCodeLine{\textcolor{preprocessor}{\#include <\mbox{\hyperlink{Edje_8h}{Edje.h}}>}}
\DoxyCodeLine{\textcolor{preprocessor}{\#include <locale.h>}}
\DoxyCodeLine{\textcolor{preprocessor}{\#include "Eo.h"}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{preprocessor}{\#define WIDTH  (500)}}
\DoxyCodeLine{\textcolor{preprocessor}{\#define HEIGHT (500)}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{int} lang\_idx = 0;}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keyword}{const} \textcolor{keywordtype}{char} *lang[] = \{}
\DoxyCodeLine{  \textcolor{stringliteral}{"en\_IN"},}
\DoxyCodeLine{  \textcolor{stringliteral}{"ta\_IN"},}
\DoxyCodeLine{  \textcolor{stringliteral}{"hi\_IN"}}
\DoxyCodeLine{\};}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_on\_delete(Ecore\_Evas *ee \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Ecore__Main__Loop__Group_ga95cf8e97dff0716433c2c5474d606a98}{ecore\_main\_loop\_quit}}();}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_on\_text\_change(\textcolor{keywordtype}{void} *data \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *obj, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *part)}
\DoxyCodeLine{\{}
\DoxyCodeLine{   printf(\textcolor{stringliteral}{"text: \%s\(\backslash\)n"}, \mbox{\hyperlink{group__Edje__Part__Drag_gaf8f9ad2ce109f890e5d073bfea9c63d9}{edje\_object\_part\_text\_unescaped\_get}}(obj, part));}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_on\_mouse\_down(\textcolor{keywordtype}{void} *data \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \mbox{\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas}} *e \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *o, \textcolor{keywordtype}{void} *event\_info \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   \textcolor{keywordtype}{char} *env;}
\DoxyCodeLine{   lang\_idx = (lang\_idx + 1) \% (\textcolor{keyword}{sizeof} (lang) / \textcolor{keyword}{sizeof} (lang[0]));}
\DoxyCodeLine{   fprintf(stderr, \textcolor{stringliteral}{"Setting lang of this edje object to '\%s'\(\backslash\)n"}, lang[lang\_idx]);}
\DoxyCodeLine{   env = getenv(\textcolor{stringliteral}{"LANGUAGE"});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evil__Stdlib__Group_ga1c8b16a3abcb4dc450a0a62b42c554dd}{setenv}}(\textcolor{stringliteral}{"LANGUAGE"}, lang[lang\_idx], 1);}
\DoxyCodeLine{   edje\_object\_language\_set(o, lang[lang\_idx]);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evil__Stdlib__Group_ga1c8b16a3abcb4dc450a0a62b42c554dd}{setenv}}(\textcolor{stringliteral}{"LANGUAGE"}, env, 1);}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keyword}{static} \textcolor{keywordtype}{void}}
\DoxyCodeLine{\_on\_mouse\_down\_text(\textcolor{keywordtype}{void} *data \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \mbox{\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas}} *e \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *o \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \textcolor{keywordtype}{void} *event\_info \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   lang\_idx = (lang\_idx + 1) \% (\textcolor{keyword}{sizeof} (lang)/ \textcolor{keyword}{sizeof} (lang[0]));}
\DoxyCodeLine{   fprintf(stderr, \textcolor{stringliteral}{"Setting lang to '\%s'\(\backslash\)n"}, lang[lang\_idx]);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evil__Stdlib__Group_ga1c8b16a3abcb4dc450a0a62b42c554dd}{setenv}}(\textcolor{stringliteral}{"LANGUAGE"}, lang[lang\_idx], 1);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Object__Animation_gaff680b06e1e14e848f9f0028b1e521ba}{edje\_language\_set}}(lang[lang\_idx]);}
\DoxyCodeLine{\}}
\DoxyCodeLine{\textcolor{keywordtype}{int}}
\DoxyCodeLine{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{   \textcolor{keyword}{const} \textcolor{keywordtype}{char}  *edje\_file = PACKAGE\_DATA\_DIR\textcolor{stringliteral}{"/text.edj"};}
\DoxyCodeLine{   Ecore\_Evas  *ee;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas}}        *evas;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *bg;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *edje\_obj;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *edje\_obj\_one;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *edje\_obj\_two;}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}} *edje\_obj\_three;}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (!\mbox{\hyperlink{group__Ecore__Evas__Group_ga32ddbb6457033ad435a177eb0c4fe235}{ecore\_evas\_init}}())}
\DoxyCodeLine{     \textcolor{keywordflow}{return} EXIT\_FAILURE;}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (!\mbox{\hyperlink{group__Edje__General__Group_ga1c9c6594f38023c29fbfb2d0c8c675db}{edje\_init}}())}
\DoxyCodeLine{     \textcolor{keywordflow}{goto} shutdown\_ecore\_evas;}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{comment}{/* this will give you a window with an Evas canvas under the first}}
\DoxyCodeLine{\textcolor{comment}{    * engine available */}}
\DoxyCodeLine{   ee = \mbox{\hyperlink{group__Ecore__Evas__Group_gac7f2cdbcb79635c34317c1183dd04cb0}{ecore\_evas\_new}}(NULL, 0, 0, WIDTH, HEIGHT, NULL);}
\DoxyCodeLine{   \textcolor{keywordflow}{if} (!ee) \textcolor{keywordflow}{goto} shutdown\_edje;}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Ecore__Evas__Group_ga3d478e975e2101b9b821ef24baf3dd9e}{ecore\_evas\_callback\_delete\_request\_set}}(ee, \_on\_delete);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Ecore__Evas__Group_ga3b2832e0373bbafae2bb7143618535c1}{ecore\_evas\_title\_set}}(ee, \textcolor{stringliteral}{"Edje Text Example"});}
\DoxyCodeLine{}
\DoxyCodeLine{   evas = \mbox{\hyperlink{group__Ecore__Evas__Group_ga75a7cc694b6069e78df47dab0b0f2d20}{ecore\_evas\_get}}(ee);}
\DoxyCodeLine{}
\DoxyCodeLine{   bg = \mbox{\hyperlink{group__Evas__Object__Rectangle_ga4d80fc32ad1cac28428cebd65d746751}{evas\_object\_rectangle\_add}}(evas);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_gae34bdcfd7f5100151f6ea8ef4a392949}{evas\_object\_color\_set}}(bg, 255, 255, 255, 255); \textcolor{comment}{/* white bg */}}
\DoxyCodeLine{   evas\_object\_move(bg, 0, 0); \textcolor{comment}{/* at canvas' origin */}}
\DoxyCodeLine{   evas\_object\_resize(bg, WIDTH, HEIGHT); \textcolor{comment}{/* covers full canvas */}}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\_object\_show}}(bg);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Ecore__Evas__Group_gac35627a5c3a766ee42762dbcc9eb733d}{ecore\_evas\_object\_associate}}(ee, bg, ECORE\_EVAS\_OBJECT\_ASSOCIATE\_BASE);}
\DoxyCodeLine{}
\DoxyCodeLine{   edje\_obj = edje\_object\_add(evas);}
\DoxyCodeLine{   edje\_object\_file\_set(edje\_obj, edje\_file, \textcolor{stringliteral}{"example\_group"});}
\DoxyCodeLine{   evas\_object\_move(edje\_obj, 0, 20);}
\DoxyCodeLine{   evas\_object\_resize(edje\_obj, WIDTH - 40, HEIGHT - 40);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\_object\_show}}(edje\_obj);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evil__Stdlib__Group_ga1c8b16a3abcb4dc450a0a62b42c554dd}{setenv}}(\textcolor{stringliteral}{"LANGUAGE"}, \textcolor{stringliteral}{"en\_IN"}, 1);}
\DoxyCodeLine{   edje\_object\_language\_set(edje\_obj, \textcolor{stringliteral}{"en\_IN"});}
\DoxyCodeLine{   edje\_object\_text\_change\_cb\_set(edje\_obj, \_on\_text\_change, NULL);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_gafd2241781aedc44a0f4cdc63bb029784}{edje\_object\_part\_text\_set}}(edje\_obj, \textcolor{stringliteral}{"part\_two"}, \textcolor{stringliteral}{"<b>Click here"});}
\DoxyCodeLine{   edje\_object\_part\_text\_select\_allow\_set(edje\_obj, \textcolor{stringliteral}{"part\_two"}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_ga512fb3acdebd983589acc57ee2697779}{edje\_object\_part\_text\_select\_all}}(edje\_obj, \textcolor{stringliteral}{"part\_two"});}
\DoxyCodeLine{   printf(\textcolor{stringliteral}{"selection: \%s\(\backslash\)n"}, \mbox{\hyperlink{group__Edje__Part__Drag_ga473aaafddaf658634682535f13fad6fe}{edje\_object\_part\_text\_selection\_get}}(edje\_obj, \textcolor{stringliteral}{"part\_two"}));}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_gaa353f2ce979d07f5f37267d59816c07a}{edje\_object\_part\_text\_select\_none}}(edje\_obj, \textcolor{stringliteral}{"part\_two"});}
\DoxyCodeLine{   printf(\textcolor{stringliteral}{"selection: \%s\(\backslash\)n"}, \mbox{\hyperlink{group__Edje__Part__Drag_ga473aaafddaf658634682535f13fad6fe}{edje\_object\_part\_text\_selection\_get}}(edje\_obj, \textcolor{stringliteral}{"part\_two"}));}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Events_ga23be30ac5cdfb780f1ff82e9108ec26b}{evas\_object\_event\_callback\_add}}(edje\_obj, \mbox{\hyperlink{Evas__Common_8h_ad64cde0da38a60e7cb7905b3ab216968a9fa52651ccf7e47cd3b7785fc4cf393f}{EVAS\_CALLBACK\_MOUSE\_DOWN}}, \_on\_mouse\_down, NULL);}
\DoxyCodeLine{}
\DoxyCodeLine{   edje\_obj\_one = edje\_object\_add(evas);}
\DoxyCodeLine{   edje\_object\_file\_set(edje\_obj\_one, edje\_file, \textcolor{stringliteral}{"example\_group1"});}
\DoxyCodeLine{   evas\_object\_move(edje\_obj\_one, 0, 50);}
\DoxyCodeLine{   evas\_object\_resize(edje\_obj\_one, WIDTH - 40, HEIGHT - 40);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\_object\_show}}(edje\_obj\_one);}
\DoxyCodeLine{   edje\_object\_language\_set(edje\_obj\_one, \textcolor{stringliteral}{"en\_IN"});}
\DoxyCodeLine{   edje\_object\_text\_change\_cb\_set(edje\_obj\_one, \_on\_text\_change, NULL);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_gafd2241781aedc44a0f4cdc63bb029784}{edje\_object\_part\_text\_set}}(edje\_obj\_one, \textcolor{stringliteral}{"part\_two"}, \textcolor{stringliteral}{"<b>Click here"});}
\DoxyCodeLine{   edje\_object\_part\_text\_select\_allow\_set(edje\_obj\_one, \textcolor{stringliteral}{"part\_two"}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_ga512fb3acdebd983589acc57ee2697779}{edje\_object\_part\_text\_select\_all}}(edje\_obj\_one, \textcolor{stringliteral}{"part\_two"});}
\DoxyCodeLine{   printf(\textcolor{stringliteral}{"selection: \%s\(\backslash\)n"}, \mbox{\hyperlink{group__Edje__Part__Drag_ga473aaafddaf658634682535f13fad6fe}{edje\_object\_part\_text\_selection\_get}}(edje\_obj\_one, \textcolor{stringliteral}{"part\_two"}));}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_gaa353f2ce979d07f5f37267d59816c07a}{edje\_object\_part\_text\_select\_none}}(edje\_obj\_one, \textcolor{stringliteral}{"part\_two"});}
\DoxyCodeLine{   printf(\textcolor{stringliteral}{"selection: \%s\(\backslash\)n"}, \mbox{\hyperlink{group__Edje__Part__Drag_ga473aaafddaf658634682535f13fad6fe}{edje\_object\_part\_text\_selection\_get}}(edje\_obj\_one, \textcolor{stringliteral}{"part\_two"}));}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Events_ga23be30ac5cdfb780f1ff82e9108ec26b}{evas\_object\_event\_callback\_add}}(edje\_obj\_one, \mbox{\hyperlink{Evas__Common_8h_ad64cde0da38a60e7cb7905b3ab216968a9fa52651ccf7e47cd3b7785fc4cf393f}{EVAS\_CALLBACK\_MOUSE\_DOWN}}, \_on\_mouse\_down, NULL);}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{comment}{//Generic Language change}}
\DoxyCodeLine{   edje\_obj\_two = edje\_object\_add(evas);}
\DoxyCodeLine{   edje\_object\_file\_set(edje\_obj\_two, edje\_file, \textcolor{stringliteral}{"example\_group2"});}
\DoxyCodeLine{   evas\_object\_move(edje\_obj\_two, 0, 250);}
\DoxyCodeLine{   evas\_object\_resize(edje\_obj\_two, WIDTH - 40, HEIGHT - 40);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\_object\_show}}(edje\_obj\_two);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Object__Animation_gaff680b06e1e14e848f9f0028b1e521ba}{edje\_language\_set}}(\textcolor{stringliteral}{"en\_IN"});}
\DoxyCodeLine{   edje\_object\_text\_change\_cb\_set(edje\_obj\_two, \_on\_text\_change, NULL);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_gafd2241781aedc44a0f4cdc63bb029784}{edje\_object\_part\_text\_set}}(edje\_obj\_two, \textcolor{stringliteral}{"part\_two"}, \textcolor{stringliteral}{"<b>Click here"});}
\DoxyCodeLine{   edje\_object\_part\_text\_select\_allow\_set(edje\_obj\_two, \textcolor{stringliteral}{"part\_two"}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_ga512fb3acdebd983589acc57ee2697779}{edje\_object\_part\_text\_select\_all}}(edje\_obj\_two, \textcolor{stringliteral}{"part\_two"});}
\DoxyCodeLine{   printf(\textcolor{stringliteral}{"selection: \%s\(\backslash\)n"}, \mbox{\hyperlink{group__Edje__Part__Drag_ga473aaafddaf658634682535f13fad6fe}{edje\_object\_part\_text\_selection\_get}}(edje\_obj\_two, \textcolor{stringliteral}{"part\_two"}));}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_gaa353f2ce979d07f5f37267d59816c07a}{edje\_object\_part\_text\_select\_none}}(edje\_obj\_two, \textcolor{stringliteral}{"part\_two"});}
\DoxyCodeLine{   printf(\textcolor{stringliteral}{"selection: \%s\(\backslash\)n"}, \mbox{\hyperlink{group__Edje__Part__Drag_ga473aaafddaf658634682535f13fad6fe}{edje\_object\_part\_text\_selection\_get}}(edje\_obj\_two, \textcolor{stringliteral}{"part\_two"}));}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Events_ga23be30ac5cdfb780f1ff82e9108ec26b}{evas\_object\_event\_callback\_add}}(edje\_obj\_two, \mbox{\hyperlink{Evas__Common_8h_ad64cde0da38a60e7cb7905b3ab216968a9fa52651ccf7e47cd3b7785fc4cf393f}{EVAS\_CALLBACK\_MOUSE\_DOWN}}, \_on\_mouse\_down\_text, NULL);}
\DoxyCodeLine{}
\DoxyCodeLine{   edje\_obj\_three = edje\_object\_add(evas);}
\DoxyCodeLine{   edje\_object\_file\_set(edje\_obj\_three, edje\_file, \textcolor{stringliteral}{"example\_group3"});}
\DoxyCodeLine{   evas\_object\_move(edje\_obj\_three, 0, 350);}
\DoxyCodeLine{   evas\_object\_resize(edje\_obj\_three, WIDTH - 40, HEIGHT - 40);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\_object\_show}}(edje\_obj\_three);}
\DoxyCodeLine{   edje\_object\_text\_change\_cb\_set(edje\_obj\_three, \_on\_text\_change, NULL);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_gafd2241781aedc44a0f4cdc63bb029784}{edje\_object\_part\_text\_set}}(edje\_obj\_three, \textcolor{stringliteral}{"part\_two"}, \textcolor{stringliteral}{"<b>Click here"});}
\DoxyCodeLine{   edje\_object\_part\_text\_select\_allow\_set(edje\_obj\_three, \textcolor{stringliteral}{"part\_two"}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_ga512fb3acdebd983589acc57ee2697779}{edje\_object\_part\_text\_select\_all}}(edje\_obj\_three, \textcolor{stringliteral}{"part\_two"});}
\DoxyCodeLine{   printf(\textcolor{stringliteral}{"selection: \%s\(\backslash\)n"}, \mbox{\hyperlink{group__Edje__Part__Drag_ga473aaafddaf658634682535f13fad6fe}{edje\_object\_part\_text\_selection\_get}}(edje\_obj\_three, \textcolor{stringliteral}{"part\_two"}));}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__Part__Drag_gaa353f2ce979d07f5f37267d59816c07a}{edje\_object\_part\_text\_select\_none}}(edje\_obj\_three, \textcolor{stringliteral}{"part\_two"});}
\DoxyCodeLine{   printf(\textcolor{stringliteral}{"selection: \%s\(\backslash\)n"}, \mbox{\hyperlink{group__Edje__Part__Drag_ga473aaafddaf658634682535f13fad6fe}{edje\_object\_part\_text\_selection\_get}}(edje\_obj\_three, \textcolor{stringliteral}{"part\_two"}));}
\DoxyCodeLine{   \mbox{\hyperlink{group__Evas__Object__Group__Events_ga23be30ac5cdfb780f1ff82e9108ec26b}{evas\_object\_event\_callback\_add}}(edje\_obj\_three, \mbox{\hyperlink{Evas__Common_8h_ad64cde0da38a60e7cb7905b3ab216968a9fa52651ccf7e47cd3b7785fc4cf393f}{EVAS\_CALLBACK\_MOUSE\_DOWN}}, \_on\_mouse\_down\_text, NULL);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Ecore__Evas__Group_ga4953047ff97d4f1b0d75a7d513d4f317}{ecore\_evas\_show}}(ee);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Ecore__Main__Loop__Group_gaf103b9f668bb3e4fed12e52c6180132d}{ecore\_main\_loop\_begin}}();}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Ecore__Evas__Group_gad3ec61f2aa03df4d3dbfd0d311e0c8dc}{ecore\_evas\_free}}(ee);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Ecore__Evas__Group_gab8fa311077f749190c9b622f672b2214}{ecore\_evas\_shutdown}}();}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__General__Group_ga01041f6702f2d81bf10c3e41899805cb}{edje\_shutdown}}();}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordflow}{return} EXIT\_SUCCESS;}
\DoxyCodeLine{}
\DoxyCodeLine{ shutdown\_edje:}
\DoxyCodeLine{   \mbox{\hyperlink{group__Edje__General__Group_ga01041f6702f2d81bf10c3e41899805cb}{edje\_shutdown}}();}
\DoxyCodeLine{ shutdown\_ecore\_evas:}
\DoxyCodeLine{   \mbox{\hyperlink{group__Ecore__Evas__Group_gab8fa311077f749190c9b622f672b2214}{ecore\_evas\_shutdown}}();}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordflow}{return} EXIT\_FAILURE;}
\DoxyCodeLine{\}}
\end{DoxyCodeInclude}


The theme used in this example is\+: 
\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{collections \{}
\DoxyCodeLine{   group \{}
\DoxyCodeLine{      name: "sel\_group";}
\DoxyCodeLine{      parts \{}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "rect";}
\DoxyCodeLine{            type: RECT;}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               color: 0 255 0 255; /* green */}
\DoxyCodeLine{               rel1.relative: 0.0 0.0;}
\DoxyCodeLine{               rel2.relative: 1.0 1.0;}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{   \}}
\DoxyCodeLine{   group \{}
\DoxyCodeLine{      name: "example\_group";}
\DoxyCodeLine{      max: 500 500;}
\DoxyCodeLine{      min: 50 50;}
\DoxyCodeLine{      translation \{}
\DoxyCodeLine{         file \{}
\DoxyCodeLine{            locale: en\_IN;}
\DoxyCodeLine{            source: domain\_name.po; /* Can be either .po file or .mo file*/}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         file \{}
\DoxyCodeLine{            locale: hi\_IN;}
\DoxyCodeLine{            source: domain\_name.po;}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         file \{}
\DoxyCodeLine{            locale: ta\_IN;}
\DoxyCodeLine{            source: domain\_name.po;}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{      styles \{}
\DoxyCodeLine{         style \{}
\DoxyCodeLine{            name: "textblock\_style\_en";}
\DoxyCodeLine{            base: "font=Sans font\_size=22 color=\#f00 wrap=word";}
\DoxyCodeLine{            tag:  "br" "\(\backslash\)n";}
\DoxyCodeLine{            tag:  "hilight" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "b" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "tab" "\(\backslash\)t";}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         style \{}
\DoxyCodeLine{            name: "textblock\_style\_ta";}
\DoxyCodeLine{            base: "font=Sans font\_size=22 color=\#000 wrap=word";}
\DoxyCodeLine{            tag:  "br" "\(\backslash\)n";}
\DoxyCodeLine{            tag:  "hilight" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "b" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "tab" "\(\backslash\)t";}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         style \{}
\DoxyCodeLine{            name: "textblock\_style\_hi";}
\DoxyCodeLine{            base: "font=Sans font\_size=22 color=\#00f wrap=word";}
\DoxyCodeLine{            tag:  "br" "\(\backslash\)n";}
\DoxyCodeLine{            tag:  "hilight" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "b" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "tab" "\(\backslash\)t";}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{      parts \{}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "part\_one";}
\DoxyCodeLine{            type: TEXT;}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               min: 50 50;}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               color: 0 0 255 255; /* blue */}
\DoxyCodeLine{               rel1.relative: 0.5 0.0;}
\DoxyCodeLine{               rel2.relative: 0.5 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  text : "LOADING";}
\DoxyCodeLine{                  domain: "domain\_name";}
\DoxyCodeLine{                  font: "arial";}
\DoxyCodeLine{                  size: 22;}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{                  ellipsis: -1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "part\_two";}
\DoxyCodeLine{            type: TEXTBLOCK;}
\DoxyCodeLine{            select\_mode: EXPLICIT;}
\DoxyCodeLine{            source: "sel\_group";}
\DoxyCodeLine{            entry\_mode: PLAIN;}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               min: 50 50;}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               rel1.relative: 0.0 0.25;}
\DoxyCodeLine{               rel2.relative: 0.5 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  style: "textblock\_style\_en";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{                  ellipsis: -1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               inherit: "default" 0.0;}
\DoxyCodeLine{               state: "one" 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{               style: "textblock\_style\_hi";}
\DoxyCodeLine{               min: 1 1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{           \}}
\DoxyCodeLine{           description \{}
\DoxyCodeLine{               inherit: "default" 0.0;}
\DoxyCodeLine{               state: "two" 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  style: "textblock\_style\_ta";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{      programs \{}
\DoxyCodeLine{         program \{}
\DoxyCodeLine{            signal: "edje,language,hi\_IN";}
\DoxyCodeLine{            source: "edje";}
\DoxyCodeLine{            script \{}
\DoxyCodeLine{               set\_state(PART:"part\_two", "one", 1.0);}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         program \{}
\DoxyCodeLine{            signal: "edje,language,ta\_IN";}
\DoxyCodeLine{            source: "edje";}
\DoxyCodeLine{            script \{}
\DoxyCodeLine{               set\_state(PART:"part\_two", "two", 1.0);}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         program \{}
\DoxyCodeLine{            signal: "edje,language,en\_IN";}
\DoxyCodeLine{            source: "edje";}
\DoxyCodeLine{            script \{}
\DoxyCodeLine{               set\_state(PART:"part\_two", "default", 1.0);}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{   \}}
\DoxyCodeLine{   group \{}
\DoxyCodeLine{      name: "example\_group1";}
\DoxyCodeLine{      max: 500 500;}
\DoxyCodeLine{      min: 50 50;}
\DoxyCodeLine{      translation \{}
\DoxyCodeLine{         file \{}
\DoxyCodeLine{            locale: en\_IN;}
\DoxyCodeLine{            source: domain\_name.po;}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         file \{}
\DoxyCodeLine{            locale: hi\_IN;}
\DoxyCodeLine{            source: domain\_name.po;}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         file \{}
\DoxyCodeLine{            locale: ta\_IN;}
\DoxyCodeLine{            source: domain\_name.mo;}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{      styles \{}
\DoxyCodeLine{         style \{}
\DoxyCodeLine{            name: "textblock\_style\_en1";}
\DoxyCodeLine{            base: "font=Sans font\_size=22 color=\#f00 wrap=word";}
\DoxyCodeLine{            tag:  "br" "\(\backslash\)n";}
\DoxyCodeLine{            tag:  "hilight" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "b" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "tab" "\(\backslash\)t";}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         style \{}
\DoxyCodeLine{            name: "textblock\_style\_ta1";}
\DoxyCodeLine{            base: "font=Sans font\_size=22 color=\#000 wrap=word";}
\DoxyCodeLine{            tag:  "br" "\(\backslash\)n";}
\DoxyCodeLine{            tag:  "hilight" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "b" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "tab" "\(\backslash\)t";}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         style \{}
\DoxyCodeLine{            name: "textblock\_style\_hi1";}
\DoxyCodeLine{            base: "font=Sans font\_size=22 color=\#00f wrap=word";}
\DoxyCodeLine{            tag:  "br" "\(\backslash\)n";}
\DoxyCodeLine{            tag:  "hilight" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "b" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "tab" "\(\backslash\)t";}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{      parts \{}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "part\_one";}
\DoxyCodeLine{            type: TEXT;}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               min: 50 50;}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               color: 0 0 255 255; /* blue */}
\DoxyCodeLine{               rel1.relative: 0.5 0.25;}
\DoxyCodeLine{               rel2.relative: 0.5 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  text : "LANG";}
\DoxyCodeLine{                  domain: "domain\_name";}
\DoxyCodeLine{                  font: "arial";}
\DoxyCodeLine{                  size: 22;}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{                  ellipsis: -1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "part\_two";}
\DoxyCodeLine{            type: TEXTBLOCK;}
\DoxyCodeLine{            select\_mode: EXPLICIT;}
\DoxyCodeLine{            source: "sel\_group";}
\DoxyCodeLine{            entry\_mode: PLAIN;}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               min: 50 50;}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               rel1.relative: 0.0 0.5;}
\DoxyCodeLine{               rel2.relative: 1.0 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  style: "textblock\_style\_en1";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{                  ellipsis: -1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               inherit: "default" 0.0;}
\DoxyCodeLine{               state: "one" 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  style: "textblock\_style\_hi1";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               inherit: "default" 0.0;}
\DoxyCodeLine{               state: "two" 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  style: "textblock\_style\_ta1";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{      programs \{}
\DoxyCodeLine{         program \{}
\DoxyCodeLine{            signal: "edje,language,hi\_IN";}
\DoxyCodeLine{            source: "edje";}
\DoxyCodeLine{            script \{}
\DoxyCodeLine{               set\_state(PART:"part\_two", "one", 1.0);}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         program \{}
\DoxyCodeLine{            signal: "edje,language,ta\_IN";}
\DoxyCodeLine{            source: "edje";}
\DoxyCodeLine{            script \{}
\DoxyCodeLine{               set\_state(PART:"part\_two", "two", 1.0);}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         program \{}
\DoxyCodeLine{            signal: "edje,language,en\_IN";}
\DoxyCodeLine{            source: "edje";}
\DoxyCodeLine{            script \{}
\DoxyCodeLine{               set\_state(PART:"part\_two", "default", 1.0);}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{   \}}
\DoxyCodeLine{   group \{}
\DoxyCodeLine{      name: "example\_group2";}
\DoxyCodeLine{      max: 500 500;}
\DoxyCodeLine{      min: 50 50;}
\DoxyCodeLine{      translation \{}
\DoxyCodeLine{         file \{}
\DoxyCodeLine{            locale: en\_IN;}
\DoxyCodeLine{            source: domain\_name.po;}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         file \{}
\DoxyCodeLine{            locale: hi\_IN;}
\DoxyCodeLine{            source: domain\_name.po;}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         file \{}
\DoxyCodeLine{            locale: ta\_IN;}
\DoxyCodeLine{            source: domain\_name.mo;}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{      styles \{}
\DoxyCodeLine{         style \{}
\DoxyCodeLine{            name: "textblock\_style\_en2";}
\DoxyCodeLine{            base: "font=Sans font\_size=22 color=\#f00 wrap=word";}
\DoxyCodeLine{            tag:  "br" "\(\backslash\)n";}
\DoxyCodeLine{            tag:  "hilight" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "b" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "tab" "\(\backslash\)t";}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         style \{}
\DoxyCodeLine{            name: "textblock\_style\_ta2";}
\DoxyCodeLine{            base: "font=Sans font\_size=22 color=\#000 wrap=word";}
\DoxyCodeLine{            tag:  "br" "\(\backslash\)n";}
\DoxyCodeLine{            tag:  "hilight" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "b" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "tab" "\(\backslash\)t";}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         style \{}
\DoxyCodeLine{            name: "textblock\_style\_hi2";}
\DoxyCodeLine{            base: "font=Sans font\_size=22 color=\#00f wrap=word";}
\DoxyCodeLine{            tag:  "br" "\(\backslash\)n";}
\DoxyCodeLine{            tag:  "hilight" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "b" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "tab" "\(\backslash\)t";}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{      parts \{}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "part\_one";}
\DoxyCodeLine{            type: TEXT;}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               min: 50 50;}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               color: 0 0 255 255; /* blue */}
\DoxyCodeLine{               rel1.relative: 0.5 0.25;}
\DoxyCodeLine{               rel2.relative: 0.5 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  text : "SYSTEM LANGUAGE";}
\DoxyCodeLine{                  domain: "domain\_name";}
\DoxyCodeLine{                  font: "arial";}
\DoxyCodeLine{                  size: 22;}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{                  ellipsis: -1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "part\_two";}
\DoxyCodeLine{            type: TEXTBLOCK;}
\DoxyCodeLine{            select\_mode: EXPLICIT;}
\DoxyCodeLine{            source: "sel\_group";}
\DoxyCodeLine{            entry\_mode: PLAIN;}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               min: 50 50;}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               rel1.relative: 0.0 0.5;}
\DoxyCodeLine{               rel2.relative: 1.0 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  style: "textblock\_style\_en2";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{                  ellipsis: -1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               inherit: "default" 0.0;}
\DoxyCodeLine{               state: "one" 0.0;}
\DoxyCodeLine{               text \{   }
\DoxyCodeLine{                  style: "textblock\_style\_hi2";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               inherit: "default" 0.0;}
\DoxyCodeLine{               state: "two" 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  style: "textblock\_style\_ta2";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{      programs \{}
\DoxyCodeLine{         program \{}
\DoxyCodeLine{            signal: "edje,language,hi\_IN";}
\DoxyCodeLine{            source: "edje";}
\DoxyCodeLine{            script \{}
\DoxyCodeLine{               set\_state(PART:"part\_two", "one", 1.0);}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         program \{}
\DoxyCodeLine{            signal: "edje,language,ta\_IN";}
\DoxyCodeLine{            source: "edje";}
\DoxyCodeLine{            script \{}
\DoxyCodeLine{               set\_state(PART:"part\_two", "two", 1.0);}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         program \{}
\DoxyCodeLine{            signal: "edje,language,en\_IN";}
\DoxyCodeLine{            source: "edje";}
\DoxyCodeLine{            script \{}
\DoxyCodeLine{               set\_state(PART:"part\_two", "default", 1.0);}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{   \}}
\DoxyCodeLine{   group \{}
\DoxyCodeLine{      name: "example\_group3";}
\DoxyCodeLine{      max: 500 500;}
\DoxyCodeLine{      min: 50 50;}
\DoxyCodeLine{      translation \{}
\DoxyCodeLine{         file \{}
\DoxyCodeLine{            locale: en\_IN;}
\DoxyCodeLine{            source: domain\_name.po;}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         file \{}
\DoxyCodeLine{            locale: hi\_IN;}
\DoxyCodeLine{            source: domain\_name.po;}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         file \{}
\DoxyCodeLine{            locale: ta\_IN;}
\DoxyCodeLine{            source: domain\_name.mo;}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{      styles \{}
\DoxyCodeLine{         style \{}
\DoxyCodeLine{            name: "textblock\_style\_en3";}
\DoxyCodeLine{            base: "font=Sans font\_size=22 color=\#f00 wrap=word";}
\DoxyCodeLine{            tag:  "br" "\(\backslash\)n";}
\DoxyCodeLine{            tag:  "hilight" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "b" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "tab" "\(\backslash\)t";}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         style \{}
\DoxyCodeLine{            name: "textblock\_style\_ta3";}
\DoxyCodeLine{            base: "font=Sans font\_size=22 color=\#000 wrap=word";}
\DoxyCodeLine{            tag:  "br" "\(\backslash\)n";}
\DoxyCodeLine{            tag:  "hilight" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "b" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "tab" "\(\backslash\)t";}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         style \{}
\DoxyCodeLine{            name: "textblock\_style\_hi3";}
\DoxyCodeLine{            base: "font=Sans font\_size=22 color=\#00f wrap=word";}
\DoxyCodeLine{            tag:  "br" "\(\backslash\)n";}
\DoxyCodeLine{            tag:  "hilight" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "b" "+ font\_weight=Bold";}
\DoxyCodeLine{            tag:  "tab" "\(\backslash\)t";}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{      parts \{}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "part\_one";}
\DoxyCodeLine{            type: TEXT;}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               min: 50 50;}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               color: 0 0 255 255; /* blue */}
\DoxyCodeLine{               rel1.relative: 0.5 0.25;}
\DoxyCodeLine{               rel2.relative: 0.5 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  text : "CHANGED";}
\DoxyCodeLine{                  domain: "domain\_name";}
\DoxyCodeLine{                  font: "arial";}
\DoxyCodeLine{                  size: 22;}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{                  ellipsis: -1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         part \{}
\DoxyCodeLine{            name: "part\_two";}
\DoxyCodeLine{            type: TEXTBLOCK;}
\DoxyCodeLine{            select\_mode: EXPLICIT;}
\DoxyCodeLine{            source: "sel\_group";}
\DoxyCodeLine{            entry\_mode: PLAIN;}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               min: 50 50;}
\DoxyCodeLine{               state: "default" 0.0;}
\DoxyCodeLine{               rel1.relative: 0.0 0.5;}
\DoxyCodeLine{               rel2.relative: 1.0 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  style: "textblock\_style\_en3";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{                  ellipsis: -1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               inherit: "default" 0.0;}
\DoxyCodeLine{               state: "one" 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  style: "textblock\_style\_hi3";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{            description \{}
\DoxyCodeLine{               inherit: "default" 0.0;}
\DoxyCodeLine{               state: "two" 0.0;}
\DoxyCodeLine{               text \{}
\DoxyCodeLine{                  style: "textblock\_style\_ta3";}
\DoxyCodeLine{                  min: 1 1;}
\DoxyCodeLine{               \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{      programs \{}
\DoxyCodeLine{         program \{}
\DoxyCodeLine{            signal: "edje,language,hi\_IN";}
\DoxyCodeLine{            source: "edje";}
\DoxyCodeLine{            script \{}
\DoxyCodeLine{               set\_state(PART:"part\_two", "one", 1.0);}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         program \{}
\DoxyCodeLine{            signal: "edje,language,ta\_IN";}
\DoxyCodeLine{            source: "edje";}
\DoxyCodeLine{            script \{}
\DoxyCodeLine{               set\_state(PART:"part\_two", "two", 1.0);}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{         program \{}
\DoxyCodeLine{            signal: "edje,language,en\_IN";}
\DoxyCodeLine{            source: "edje";}
\DoxyCodeLine{            script \{}
\DoxyCodeLine{               set\_state(PART:"part\_two", "default", 1.0);}
\DoxyCodeLine{            \}}
\DoxyCodeLine{         \}}
\DoxyCodeLine{      \}}
\DoxyCodeLine{   \}}
\DoxyCodeLine{\}}
\end{DoxyCodeInclude}


To compile use this command\+: \begin{DoxyVerb}* gcc -o edje-text edje-text.c -DPACKAGE_BIN_DIR=\"/Where/enlightenment/is/installed/bin\" -DPACKAGE_LIB_DIR=\"/Where/enlightenment/is/installed/lib\"
* -DPACKAGE_DATA_DIR=\"/Where/enlightenment/is/installed/share\"
* `pkg-config --cflags --libs evas ecore ecore-evas edje`
*
* edje_cc text.edc
* \end{DoxyVerb}
 