\hypertarget{group__Ecore__X__Display__Attr__Group}{\section{X Display Attributes}
\label{group__Ecore__X__Display__Attr__Group}\index{X Display Attributes@{X Display Attributes}}
}


Functions that set and retrieve X display attributes.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Ecore\+\_\+\+X\+\_\+\+Screen $\ast$ \hyperlink{group__Ecore__X__Display__Attr__Group_gaadf53bc2a53b7d29b27d693aab938ddf}{ecore\+\_\+x\+\_\+default\+\_\+screen\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the Ecore\+\_\+\+X\+\_\+\+Screen handle used for the current X connection. \end{DoxyCompactList}\item 
Ecore\+\_\+\+X\+\_\+\+Display $\ast$ \hyperlink{group__Ecore__X__Display__Attr__Group_ga176633b5853d1dc09a4ddc3b64620f43}{ecore\+\_\+x\+\_\+display\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the Ecore\+\_\+\+X\+\_\+\+Display handle used for the current X connection. \end{DoxyCompactList}\item 
int \hyperlink{group__Ecore__X__Display__Attr__Group_gaf8b7092a70a727e480b9c9b04b954d4b}{ecore\+\_\+x\+\_\+fd\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X display file descriptor. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__X__Display__Attr__Group_ga0adcc268e8b1448d0cb9ed9143973ef9}{ecore\+\_\+x\+\_\+screen\+\_\+size\+\_\+get} (const Ecore\+\_\+\+X\+\_\+\+Screen $\ast$screen, int $\ast$w, int $\ast$h)
\begin{DoxyCompactList}\small\item\em Retrieves the size of an Ecore\+\_\+\+X\+\_\+\+Screen. \end{DoxyCompactList}\item 
int \hyperlink{group__Ecore__X__Display__Attr__Group_ga1b46f5588e8477b8fcf316583c2eaf7b}{ecore\+\_\+x\+\_\+screen\+\_\+count\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the count of screens. \end{DoxyCompactList}\item 
int \hyperlink{group__Ecore__X__Display__Attr__Group_gad7901e2108fc849cf74107728420b4f1}{ecore\+\_\+x\+\_\+screen\+\_\+index\+\_\+get} (const Ecore\+\_\+\+X\+\_\+\+Screen $\ast$screen)
\begin{DoxyCompactList}\small\item\em Retrieves the index number of the given screen. \end{DoxyCompactList}\item 
Ecore\+\_\+\+X\+\_\+\+Screen $\ast$ \hyperlink{group__Ecore__X__Display__Attr__Group_gad1e36b46e9d9eaa3c61a59423e5c08a9}{ecore\+\_\+x\+\_\+screen\+\_\+get} (int idx)
\begin{DoxyCompactList}\small\item\em Retrieves the screen based on index number. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__X__Display__Attr__Group_gac2ef09380013bbc5d498ef3d76a420cc}{ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+set} (double t)
\begin{DoxyCompactList}\small\item\em Sets the timeout for a double and triple clicks to be flagged. \end{DoxyCompactList}\item 
double \hyperlink{group__Ecore__X__Display__Attr__Group_gae5b997f75b7db49217acaafa19b5d667}{ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the double and triple click flag timeout. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that set and retrieve X display attributes. 



\subsection{Function Documentation}
\hypertarget{group__Ecore__X__Display__Attr__Group_gaadf53bc2a53b7d29b27d693aab938ddf}{\index{X Display Attributes@{X Display Attributes}!ecore\+\_\+x\+\_\+default\+\_\+screen\+\_\+get@{ecore\+\_\+x\+\_\+default\+\_\+screen\+\_\+get}}
\index{ecore\+\_\+x\+\_\+default\+\_\+screen\+\_\+get@{ecore\+\_\+x\+\_\+default\+\_\+screen\+\_\+get}!X Display Attributes@{X Display Attributes}}
\subsubsection[{ecore\+\_\+x\+\_\+default\+\_\+screen\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Ecore\+\_\+\+X\+\_\+\+Screen$\ast$ ecore\+\_\+x\+\_\+default\+\_\+screen\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Display__Attr__Group_gaadf53bc2a53b7d29b27d693aab938ddf}


Retrieves the Ecore\+\_\+\+X\+\_\+\+Screen handle used for the current X connection. 

\begin{DoxyReturn}{Returns}
The current default screen. 
\end{DoxyReturn}
\hypertarget{group__Ecore__X__Display__Attr__Group_ga176633b5853d1dc09a4ddc3b64620f43}{\index{X Display Attributes@{X Display Attributes}!ecore\+\_\+x\+\_\+display\+\_\+get@{ecore\+\_\+x\+\_\+display\+\_\+get}}
\index{ecore\+\_\+x\+\_\+display\+\_\+get@{ecore\+\_\+x\+\_\+display\+\_\+get}!X Display Attributes@{X Display Attributes}}
\subsubsection[{ecore\+\_\+x\+\_\+display\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Ecore\+\_\+\+X\+\_\+\+Display$\ast$ ecore\+\_\+x\+\_\+display\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Display__Attr__Group_ga176633b5853d1dc09a4ddc3b64620f43}


Retrieves the Ecore\+\_\+\+X\+\_\+\+Display handle used for the current X connection. 

\begin{DoxyReturn}{Returns}
The current X display. 
\end{DoxyReturn}
\hypertarget{group__Ecore__X__Display__Attr__Group_gaf8b7092a70a727e480b9c9b04b954d4b}{\index{X Display Attributes@{X Display Attributes}!ecore\+\_\+x\+\_\+fd\+\_\+get@{ecore\+\_\+x\+\_\+fd\+\_\+get}}
\index{ecore\+\_\+x\+\_\+fd\+\_\+get@{ecore\+\_\+x\+\_\+fd\+\_\+get}!X Display Attributes@{X Display Attributes}}
\subsubsection[{ecore\+\_\+x\+\_\+fd\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}int ecore\+\_\+x\+\_\+fd\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Display__Attr__Group_gaf8b7092a70a727e480b9c9b04b954d4b}


Retrieves the X display file descriptor. 

\begin{DoxyReturn}{Returns}
The current X display file descriptor. 
\end{DoxyReturn}
\hypertarget{group__Ecore__X__Display__Attr__Group_ga0adcc268e8b1448d0cb9ed9143973ef9}{\index{X Display Attributes@{X Display Attributes}!ecore\+\_\+x\+\_\+screen\+\_\+size\+\_\+get@{ecore\+\_\+x\+\_\+screen\+\_\+size\+\_\+get}}
\index{ecore\+\_\+x\+\_\+screen\+\_\+size\+\_\+get@{ecore\+\_\+x\+\_\+screen\+\_\+size\+\_\+get}!X Display Attributes@{X Display Attributes}}
\subsubsection[{ecore\+\_\+x\+\_\+screen\+\_\+size\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+x\+\_\+screen\+\_\+size\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Ecore\+\_\+\+X\+\_\+\+Screen $\ast$}]{screen, }
\item[{int $\ast$}]{w, }
\item[{int $\ast$}]{h}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Display__Attr__Group_ga0adcc268e8b1448d0cb9ed9143973ef9}


Retrieves the size of an Ecore\+\_\+\+X\+\_\+\+Screen. 


\begin{DoxyParams}{Parameters}
{\em screen} & the handle to the screen to query. \\
\hline
{\em w} & where to return the width. May be N\+U\+L\+L. Returns 0 on errors. \\
\hline
{\em h} & where to return the height. May be N\+U\+L\+L. Returns 0 on errors.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__X__Display__Attr__Group_gaadf53bc2a53b7d29b27d693aab938ddf}{ecore\+\_\+x\+\_\+default\+\_\+screen\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Ecore__X__Display__Attr__Group_ga1b46f5588e8477b8fcf316583c2eaf7b}{\index{X Display Attributes@{X Display Attributes}!ecore\+\_\+x\+\_\+screen\+\_\+count\+\_\+get@{ecore\+\_\+x\+\_\+screen\+\_\+count\+\_\+get}}
\index{ecore\+\_\+x\+\_\+screen\+\_\+count\+\_\+get@{ecore\+\_\+x\+\_\+screen\+\_\+count\+\_\+get}!X Display Attributes@{X Display Attributes}}
\subsubsection[{ecore\+\_\+x\+\_\+screen\+\_\+count\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}int ecore\+\_\+x\+\_\+screen\+\_\+count\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Display__Attr__Group_ga1b46f5588e8477b8fcf316583c2eaf7b}


Retrieves the count of screens. 

Retrieves the number of screens.

\begin{DoxyReturn}{Returns}
The count of screens.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}
\begin{DoxyReturn}{Returns}
The count of the number of screens.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


Referenced by ecore\+\_\+x\+\_\+window\+\_\+root\+\_\+list().

\hypertarget{group__Ecore__X__Display__Attr__Group_gad7901e2108fc849cf74107728420b4f1}{\index{X Display Attributes@{X Display Attributes}!ecore\+\_\+x\+\_\+screen\+\_\+index\+\_\+get@{ecore\+\_\+x\+\_\+screen\+\_\+index\+\_\+get}}
\index{ecore\+\_\+x\+\_\+screen\+\_\+index\+\_\+get@{ecore\+\_\+x\+\_\+screen\+\_\+index\+\_\+get}!X Display Attributes@{X Display Attributes}}
\subsubsection[{ecore\+\_\+x\+\_\+screen\+\_\+index\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}int ecore\+\_\+x\+\_\+screen\+\_\+index\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Ecore\+\_\+\+X\+\_\+\+Screen $\ast$}]{screen}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Display__Attr__Group_gad7901e2108fc849cf74107728420b4f1}


Retrieves the index number of the given screen. 


\begin{DoxyParams}{Parameters}
{\em screen} & The screen for which index will be gotten. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The index number of the screen.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em screen} & The screen for which the index will be retrieved. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The index number of the screen.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Ecore__X__Display__Attr__Group_gad1e36b46e9d9eaa3c61a59423e5c08a9}{\index{X Display Attributes@{X Display Attributes}!ecore\+\_\+x\+\_\+screen\+\_\+get@{ecore\+\_\+x\+\_\+screen\+\_\+get}}
\index{ecore\+\_\+x\+\_\+screen\+\_\+get@{ecore\+\_\+x\+\_\+screen\+\_\+get}!X Display Attributes@{X Display Attributes}}
\subsubsection[{ecore\+\_\+x\+\_\+screen\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Ecore\+\_\+\+X\+\_\+\+Screen$\ast$ ecore\+\_\+x\+\_\+screen\+\_\+get (
\begin{DoxyParamCaption}
\item[{int}]{idx}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Display__Attr__Group_gad1e36b46e9d9eaa3c61a59423e5c08a9}


Retrieves the screen based on index number. 


\begin{DoxyParams}{Parameters}
{\em idx} & The index that will be used to retrieve the screen. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The Ecore\+\_\+\+X\+\_\+\+Screen at this index.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Ecore__X__Display__Attr__Group_gac2ef09380013bbc5d498ef3d76a420cc}{\index{X Display Attributes@{X Display Attributes}!ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+set@{ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+set}}
\index{ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+set@{ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+set}!X Display Attributes@{X Display Attributes}}
\subsubsection[{ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{t}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Display__Attr__Group_gac2ef09380013bbc5d498ef3d76a420cc}


Sets the timeout for a double and triple clicks to be flagged. 

This sets the time between clicks before the double\+\_\+click flag is set in a button down event. If 3 clicks occur within double this time, the triple\+\_\+click flag is also set.


\begin{DoxyParams}{Parameters}
{\em t} & The time in seconds \\
\hline
\end{DoxyParams}
\hypertarget{group__Ecore__X__Display__Attr__Group_gae5b997f75b7db49217acaafa19b5d667}{\index{X Display Attributes@{X Display Attributes}!ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+get@{ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+get}}
\index{ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+get@{ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+get}!X Display Attributes@{X Display Attributes}}
\subsubsection[{ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}double ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Display__Attr__Group_gae5b997f75b7db49217acaafa19b5d667}


Retrieves the double and triple click flag timeout. 

See \hyperlink{group__Ecore__X__Display__Attr__Group_gac2ef09380013bbc5d498ef3d76a420cc}{ecore\+\_\+x\+\_\+double\+\_\+click\+\_\+time\+\_\+set} for more information.

\begin{DoxyReturn}{Returns}
The timeout for double clicks in seconds. 
\end{DoxyReturn}
