\hypertarget{structzwp__text__input__v1__listener}{}\section{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener Struct Reference}
\label{structzwp__text__input__v1__listener}\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_ae287f27d69211ce4f2113f7b76277c09}{enter}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, struct wl\+\_\+surface $\ast$surface)
\begin{DoxyCompactList}\small\item\em enter event \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_aee2e333e28ba738fafa5e8e6051edefa}{leave}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1)
\begin{DoxyCompactList}\small\item\em leave event \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_a6f9da7293f8b901e746e114d79a5da48}{modifiers\+\_\+map}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, struct wl\+\_\+array $\ast$map)
\begin{DoxyCompactList}\small\item\em modifiers map \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_adb5c6eb6301f998a177655e58135b508}{input\+\_\+panel\+\_\+state}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t state)
\begin{DoxyCompactList}\small\item\em state of the input panel \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_a66c9d503df4f4a8b408b48f3431bc1de}{preedit\+\_\+string}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t serial, const char $\ast$text, const char $\ast$commit)
\begin{DoxyCompactList}\small\item\em pre-\/edit \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_adc172e46f02555fcb98e5ea4831af25e}{preedit\+\_\+styling}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t index, uint32\+\_\+t length, uint32\+\_\+t style)
\begin{DoxyCompactList}\small\item\em pre-\/edit styling \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_a4adb12b18bf691ea4f8090bdd1e9f915}{preedit\+\_\+cursor}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, int32\+\_\+t index)
\begin{DoxyCompactList}\small\item\em pre-\/edit cursor \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_ad9deb7c46c05b2b2189be31ec2d8d152}{commit\+\_\+string}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t serial, const char $\ast$text)
\begin{DoxyCompactList}\small\item\em commit \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_a8140f33b17c91872154511eed1bbbfac}{cursor\+\_\+position}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, int32\+\_\+t index, int32\+\_\+t anchor)
\begin{DoxyCompactList}\small\item\em set cursor to new position \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_a8e353f2425c1969a30550d26e84b60a8}{delete\+\_\+surrounding\+\_\+text}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, int32\+\_\+t index, uint32\+\_\+t length)
\begin{DoxyCompactList}\small\item\em delete surrounding text \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_af90ef08883e1cc50117f9387492774a1}{keysym}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t serial, uint32\+\_\+t time, uint32\+\_\+t sym, uint32\+\_\+t state, uint32\+\_\+t modifiers)
\begin{DoxyCompactList}\small\item\em keysym \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_a146bfdbff472823571680dbaac712ce0}{language}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t serial, const char $\ast$language)
\begin{DoxyCompactList}\small\item\em language \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzwp__text__input__v1__listener_adeca9df88c3a42bde50047d8956f6440}{text\+\_\+direction}} )(void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t serial, uint32\+\_\+t direction)
\begin{DoxyCompactList}\small\item\em text direction \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Field Documentation}
\mbox{\Hypertarget{structzwp__text__input__v1__listener_ae287f27d69211ce4f2113f7b76277c09}\label{structzwp__text__input__v1__listener_ae287f27d69211ce4f2113f7b76277c09}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!enter@{enter}}
\index{enter@{enter}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{enter}{enter}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::enter) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, struct wl\+\_\+surface $\ast$surface)}



enter event 

Notify the text\+\_\+input object when it received focus. Typically in response to an activate request. \mbox{\Hypertarget{structzwp__text__input__v1__listener_aee2e333e28ba738fafa5e8e6051edefa}\label{structzwp__text__input__v1__listener_aee2e333e28ba738fafa5e8e6051edefa}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!leave@{leave}}
\index{leave@{leave}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{leave}{leave}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::leave) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1)}



leave event 

Notify the text\+\_\+input object when it lost focus. Either in response to a deactivate request or when the assigned surface lost focus or was destroyed. \mbox{\Hypertarget{structzwp__text__input__v1__listener_a6f9da7293f8b901e746e114d79a5da48}\label{structzwp__text__input__v1__listener_a6f9da7293f8b901e746e114d79a5da48}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!modifiers\+\_\+map@{modifiers\+\_\+map}}
\index{modifiers\+\_\+map@{modifiers\+\_\+map}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{modifiers\+\_\+map}{modifiers\_map}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::modifiers\+\_\+map) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, struct wl\+\_\+array $\ast$map)}



modifiers map 

Transfer an array of 0-\/terminated modifier names. The position in the array is the index of the modifier as used in the modifiers bitmask in the keysym event. \mbox{\Hypertarget{structzwp__text__input__v1__listener_adb5c6eb6301f998a177655e58135b508}\label{structzwp__text__input__v1__listener_adb5c6eb6301f998a177655e58135b508}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!input\+\_\+panel\+\_\+state@{input\+\_\+panel\+\_\+state}}
\index{input\+\_\+panel\+\_\+state@{input\+\_\+panel\+\_\+state}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{input\+\_\+panel\+\_\+state}{input\_panel\_state}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::input\+\_\+panel\+\_\+state) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t state)}



state of the input panel 

Notify when the visibility state of the input panel changed. \mbox{\Hypertarget{structzwp__text__input__v1__listener_a66c9d503df4f4a8b408b48f3431bc1de}\label{structzwp__text__input__v1__listener_a66c9d503df4f4a8b408b48f3431bc1de}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!preedit\+\_\+string@{preedit\+\_\+string}}
\index{preedit\+\_\+string@{preedit\+\_\+string}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{preedit\+\_\+string}{preedit\_string}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::preedit\+\_\+string) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t serial, const char $\ast$text, const char $\ast$commit)}



pre-\/edit 

Notify when a new composing text (pre-\/edit) should be set around the current cursor position. Any previously set composing text should be removed.

The commit text can be used to replace the preedit text on reset (for example on unfocus).

The text input should also handle all preedit\+\_\+style and preedit\+\_\+cursor events occurring directly before preedit\+\_\+string. 
\begin{DoxyParams}{Parameters}
{\em serial} & serial of the latest known text input state \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{structzwp__text__input__v1__listener_adc172e46f02555fcb98e5ea4831af25e}\label{structzwp__text__input__v1__listener_adc172e46f02555fcb98e5ea4831af25e}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!preedit\+\_\+styling@{preedit\+\_\+styling}}
\index{preedit\+\_\+styling@{preedit\+\_\+styling}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{preedit\+\_\+styling}{preedit\_styling}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::preedit\+\_\+styling) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t index, uint32\+\_\+t length, uint32\+\_\+t style)}



pre-\/edit styling 

Sets styling information on composing text. The style is applied for length bytes from index relative to the beginning of the composing text (as byte offset). Multiple styles can be applied to a composing text by sending multiple preedit\+\_\+styling events.

This event is handled as part of a following preedit\+\_\+string event. \mbox{\Hypertarget{structzwp__text__input__v1__listener_a4adb12b18bf691ea4f8090bdd1e9f915}\label{structzwp__text__input__v1__listener_a4adb12b18bf691ea4f8090bdd1e9f915}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!preedit\+\_\+cursor@{preedit\+\_\+cursor}}
\index{preedit\+\_\+cursor@{preedit\+\_\+cursor}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{preedit\+\_\+cursor}{preedit\_cursor}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::preedit\+\_\+cursor) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, int32\+\_\+t index)}



pre-\/edit cursor 

Sets the cursor position inside the composing text (as byte offset) relative to the start of the composing text. When index is a negative number no cursor is shown.

This event is handled as part of a following preedit\+\_\+string event. \mbox{\Hypertarget{structzwp__text__input__v1__listener_ad9deb7c46c05b2b2189be31ec2d8d152}\label{structzwp__text__input__v1__listener_ad9deb7c46c05b2b2189be31ec2d8d152}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!commit\+\_\+string@{commit\+\_\+string}}
\index{commit\+\_\+string@{commit\+\_\+string}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{commit\+\_\+string}{commit\_string}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::commit\+\_\+string) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t serial, const char $\ast$text)}



commit 

Notify when text should be inserted into the editor widget. The text to commit could be either just a single character after a key press or the result of some composing (pre-\/edit). It could also be an empty text when some text should be removed (see delete\+\_\+surrounding\+\_\+text) or when the input cursor should be moved (see cursor\+\_\+position).

Any previously set composing text should be removed. 
\begin{DoxyParams}{Parameters}
{\em serial} & serial of the latest known text input state \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{structzwp__text__input__v1__listener_a8140f33b17c91872154511eed1bbbfac}\label{structzwp__text__input__v1__listener_a8140f33b17c91872154511eed1bbbfac}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!cursor\+\_\+position@{cursor\+\_\+position}}
\index{cursor\+\_\+position@{cursor\+\_\+position}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{cursor\+\_\+position}{cursor\_position}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::cursor\+\_\+position) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, int32\+\_\+t index, int32\+\_\+t anchor)}



set cursor to new position 

Notify when the cursor or anchor position should be modified.

This event should be handled as part of a following commit\+\_\+string event. \mbox{\Hypertarget{structzwp__text__input__v1__listener_a8e353f2425c1969a30550d26e84b60a8}\label{structzwp__text__input__v1__listener_a8e353f2425c1969a30550d26e84b60a8}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!delete\+\_\+surrounding\+\_\+text@{delete\+\_\+surrounding\+\_\+text}}
\index{delete\+\_\+surrounding\+\_\+text@{delete\+\_\+surrounding\+\_\+text}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{delete\+\_\+surrounding\+\_\+text}{delete\_surrounding\_text}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::delete\+\_\+surrounding\+\_\+text) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, int32\+\_\+t index, uint32\+\_\+t length)}



delete surrounding text 

Notify when the text around the current cursor position should be deleted.

Index is relative to the current cursor (in bytes). Length is the length of deleted text (in bytes).

This event should be handled as part of a following commit\+\_\+string event. \mbox{\Hypertarget{structzwp__text__input__v1__listener_af90ef08883e1cc50117f9387492774a1}\label{structzwp__text__input__v1__listener_af90ef08883e1cc50117f9387492774a1}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!keysym@{keysym}}
\index{keysym@{keysym}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{keysym}{keysym}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::keysym) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t serial, uint32\+\_\+t time, uint32\+\_\+t sym, uint32\+\_\+t state, uint32\+\_\+t modifiers)}



keysym 

Notify when a key event was sent. Key events should not be used for normal text input operations, which should be done with commit\+\_\+string, delete\+\_\+surrounding\+\_\+text, etc. The key event follows the wl\+\_\+keyboard key event convention. Sym is an X\+KB keysym, state a wl\+\_\+keyboard key\+\_\+state. Modifiers are a mask for effective modifiers (where the modifier indices are set by the modifiers\+\_\+map event) 
\begin{DoxyParams}{Parameters}
{\em serial} & serial of the latest known text input state \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{structzwp__text__input__v1__listener_a146bfdbff472823571680dbaac712ce0}\label{structzwp__text__input__v1__listener_a146bfdbff472823571680dbaac712ce0}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!language@{language}}
\index{language@{language}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{language}{language}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::language) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t serial, const char $\ast$language)}



language 

Sets the language of the input text. The \char`\"{}language\char`\"{} argument is an R\+F\+C-\/3066 format language tag. 
\begin{DoxyParams}{Parameters}
{\em serial} & serial of the latest known text input state \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{structzwp__text__input__v1__listener_adeca9df88c3a42bde50047d8956f6440}\label{structzwp__text__input__v1__listener_adeca9df88c3a42bde50047d8956f6440}} 
\index{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}!text\+\_\+direction@{text\+\_\+direction}}
\index{text\+\_\+direction@{text\+\_\+direction}!zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener@{zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener}}
\subsubsection{\texorpdfstring{text\+\_\+direction}{text\_direction}}
{\footnotesize\ttfamily void($\ast$ zwp\+\_\+text\+\_\+input\+\_\+v1\+\_\+listener\+::text\+\_\+direction) (void $\ast$data, struct zwp\+\_\+text\+\_\+input\+\_\+v1 $\ast$zwp\+\_\+text\+\_\+input\+\_\+v1, uint32\+\_\+t serial, uint32\+\_\+t direction)}



text direction 

Sets the text direction of input text.

It is mainly needed for showing an input cursor on the correct side of the editor when there is no input done yet and making sure neutral direction text is laid out properly. 
\begin{DoxyParams}{Parameters}
{\em serial} & serial of the latest known text input state \\
\hline
\end{DoxyParams}
