\hypertarget{elementary_main_intro}{}\doxysection{Introduction}\label{elementary_main_intro}
Lua is intended for script-\/only objects at this point (with embryo left for augmenting standard programs). Since script-\/only objects effectively define objects entirely via Lua script (resize handling, event handling etc. etc.) this places many more demands on them, and thus a more powerful language is in order. Lua is that language.

To get you started, here\textquotesingle{}s an example that uses most of this lua A\+PI\+: \mbox{\hyperlink{lua_script_8edc-example}{lua\+\_\+script.\+edc}}

Most of these lua functions are wrappers around various evas, ecore, and edje C functions. Refer to their documentation for more in depth details and up to date documentation. A lot of this documentation is simple copied from the C functions it wraps.\hypertarget{luaref_args}{}\doxysection{Lua function argument and return syntax}\label{luaref_args}
Some of the lua functions can accept a table as well as separate arguments. Some of them return tables.\hypertarget{luaref_classes}{}\doxysection{Lua classes}\label{luaref_classes}
\hypertarget{luaref_edje}{}\doxysubsection{Edje class.}\label{luaref_edje}
The lua edje class includes functions for dealing with the lua script only group as an edje object, basic functions, and functions to create other objects.

In the following, \char`\"{}edje\char`\"{} is the actual global table used to access these edje functions.\hypertarget{luaref_edje_echo}{}\doxysubsubsection{edje.\+echo(text)}\label{luaref_edje_echo}
Make lua a bit shelly. Prints a string to the console


\begin{DoxyParams}{Parameters}
{\em text} & The string to print.\\
\hline
\end{DoxyParams}
\hypertarget{luaref_edje_date}{}\doxysubsubsection{edje.\+date()}\label{luaref_edje_date}
Retrieves the current time and date.

Wraps gettimeofday(), as passed through localtime().

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer year\+: Year.
\item integer month\+: Month of the year.
\item integer day\+: Day of the month.
\item integer yearday\+: Day of the year.
\item integer weekday\+: Day of the week.
\item integer hour\+: Hour of the day (24 hour format).
\item integer min\+: Minute of the hour.
\item number sec\+: Seconds as a number.
\end{DoxyItemize}
\end{DoxyReturn}
\hypertarget{luaref_edje_looptime}{}\doxysubsubsection{edje.\+looptime()}\label{luaref_edje_looptime}
Retrieves the time at which the last loop stopped waiting for timeouts or events.

This gets the time that the main loop ceased waiting for timouts and/or events to come in or for signals or any other interrupt source. This should be considered a reference point for all time based activity that should calculate its timepoint from the return of edje.\+looptime(). Use this U\+N\+L\+E\+SS you absolutely must get the current actual timepoint -\/ then use edje.\+seconds(). Note that this time is meant to be used as relative to other times obtained on this run.

Wraps \mbox{\hyperlink{group__Ecore__Time__Group_gab53d952cc4c2f3ed032d535b307c43bd}{ecore\+\_\+loop\+\_\+time\+\_\+get()}}.

\begin{DoxyReturn}{Returns}
A number of seconds.
\end{DoxyReturn}
\hypertarget{luaref_edje_seconds}{}\doxysubsubsection{edje.\+seconds()}\label{luaref_edje_seconds}
Retrieves the current system time as a floating point value in seconds.

This uses a monotonic clock and thus never goes back in time while machine is live (even if user changes time or timezone changes, however it may be reset whenever the machine is restarted).

Wraps \mbox{\hyperlink{group__Ecore__Time__Group_ga98f2439b5d3e7114a75bfe2f0c22c4e9}{ecore\+\_\+time\+\_\+get()}}.

\begin{DoxyReturn}{Returns}
A number of seconds.
\end{DoxyReturn}
\hypertarget{luaref_edje_version}{}\doxysubsubsection{edje.\+version()}\label{luaref_edje_version}
Retrieves the current edje version number.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer major\+: The edje version major number.
\item integer minor\+: The edje version minor number.
\end{DoxyItemize}
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2.\+0
\end{DoxySince}
\hypertarget{luaref_edje_geom}{}\doxysubsubsection{edje.\+geom()}\label{luaref_edje_geom}
Retrieves the position and size of the edje object that this lua group is in.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer x\+: The edjes X position.
\item integer y\+: The edjes Y position.
\item integer w\+: The edjes width.
\item integer h\+: The edjes height.
\end{DoxyItemize}
\end{DoxyReturn}
\hypertarget{luaref_edje_pos}{}\doxysubsubsection{edje.\+pos()}\label{luaref_edje_pos}
Retrieves the position of the edje object that this lua group is in.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer x\+: The edjes X position.
\item integer y\+: The edjes Y position.
\end{DoxyItemize}
\end{DoxyReturn}
\hypertarget{luaref_edje_size}{}\doxysubsubsection{edje.\+size()}\label{luaref_edje_size}
Retrieves the size of the edje object that this lua group is in.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer w\+: The edjes width.
\item integer h\+: The edjes height.
\end{DoxyItemize}
\end{DoxyReturn}
\hypertarget{luaref_edje_emit}{}\doxysubsubsection{edje.\+emit(signal, source)}\label{luaref_edje_emit}
Emit a signal.

Wraps edje\+\_\+object\+\_\+signal\+\_\+emit().


\begin{DoxyParams}{Parameters}
{\em signal} & The signal string to send. \\
\hline
{\em source} & The source string of the signal.\\
\hline
\end{DoxyParams}
N\+O\+TE\+: The source string will have a name and a colon prepended to in when it is delivered to things that are not this edje, like C and other edje groups. If this edje is a top level edje, then it will be the name of the group (I think). If this edje is swallowed into some other part, then it will be the name of the part\+:

group\+\_\+name\+:source

F\+I\+X\+ME\+: I actually have no idea what happens if it\textquotesingle{}s swallowed into another lua edje group.\hypertarget{luaref_edje_message_send}{}\doxysubsubsection{edje.\+messagesend(id, type, ...)}\label{luaref_edje_message_send}
Send a message to this edje, and all it\textquotesingle{}s child objects.

Wraps edje\+\_\+object\+\_\+message\+\_\+send().


\begin{DoxyParams}{Parameters}
{\em id} & An identification integer for the message. \\
\hline
{\em type} & The type of message to send. \\
\hline
{\em ...} & Zero or more things to send as part of the message, depending on the type.\\
\hline
\end{DoxyParams}
The type can be one of\+:
\begin{DoxyItemize}
\item none\+: No msg.
\item sig\+: The msg is two strings (signal, source), sent as a signal.
\item str\+: The msg is a C string.
\item int\+: The message is a C integer.
\item float\+: The message is a C float.
\item strset\+: The message is an array of C strings.
\item intset\+: The message is an array of C integers.
\item floatset\+: The message is an array of C floats.
\item strint\+: The message is a C stnring and a C integer.
\item strfloat\+: The message is a C string and a C float.
\item strintset\+: The message is a C string and an array of C integers.
\item strfloatset\+: The message is a G string and an array of C floats.
\end{DoxyItemize}

For the array types, the lua caller passes a table.\hypertarget{luaref_edje_animator}{}\doxysubsubsection{edje.\+animator(func)}\label{luaref_edje_animator}
This function adds an animator and returns its handle on success and N\+U\+LL on failure. The function func will be called every frame tick. Note that setting the frame tick is not available as a lua function, so has to be done from C. The default tick is 1/30 second.

When the animator func is called, it must return a value of either true or false. If it returns true it will be called again at the next tick, or if it returns false it will be deleted automatically making any references/handles for it invalid.

Wraps \mbox{\hyperlink{group__Ecore__Animator__Group_gaa1e33b8be9117a26918823c535e429ea}{ecore\+\_\+animator\+\_\+add()}}.


\begin{DoxyParams}{Parameters}
{\em func} & The function to call when the animator triggers.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A userdata that is an ecore animator.
\end{DoxyReturn}
\hypertarget{luaref_edje_timer}{}\doxysubsubsection{edje.\+timer(tick, func)}\label{luaref_edje_timer}
This function adds a timer and returns its handle on success and N\+U\+LL on failure. The function func will be called every tick seconds.

When the timer func is called, it must return a value of either true or false. If it returns true, it will be called again at the next tick, or if it returns false it will be deleted automatically making any references/handles for it invalid.

Wraps \mbox{\hyperlink{group__Ecore__Timer__Group_ga7b9cb9d24ecebfdbb957436e2e669402}{ecore\+\_\+timer\+\_\+add()}}.


\begin{DoxyParams}{Parameters}
{\em tick} & How often, in seconds, to call the function. \\
\hline
{\em func} & The function to call when the timer triggers.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A userdata that is an ecore timer.
\end{DoxyReturn}
\hypertarget{luaref_edje_transition}{}\doxysubsubsection{edje.\+transition(div, func)}\label{luaref_edje_transition}
Just like edje.\+animator(), except that the callback function gets called with an argument. The argument is the amount of time since the transition was created, divided by the div parameter.


\begin{DoxyParams}{Parameters}
{\em div} & A number to divide the time since creation by. \\
\hline
{\em func} & The function to call when the transition triggers.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A userdata that is a transition (ecore animator, plus other info).
\end{DoxyReturn}
\hypertarget{luaref_edje_colour_class}{}\doxysubsubsection{edje.\+color\+\_\+class(class, r, g, b, a)}\label{luaref_edje_colour_class}
Gets, (and optionally sets) the colours for a color class.

Wraps edje\+\_\+object\+\_\+color\+\_\+class\+\_\+set().


\begin{DoxyParams}{Parameters}
{\em class} & A color class name. \\
\hline
{\em r} & The new red value. \\
\hline
{\em g} & The new green value. \\
\hline
{\em b} & The new blue value. \\
\hline
{\em a} & The new alpha value.\\
\hline
\end{DoxyParams}
Note that the r, g, b, and a arguments are optional, without them this function just queries the current values. The r, g, b, and a arguments can be separate values, or named fields in a table.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer r\+: The red value.
\item integer g\+: The green value.
\item integer b\+: The blue value.
\item integer a\+: The alpha value.
\end{DoxyItemize}
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_edje_text_class}{}\doxysubsubsection{edje.\+text\+\_\+class(class, font, size)}\label{luaref_edje_text_class}
Gets, (and optionally sets) the details for a text class.

Wraps edje\+\_\+object\+\_\+text\+\_\+class\+\_\+set().


\begin{DoxyParams}{Parameters}
{\em class} & A text class name. \\
\hline
{\em font} & The new font name. \\
\hline
{\em size} & The new font size.\\
\hline
\end{DoxyParams}
Note that the font and size arguments are optional, without them this function just queries the current values. The font and size arguments can be separate values, or named fields in a table. The font name can refer to a font in the edje file, or an external font.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item string font\+: The font name.
\item integer size\+: The font size.
\end{DoxyItemize}
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_edje_edje}{}\doxysubsubsection{edje.\+edje()}\label{luaref_edje_edje}
Create an edje object, and add it to the edje.

Wraps edje\+\_\+object\+\_\+add().

\begin{DoxyReturn}{Returns}
A userdata that is an edje object.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_edje_image}{}\doxysubsubsection{edje.\+image()}\label{luaref_edje_image}
Create an evas image, and add it to the edje.

Wraps \mbox{\hyperlink{group__Evas__Object__Image_gadd901a6b181c38dc040537b3fd76fcc6}{evas\+\_\+object\+\_\+image\+\_\+add()}}.

\begin{DoxyReturn}{Returns}
A userdata that is an evas image.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_edje_line}{}\doxysubsubsection{edje.\+line()}\label{luaref_edje_line}
Create an evas line, and add it to the edje.

Wraps evas\+\_\+object\+\_\+line\+\_\+add().

\begin{DoxyReturn}{Returns}
A userdata that is an evas line.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_edje_map}{}\doxysubsubsection{edje.\+map()}\label{luaref_edje_map}
Create an evas map.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_ga68a1a6d2dfdd5c9d88a9200eb78cca4e}{evas\+\_\+map\+\_\+new()}}.

\begin{DoxyReturn}{Returns}
A userdata that is an evas map.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_edje_polygon}{}\doxysubsubsection{edje.\+polygon()}\label{luaref_edje_polygon}
Create an evas polygon, and add it to the edje.

Wraps \mbox{\hyperlink{group__Evas__Object__Polygon_gab0f7e6065a282a31b88697e4d5f52655}{evas\+\_\+object\+\_\+polygon\+\_\+add()}}.

\begin{DoxyReturn}{Returns}
A userdata that is an evas polygon.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_edje_rect}{}\doxysubsubsection{edje.\+rect()}\label{luaref_edje_rect}
Create an evas rectangle, and add it to the edje.

Wraps \mbox{\hyperlink{group__Evas__Object__Rectangle_ga4d80fc32ad1cac28428cebd65d746751}{evas\+\_\+object\+\_\+rectangle\+\_\+add()}}.

\begin{DoxyReturn}{Returns}
A userdata that is an evas rectangle.
\end{DoxyReturn}
\hypertarget{luaref_edje_text}{}\doxysubsubsection{edje.\+text()}\label{luaref_edje_text}
Create an evas text object, and add it to the edje.

Wraps \mbox{\hyperlink{group__Evas__Object__Text_ga72224822cf1772ef16b1554f0a6205d5}{evas\+\_\+object\+\_\+text\+\_\+add()}}.

\begin{DoxyReturn}{Returns}
A userdata that is an evas text object.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_evas}{}\doxysubsection{Evas class.}\label{luaref_evas}
The lua evas class includes functions for dealing with evas objects. The evas objects must have been previously created by lua using one of the lua evas object creation functions from the lua edje class.

In the following, \char`\"{}evas\+\_\+object\char`\"{} is a place holder for any lua variable that holds a reference to an evas object.\hypertarget{luaref_evas_hide}{}\doxysubsubsection{evas\+\_\+object\+:hide()}\label{luaref_evas_hide}
Hides the object.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Basic_gacc307a0d7bfc9df151fd9ec75808c587}{evas\+\_\+object\+\_\+hide()}}.

\begin{DoxyReturn}{Returns}
A boolean representing the current visibility.
\end{DoxyReturn}
\hypertarget{luaref_evas_show}{}\doxysubsubsection{evas\+\_\+object\+:show()}\label{luaref_evas_show}
Shows the object.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\+\_\+object\+\_\+show()}}.

\begin{DoxyReturn}{Returns}
A boolean representing the current visibility.
\end{DoxyReturn}
\hypertarget{luaref_evas_visible}{}\doxysubsubsection{evas\+\_\+object\+:visible(visibility)}\label{luaref_evas_visible}
Gets (and optionally sets) this objects visibility.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Basic_gacc307a0d7bfc9df151fd9ec75808c587}{evas\+\_\+object\+\_\+hide()}} or \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9cbc13661584e49fb9d9cdab514a1eeb}{evas\+\_\+object\+\_\+show()}}.


\begin{DoxyParams}{Parameters}
{\em visibility} & The new visibility you want to change it to.\\
\hline
\end{DoxyParams}
Note that the argument is optional, without it this function just queries the current value.

\begin{DoxyReturn}{Returns}
A boolean representing the current visibility.
\end{DoxyReturn}
\hypertarget{luaref_evas_above}{}\doxysubsubsection{evas\+\_\+object\+:above()}\label{luaref_evas_above}
Figure out what, if anything, is above us.

Wraps evas\+\_\+object\+\_\+above\+\_\+get().

Note that it may not return any value.

\begin{DoxyReturn}{Returns}
A reference to the object above this one.
\end{DoxyReturn}
\hypertarget{luaref_evas_below}{}\doxysubsubsection{evas\+\_\+object\+:below()}\label{luaref_evas_below}
Figure out what, if anything, is below us.

Wraps evas\+\_\+object\+\_\+below\+\_\+get().

Note that it may not return any value.

\begin{DoxyReturn}{Returns}
A reference to the object below this one.
\end{DoxyReturn}
\hypertarget{luaref_evas_bottom}{}\doxysubsubsection{evas\+\_\+object\+:bottom()}\label{luaref_evas_bottom}
Figure out what, if anything, is waaaay below us.

Note that it may not return any value.

\begin{DoxyReturn}{Returns}
A reference to the object at the bottom.
\end{DoxyReturn}
\hypertarget{luaref_evas_lower}{}\doxysubsubsection{evas\+\_\+object\+:lower()}\label{luaref_evas_lower}
Lower this object to the bottom.

Wraps evas\+\_\+object\+\_\+lower().\hypertarget{luaref_evas_raise}{}\doxysubsubsection{evas\+\_\+object\+:raise()}\label{luaref_evas_raise}
Raise this object to the top.

Wraps evas\+\_\+object\+\_\+raise().\hypertarget{luaref_evas_top}{}\doxysubsubsection{evas\+\_\+object\+:top()}\label{luaref_evas_top}
Figure out what, if anything, is waaaay above us.

Note that it may not return any value.

\begin{DoxyReturn}{Returns}
A reference to the object at the top.
\end{DoxyReturn}
\hypertarget{luaref_evas_geom}{}\doxysubsubsection{evas\+\_\+object\+:geom(x, y, w, h)}\label{luaref_evas_geom}
Gets (and optionally sets) this objects geometry.

Wraps evas\+\_\+object\+\_\+move() and evas\+\_\+object\+\_\+resize.


\begin{DoxyParams}{Parameters}
{\em x} & The new X coordinate. \\
\hline
{\em y} & The new Y coordinate. \\
\hline
{\em w} & The new width. \\
\hline
{\em h} & The new height.\\
\hline
\end{DoxyParams}
Note that the arguments are optional, without them this function just queries the current values. The arguments can be separate values, or named fields in a table.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer x\+: X coordinate.
\item integer x\+: Y coordinate.
\item integer w\+: Width.
\item integer w\+: Height.
\end{DoxyItemize}
\end{DoxyReturn}
\hypertarget{luaref_evas_move}{}\doxysubsubsection{evas\+\_\+object\+:move(x, y)}\label{luaref_evas_move}
Gets (and optionally sets) this objects position.

Wraps evas\+\_\+object\+\_\+move().


\begin{DoxyParams}{Parameters}
{\em x} & The new X coordinate. \\
\hline
{\em y} & The new Y coordinate.\\
\hline
\end{DoxyParams}
Note that the arguments are optional, without them this function just queries the current values. The arguments can be separate values, or named fields in a table.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer x\+: X coordinate.
\item integer x\+: Y coordinate.
\end{DoxyItemize}
\end{DoxyReturn}
\hypertarget{luaref_evas_pos}{}\doxysubsubsection{evas\+\_\+object\+:pos(x, y)}\label{luaref_evas_pos}
An alias for evas\+\_\+object\+:move().\hypertarget{luaref_evas_resize}{}\doxysubsubsection{evas\+\_\+object\+:resize(w, h)}\label{luaref_evas_resize}
Gets (and optionally sets) this objects size.

Wraps evas\+\_\+object\+\_\+resize().


\begin{DoxyParams}{Parameters}
{\em w} & The new width. \\
\hline
{\em h} & The new height.\\
\hline
\end{DoxyParams}
Note that the arguments are optional, without them this function just queries the current values. The arguments can be separate values, or named fields in a table.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer w\+: Width.
\item integer w\+: Height.
\end{DoxyItemize}
\end{DoxyReturn}
\hypertarget{luaref_evas_size}{}\doxysubsubsection{evas\+\_\+object\+:size()}\label{luaref_evas_size}
An alias for evas\+\_\+object\+:resize().\hypertarget{luaref_evas_clip}{}\doxysubsubsection{evas\+\_\+object\+:clip(evas\+\_\+object2)}\label{luaref_evas_clip}
Get (and optionally set) the object that clips this object.

Note that the argument is optional, without it this function just queries the current value.

Wraps \mbox{\hyperlink{group__Evas__Object__Group_ga972a797c402afa91b56f852184069784}{evas\+\_\+object\+\_\+clip\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em evas\+\_\+object2} & A reference to the object to clip this object with.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A reference to the object clipping this object, if any.
\end{DoxyReturn}
\hypertarget{luaref_evas_clipees}{}\doxysubsubsection{evas\+\_\+object\+:clipees()}\label{luaref_evas_clipees}
Gets the list of objects this objects clips.

Wraps evas\+\_\+object\+\_\+clipees\+\_\+get().

\begin{DoxyReturn}{Returns}
A table, that holds all the objects this clips, if any, otherwise an empty table.
\end{DoxyReturn}
\hypertarget{luaref_evas_unclip}{}\doxysubsubsection{evas\+\_\+object\+:unclip()}\label{luaref_evas_unclip}
Remove any clipping on this object.

Wraps evas\+\_\+object\+\_\+clip\+\_\+unset().\hypertarget{luaref_evas_type}{}\doxysubsubsection{evas\+\_\+object\+:type()}\label{luaref_evas_type}
Get the type of this object. See the documentation of the \mbox{\hyperlink{group__Evas__Object__Group__Basic_gaf5ec394604d9b8f6dafe5d6ee61b6448}{evas\+\_\+object\+\_\+type\+\_\+get()}} C function for details.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Basic_gaf5ec394604d9b8f6dafe5d6ee61b6448}{evas\+\_\+object\+\_\+type\+\_\+get()}}.

\begin{DoxyReturn}{Returns}
A string with this objects type in it.
\end{DoxyReturn}
\hypertarget{luaref_evas_pass}{}\doxysubsubsection{evas\+\_\+object\+:pass(pass)}\label{luaref_evas_pass}
Get (and optionally set) whether this object ignores events, passing them to the next object underneath it.

Wraps \mbox{\hyperlink{group__Evas__Object__Group_ga8bab997bfe68d4bcdf4ab2b4f4a41674}{evas\+\_\+object\+\_\+pass\+\_\+events\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em pass} & A boolean saying if this object passes events.\\
\hline
\end{DoxyParams}
Note that the argument is optional, without it this function just queries the current value.

\begin{DoxyReturn}{Returns}
A boolean saying if this object passes events.
\end{DoxyReturn}
\hypertarget{luaref_evas_precise}{}\doxysubsubsection{evas\+\_\+object\+:precise(precise)}\label{luaref_evas_precise}
Get (and optionally set) whether to use precise (usually expensive) point collision detection for this object.

Wraps \mbox{\hyperlink{group__Evas__Object__Group_ga02844427c0e15ef2fb61412debf40ce3}{evas\+\_\+object\+\_\+precise\+\_\+is\+\_\+inside\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em precise} & A boolean saying if this object is precisely detected.\\
\hline
\end{DoxyParams}
Note that the argument is optional, without it this function just queries the current value.

\begin{DoxyReturn}{Returns}
A boolean saying if this object is precisely detected.
\end{DoxyReturn}
\hypertarget{luaref_evas_repeat}{}\doxysubsubsection{evas\+\_\+object\+:repeat(repeat)}\label{luaref_evas_repeat}
Get (and optionally set) whether this object repeats events.

Wraps \mbox{\hyperlink{group__Evas__Object__Group_gab168003bb3efb683d5d0c5b652b58620}{evas\+\_\+object\+\_\+repeat\+\_\+events\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em repeat} & A boolean saying if this object repeats events to lower objects.\\
\hline
\end{DoxyParams}
Note that the argument is optional, without it this function just queries the current value.

\begin{DoxyReturn}{Returns}
A boolean saying if this object repeats events.
\end{DoxyReturn}
\hypertarget{luaref_evas_colour}{}\doxysubsubsection{evas\+\_\+object\+:color(r, g, b, a)}\label{luaref_evas_colour}
Gets (and optionally sets) this objects colour.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Basic_gae34bdcfd7f5100151f6ea8ef4a392949}{evas\+\_\+object\+\_\+color\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em r} & The new red value. \\
\hline
{\em g} & The new green value. \\
\hline
{\em b} & The new blue value. \\
\hline
{\em a} & The new alpha value.\\
\hline
\end{DoxyParams}
Note that the arguments are optional, without them this function just queries the current values. The arguments can be separate values, or named fields in a table.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer r\+: The red value.
\item integer g\+: The green value.
\item integer b\+: The blue value.
\item integer a\+: The alpha value.
\end{DoxyItemize}
\end{DoxyReturn}
\hypertarget{luaref_evas_map}{}\doxysubsubsection{evas\+\_\+object\+:map(map)}\label{luaref_evas_map}
Attach a map to this object.

Wraps evas\+\_\+object\+\_\+map\+\_\+set().


\begin{DoxyParams}{Parameters}
{\em map} & The map to attach.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_evas_map_enable}{}\doxysubsubsection{evas\+\_\+object\+:map\+\_\+enable(enable)}\label{luaref_evas_map_enable}
Enable or disable the map attached to this object.

Wraps evas\+\_\+object\+\_\+map\+\_\+enable\+\_\+set().


\begin{DoxyParams}{Parameters}
{\em enable} & A booleon that controls if the attached map is enabled or not.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A boolean reflecting the map enabled status of this object.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_ecore_animator}{}\doxysubsection{Ecore animator class.}\label{luaref_ecore_animator}
The lua ecore animator class includes functions for dealing with ecore animator objects. The ecore animator objects must have been previously created by lua using the lua edje object creation function edje.\+animator() or edje.\+transition().

In the following, \char`\"{}animator\+\_\+object\char`\"{} is a place holder for any lua variable that holds a reference to an ecore animator object.\hypertarget{luaref_ecore_timer}{}\doxysubsection{Ecore timer class.}\label{luaref_ecore_timer}
The lua ecore timer class includes functions for dealing with ecore timer objects. The ecore timer objects must have been previously created by lua using the lua edje object creation function edje.\+timer().

In the following, \char`\"{}timer\+\_\+object\char`\"{} is a place holder for any lua variable that holds a reference to an ecore timer object.\hypertarget{luaref_evas_edje}{}\doxysubsection{Evas edje class.}\label{luaref_evas_edje}
The lua evas edje class includes functions for dealing with evas edje objects. The evas edje objects must have been previously created by lua using the lua edje object creation function edje.\+edje().

In the following, \char`\"{}edje\+\_\+object\char`\"{} is a place holder for any lua variable that holds a reference to an evas edje object. N\+OT the edje class specified earlier though.

\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_edje_file}{}\doxysubsubsection{edje\+\_\+object\+:file(file, group)}\label{luaref_edje_file}
Load an edje group into this edje object.

Wraps edje\+\_\+object\+\_\+file\+\_\+set().


\begin{DoxyParams}{Parameters}
{\em file} & An edje file name (ignored, sandboxed to the file this lua script is in). \\
\hline
{\em group} & The group within the edje file to be loaded.\\
\hline
\end{DoxyParams}
Note that the arguments are optional, without them this function just queries the current values. The arguments can be separate values, or named fields in a table. The file argument is optional, and ignored anyway.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item string file\+: The name of the edje file this edje\textquotesingle{}s group is loaded from.
\item string group\+: The name of the group this edje is loaded from.
\end{DoxyItemize}
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_evas_image}{}\doxysubsection{Evas image class.}\label{luaref_evas_image}
The lua evas image class includes functions for dealing with evas image objects. The evas image objects must have been previously created by lua using the lua image object creation function edje.\+image().

In the following, \char`\"{}image\+\_\+object\char`\"{} is a place holder for any lua variable that holds a reference to an evas image object.

\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_image_fill}{}\doxysubsubsection{image\+\_\+object\+:fill(x, y, w, h)}\label{luaref_image_fill}
Gets (and optionally sets) how to fill this image\textquotesingle{}s drawing rectangle given the (real) image bound to it.

Wraps evas\+\_\+object\+\_\+image\+\_\+fill\+\_\+set().


\begin{DoxyParams}{Parameters}
{\em x} & The x coordinate (from the top left corner of the bound image) to start drawing from. \\
\hline
{\em y} & The y coordinate (from the top left corner of the bound image) to start drawing from. \\
\hline
{\em w} & The width the bound image will be displayed at. \\
\hline
{\em h} & The height the bound image will be displayed at.\\
\hline
\end{DoxyParams}
Note that the arguments are optional, without them this function just queries the current values. The arguments can be separate values, or named fields in a table.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer x\+: The x coordinate (from the top left corner of the bound image) to start drawing from.
\item integer y\+: The y coordinate (from the top left corner of the bound image) to start drawing from.
\item integer w\+: The width the bound image will be displayed at.
\item integer h\+: The height the bound image will be displayed at.
\end{DoxyItemize}
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_image_filled}{}\doxysubsubsection{image\+\_\+object\+:filled(filled)}\label{luaref_image_filled}
Get (and optionally set) whether this image fills the object.

Wraps evas\+\_\+object\+\_\+image\+\_\+filled\+\_\+set().


\begin{DoxyParams}{Parameters}
{\em filled} & A boolean saying if this image fills the object.\\
\hline
\end{DoxyParams}
Note that the argument is optional, without it this function just queries the current value.

\begin{DoxyReturn}{Returns}
A boolean saying if this image fills the object.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_image_image}{}\doxysubsubsection{image\+\_\+object\+:image(file, key)}\label{luaref_image_image}
Load an image into this edje object.

Wraps evas\+\_\+object\+\_\+image\+\_\+file\+\_\+set().


\begin{DoxyParams}{Parameters}
{\em file} & An edje file name (ignored, sandboxed to the file this lua script is in). \\
\hline
{\em group} & The name of an image.\\
\hline
\end{DoxyParams}
Note that the arguments are optional, without them this function just queries the current values. The arguments can be separate values, or named fields in a table. The file argument is optional, and ignored anyway.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item string file\+: The name of the edje file the image is loaded from.
\item string key\+: The name of the image within the edje file.
\end{DoxyItemize}
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_evas_line}{}\doxysubsection{Evas line class.}\label{luaref_evas_line}
The lua evas line class includes functions for dealing with evas line objects. The evas line objects must have been previously created by lua using the lua line object creation function edje.\+line().

In the following, \char`\"{}line\+\_\+object\char`\"{} is a place holder for any lua variable that holds a reference to an evas line object.

\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_line_xy}{}\doxysubsubsection{line\+\_\+object\+:xy(x1, y1, x2, y2)}\label{luaref_line_xy}
Sets the end points of this line.

Wraps evas\+\_\+object\+\_\+line\+\_\+xy\+\_\+set().


\begin{DoxyParams}{Parameters}
{\em x1} & The X coordinate of the first line end. \\
\hline
{\em y1} & The Y coordinate of the first line end. \\
\hline
{\em x2} & The X coordinate of the other line end. \\
\hline
{\em y2} & The Y coordinate of the other line end.\\
\hline
\end{DoxyParams}
Note that the arguments are optional, without them this function just queries the current values. The arguments can be separate values, or named fields in a table.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer x1\+: The X coordinate of the first line end.
\item integer y1\+: The Y coordinate of the first line end.
\item integer x2\+: The X coordinate of the other line end.
\item integer y2\+: The Y coordinate of the other line end.
\end{DoxyItemize}
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_evas_object_map}{}\doxysubsection{Evas map class.}\label{luaref_evas_object_map}
The lua evas map class includes functions for dealing with evas map objects. The evas map objects must have been previously created by lua using the lua map object creation function edje.\+map(). The evas map system is complex, rather than repeat the copious documentation here, please refer to the evas map documentation. It has pictures and everything. B-\/)

In the following, \char`\"{}map\+\_\+object\char`\"{} is a place holder for any lua variable that holds a reference to an evas map object.

\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_map_alpha}{}\doxysubsubsection{map\+\_\+object\+:alpha(alpha)}\label{luaref_map_alpha}
Get (and optionally set) the maps alpha mode.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_gac40eaffef33cb5a9afe362c9e7759cae}{evas\+\_\+map\+\_\+alpha\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em alpha} & The alpha mode.\\
\hline
\end{DoxyParams}
Note that the argument is optional, without it this function just queries the current value.

\begin{DoxyReturn}{Returns}
A boolean reflecting the alpha mode.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_map_clockwise}{}\doxysubsubsection{map\+\_\+object\+:clockwise()}\label{luaref_map_clockwise}
Get the maps clockwise state.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_gaf9b0303984e52012014bdade3e8f2ad0}{evas\+\_\+map\+\_\+util\+\_\+clockwise\+\_\+get()}}.

\begin{DoxyReturn}{Returns}
A boolean reflecting if the map is clockwise or not.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_map_colour}{}\doxysubsubsection{map\+\_\+object\+:colour(index, r, g, b, a)}\label{luaref_map_colour}
Gets or sets colour information for the map. There are two variations, with or without the index. With the index parameter it gets (and optionally sets) the colour of the point the index refers to, without it sets the colour for the entire map.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_ga2ba9f77377f7cc1a79deecb938c8289c}{evas\+\_\+map\+\_\+point\+\_\+color\+\_\+set()}} or \mbox{\hyperlink{group__Evas__Object__Group__Map_gafad0e4df4fcd8258fff8c1c1b41c6671}{evas\+\_\+map\+\_\+util\+\_\+points\+\_\+color\+\_\+set()}}


\begin{DoxyParams}{Parameters}
{\em index} & Which point to change the colour of. \\
\hline
{\em r} & The new red value. \\
\hline
{\em g} & The new green value. \\
\hline
{\em b} & The new blue value. \\
\hline
{\em a} & The new alpha value.\\
\hline
\end{DoxyParams}
Note that the arguments are optional, without them this function just queries the current values. The colour arguments can be separate values, or named fields in a table.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer r\+: The red value.
\item integer g\+: The green value.
\item integer b\+: The blue value.
\item integer a\+: The alpha value.
\end{DoxyItemize}
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_map_coord}{}\doxysubsubsection{map\+\_\+object\+:coord(index, x, y, z)}\label{luaref_map_coord}
Gets (and optionally sets) the 3D coordinates of a point on the map.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_ga46ab921df9fe617d6c241056784217b7}{evas\+\_\+map\+\_\+point\+\_\+coord\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em x} & The x coordinate of the point. \\
\hline
{\em y} & The y coordinate of the point. \\
\hline
{\em z} & The z coordinate of the point.\\
\hline
\end{DoxyParams}
Note that the arguments are optional, without them this function just queries the current values. The coordinate arguments can be separate values, or named fields in a table.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item integer x\+: The x coordinate of the point.
\item integer y\+: The y coordinate of the point.
\item integer z\+: The z coordinate of the point.
\end{DoxyItemize}
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_map_lighting}{}\doxysubsubsection{map\+\_\+object\+:lighting(x, y, z, r, g, b, ar, ag, ab)}\label{luaref_map_lighting}
Set the 3D lights for the map. The three triplets can be tables.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_gaffb11ebe4dfd914f97cdde7e9f713c97}{evas\+\_\+map\+\_\+util\+\_\+3d\+\_\+lighting()}}.


\begin{DoxyParams}{Parameters}
{\em x} & The x coordinate of the light point. \\
\hline
{\em y} & The y coordinate of the light point. \\
\hline
{\em z} & The z coordinate of the light point. \\
\hline
{\em r} & The new red value of the light point. \\
\hline
{\em g} & The new green value of the light point. \\
\hline
{\em b} & The new blue value of the light point. \\
\hline
{\em ar} & The new red value of the ambient light. \\
\hline
{\em ag} & The new green value of the ambient light. \\
\hline
{\em ab} & The new blue value of the ambient light.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_map_perspective}{}\doxysubsubsection{map\+\_\+object\+:perspective(x, y, z, f)}\label{luaref_map_perspective}
Apply a perspective transform to the map.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_ga2d28d92f2189d8ec098c6dd29da6cdca}{evas\+\_\+map\+\_\+util\+\_\+3d\+\_\+perspective()}}.

The arguments can be separate values, or named fields in a table.


\begin{DoxyParams}{Parameters}
{\em x} & The perspective distance X coordinate \\
\hline
{\em y} & The perspective distance Y coordinate \\
\hline
{\em z} & The \char`\"{}0\char`\"{} z plane value \\
\hline
{\em f} & The focal distance\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_map_populate}{}\doxysubsubsection{map\+\_\+object\+:populate(...)}\label{luaref_map_populate}
Populate the points in a map, in one of three different methods.

1) Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_gaa21f5c7338fbb125b8e50890b3fefb91}{evas\+\_\+map\+\_\+util\+\_\+points\+\_\+populate\+\_\+from\+\_\+object()}}.


\begin{DoxyParams}{Parameters}
{\em source} & An evas object to copy points from.\\
\hline
\end{DoxyParams}
2) Wraps evas\+\_\+map\+\_\+util\+\_\+paints\+\_\+populate\+\_\+from\+\_\+object\+\_\+full().


\begin{DoxyParams}{Parameters}
{\em source} & An evas object to copy points from. \\
\hline
{\em z} & Common Z coordinate hint for all four points.\\
\hline
\end{DoxyParams}
3) Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_ga535ba6d2e0d57f0854c201507a74826e}{evas\+\_\+map\+\_\+util\+\_\+points\+\_\+populate\+\_\+from\+\_\+geometry()}}.

The first four arguments can be separate values, or named fields in a table.


\begin{DoxyParams}{Parameters}
{\em x} & Point X coordinate \\
\hline
{\em y} & Point Y coordinate \\
\hline
{\em w} & Width to use to calculate second and third points. \\
\hline
{\em h} & Height to use to calculate third and fourth points. \\
\hline
{\em z} & Common Z coordinate hint for all four points.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_map_rotate}{}\doxysubsubsection{map\+\_\+object\+:rotate(degrees, x, y)}\label{luaref_map_rotate}
Rotate the maps coordinates in 2D.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_ga0db530bdf4f619b3c9c4c74c3e87ccac}{evas\+\_\+map\+\_\+util\+\_\+rotate()}}.

The coordinates can be separate values, or named fields in a table.


\begin{DoxyParams}{Parameters}
{\em degrees} & Amount of degrees from 0.\+0 to 360.\+0 to rotate. \\
\hline
{\em x} & Rotation\textquotesingle{}s centre horizontal position. \\
\hline
{\em y} & Rotation\textquotesingle{}s centre vertical position.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_map_rotate3d}{}\doxysubsubsection{map\+\_\+object\+:rotate3d(dx, dy, dz, x, y, z)}\label{luaref_map_rotate3d}
Rotate the maps coordinates in 3D.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_ga8ec45ba806d347d313556b0d5c5330c8}{evas\+\_\+map\+\_\+util\+\_\+3d\+\_\+rotate()}}.

The coordinates can be separate values, or named fields in a table. The same with the rotation.


\begin{DoxyParams}{Parameters}
{\em dx} & Amount of degrees from 0.\+0 to 360.\+0 to rotate around X axis. \\
\hline
{\em dy} & Amount of degrees from 0.\+0 to 360.\+0 to rotate around Y axis. \\
\hline
{\em dz} & Amount of degrees from 0.\+0 to 360.\+0 to rotate around Z axis. \\
\hline
{\em x} & Rotation\textquotesingle{}s centre horizontal position. \\
\hline
{\em y} & Rotation\textquotesingle{}s centre vertical position. \\
\hline
{\em z} & Rotation\textquotesingle{}s centre vertical position.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_map_smooth}{}\doxysubsubsection{map\+\_\+object\+:smooth(smooth)}\label{luaref_map_smooth}
Get (and optionally set) the maps smooth mode.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_gab8575043030c84cd457419e33775d884}{evas\+\_\+map\+\_\+smooth\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em smooth} & The smooth mode.\\
\hline
\end{DoxyParams}
Note that the argument is optional, without it this function just queries the current value.

\begin{DoxyReturn}{Returns}
A boolean reflecting the smooth mode.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_map_uv}{}\doxysubsubsection{map\+\_\+object\+:uv(index, u, v)}\label{luaref_map_uv}
Gets (and optionally sets) the texture U and V texture coordinates for this map.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_ga2f1b4d78f055c1752ab254a7ebce13b3}{evas\+\_\+map\+\_\+point\+\_\+image\+\_\+uv\+\_\+set()}}.


\begin{DoxyParams}{Parameters}
{\em index} & Index of the point to change. Must be smaller than map size. \\
\hline
{\em u} & The X coordinate within the image/texture source. \\
\hline
{\em v} & The Y coordinate within the image/texture source.\\
\hline
\end{DoxyParams}
Note that the U,V arguments are optional, without them this function just queries the current values. The coordinate arguments can be separate values, or named fields in a table.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item number u\+: The X coordinate within the image/texture source.
\item number v\+: The Y coordinate within the image/texture source.
\end{DoxyItemize}
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_map_zoom}{}\doxysubsubsection{map\+\_\+object\+:zoom(x, y, x, y)}\label{luaref_map_zoom}
Apply a zoom to the map.

Wraps \mbox{\hyperlink{group__Evas__Object__Group__Map_ga733ebf337f12735e01f23fd78835be75}{evas\+\_\+map\+\_\+util\+\_\+zoom()}}.

The arguments can be two separate values, or named fields in a table.


\begin{DoxyParams}{Parameters}
{\em x} & The horizontal zoom amount. \\
\hline
{\em y} & The vertical zoom amount. \\
\hline
{\em x} & The X coordinate of the centre of the zoom. \\
\hline
{\em y} & The Y coordinate of the centre of the zoom.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_evas_polygon}{}\doxysubsection{Evas polygon class.}\label{luaref_evas_polygon}
The lua evas polygon class includes functions for dealing with evas polygon objects. The evas polygon objects must have been previously created by lua using the lua polygon object creation function edje.\+polygon().

In the following, \char`\"{}polygon\+\_\+object\char`\"{} is a place holder for any lua variable that holds a reference to an evas polygon object.

\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_polygon_clear}{}\doxysubsubsection{polygon\+\_\+object\+:clear()}\label{luaref_polygon_clear}
Clears all points from the polygon.

Wraps \mbox{\hyperlink{group__Evas__Object__Polygon_gadc41300036ecb0c40aefe209bbb8d47e}{evas\+\_\+object\+\_\+polygon\+\_\+points\+\_\+clear()}},

\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_polygon_point}{}\doxysubsubsection{polygon\+\_\+object\+:point(x, y)}\label{luaref_polygon_point}
Adds a point to this polygon.

Wraps \mbox{\hyperlink{group__Evas__Object__Polygon_ga1086af8adfca395fdcd5ed13520ce8a9}{evas\+\_\+object\+\_\+polygon\+\_\+point\+\_\+add()}}.


\begin{DoxyParams}{Parameters}
{\em x} & The X coordinate of the point. \\
\hline
{\em y} & The Y coordinate of the point.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_evas_text}{}\doxysubsection{Evas text class.}\label{luaref_evas_text}
The lua evas text class includes functions for dealing with evas text objects. The evas text objects must have been previously created by lua using the lua text object creation function edje.\+text().

In the following, \char`\"{}text\+\_\+object\char`\"{} is a place holder for any lua variable that holds a reference to an evas text object.

\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_text_font}{}\doxysubsubsection{text\+\_\+object\+:font(font, size)}\label{luaref_text_font}
Gets, (and optionally sets) the font for this text object.

Wraps evas\+\_\+object\+\_\+text\+\_\+font\+\_\+set().


\begin{DoxyParams}{Parameters}
{\em font} & The new font name. \\
\hline
{\em size} & The new font size.\\
\hline
\end{DoxyParams}
Note that the font and size arguments are optional, without them this function just queries the current values. The font and size arguments can be separate values, or named fields in a table. The font name can refer to a font in the edje file, or an external font.

\begin{DoxyReturn}{Returns}
A table with these fields\+:
\begin{DoxyItemize}
\item string font\+: The font name.
\item integer size\+: The font size.
\end{DoxyItemize}
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_text_text}{}\doxysubsubsection{text\+\_\+object\+:text(text)}\label{luaref_text_text}
Get (and optionally set) the actual text for this text object.

Wraps evas\+\_\+object\+\_\+text\+\_\+text\+\_\+set().


\begin{DoxyParams}{Parameters}
{\em text} & The text to set for this text object.\\
\hline
\end{DoxyParams}
Note that the argument is optional, without it this function just queries the current value.

\begin{DoxyReturn}{Returns}
A string of the text on this text object.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
\hypertarget{luaref_callbacks}{}\doxysection{Lua callbacks}\label{luaref_callbacks}
These are lua functions that are called by the lua edje system when certain events occur. If the functions don\textquotesingle{}t exist in the lua group, they don\textquotesingle{}t get called.\hypertarget{luaref_edje_shutdown}{}\doxysubsection{Edje shutdown() callback.}\label{luaref_edje_shutdown}
If a function called \char`\"{}shutdown\char`\"{} exists in a lua edje group, then it is called when that edje gets deleted.\hypertarget{luaref_edje_show}{}\doxysubsection{Edje show() callback.}\label{luaref_edje_show}
If a function called \char`\"{}show\char`\"{} exists in a lua edje group, then it is called when that edje gets shown.\hypertarget{luaref_edje_hide}{}\doxysubsection{Edje hide() callback.}\label{luaref_edje_hide}
If a function called \char`\"{}hide\char`\"{} exists in a lua edje group, then it is called when that edje gets hidden.\hypertarget{luaref_edje_move}{}\doxysubsection{Edje move(x, y) callback.}\label{luaref_edje_move}
If a function called \char`\"{}move\char`\"{} exists in a lua edje group, then it is called when that edje gets moved, with the new position passed to it.\hypertarget{luaref_edje_resize}{}\doxysubsection{Edje resize(w, h) callback.}\label{luaref_edje_resize}
If a function called \char`\"{}resize\char`\"{} exists in a lua edje group, then it is called when that edje gets resized, with the new size passed to it.\hypertarget{luaref_edje_message}{}\doxysubsection{Edje message(id, type, ...) callback.}\label{luaref_edje_message}
If a function called \char`\"{}message\char`\"{} exists in a lua edje group, then it is called when that edje gets gets a message sent to it, with the message details passed to it. See edje.\+messagesend() for details of what each type means. The arrays are passed as a table.\hypertarget{luaref_edje_signal}{}\doxysubsection{Edje signal(signal, source) callback.}\label{luaref_edje_signal}
If a function called \char`\"{}signal\char`\"{} exists in a lua edje group, then it is called when ever a signal arrives, with the signal details passed to it. 