\section{Scroller}
\label{group__Scroller}\index{Scroller@{Scroller}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+I\+N\+A\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+E\+D void \hyperlink{group__Scroller_gaa92723dca8dacd72abffb05a3d23d43a}{elm\+\_\+scroller\+\_\+custom\+\_\+widget\+\_\+base\+\_\+theme\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, const char $\ast$widget, const char $\ast$base)
\begin{DoxyCompactList}\small\item\em Set custom theme elements for the scroller. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Scroller_ga89b7b949f5defff27475153c6d5957f7}{elm\+\_\+scroller\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new scroller to the parent. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gac929a4fcacd00a7106a958a1048b6e7e}{elm\+\_\+scroller\+\_\+content\+\_\+min\+\_\+limit} (Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool w, Eina\+\_\+\+Bool h)
\begin{DoxyCompactList}\small\item\em Make the scroller minimum size limited to the minimum size of the content. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_ga50e68aa62753b2d1f5b63d072cd74215}{elm\+\_\+scroller\+\_\+region\+\_\+show} (Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y, Evas\+\_\+\+Coord w, Evas\+\_\+\+Coord h)
\begin{DoxyCompactList}\small\item\em Show a specific virtual region within the scroller content object. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_ga4105c0d6adca64ed3d38e7e4116b09e4}{elm\+\_\+scroller\+\_\+policy\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Scroller\+\_\+\+Policy policy\+\_\+h, Elm\+\_\+\+Scroller\+\_\+\+Policy policy\+\_\+v)
\begin{DoxyCompactList}\small\item\em Set the scrollbar visibility policy. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gae5d37ebf0a5540326b2b56ae41f24c97}{elm\+\_\+scroller\+\_\+policy\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Scroller\+\_\+\+Policy $\ast$policy\+\_\+h, Elm\+\_\+\+Scroller\+\_\+\+Policy $\ast$policy\+\_\+v)
\begin{DoxyCompactList}\small\item\em Get scrollbar visibility policy. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_ga1a3084528e4977fa8a3abb1201845110}{elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Scroller\+\_\+\+Single\+\_\+\+Direction single\+\_\+dir)
\begin{DoxyCompactList}\small\item\em Set the type of single direction scroll. \end{DoxyCompactList}\item 
Elm\+\_\+\+Scroller\+\_\+\+Single\+\_\+\+Direction \hyperlink{group__Scroller_gaf6a0ff5ba8c853a6c253fc90dc89be32}{elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the type of single direction scroll. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gac5b7e4c368b3b0b1187b20c904d139c7}{elm\+\_\+scroller\+\_\+region\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord $\ast$x, Evas\+\_\+\+Coord $\ast$y, Evas\+\_\+\+Coord $\ast$w, Evas\+\_\+\+Coord $\ast$h)
\begin{DoxyCompactList}\small\item\em Get the currently visible content region. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_ga10857b4a089bc9ce3af08b1905cc3c1f}{elm\+\_\+scroller\+\_\+child\+\_\+size\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord $\ast$w, Evas\+\_\+\+Coord $\ast$h)
\begin{DoxyCompactList}\small\item\em Get the size of the content object. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_ga7af9310c09ff772508dcf7c0fdfe4388}{elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool page\+\_\+h\+\_\+snap, Eina\+\_\+\+Bool page\+\_\+v\+\_\+snap)
\begin{DoxyCompactList}\small\item\em Set page snapping behavior of a scroller. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gac56c4f2378765a7a4ded983041f631a4}{elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool $\ast$page\+\_\+h\+\_\+snap, Eina\+\_\+\+Bool $\ast$page\+\_\+v\+\_\+snap)
\begin{DoxyCompactList}\small\item\em Get the page snap behaviour of a scroller. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gae69101dbdb089598ca790c73bd9d7a42}{elm\+\_\+scroller\+\_\+bounce\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool h\+\_\+bounce, Eina\+\_\+\+Bool v\+\_\+bounce)
\begin{DoxyCompactList}\small\item\em Set bouncing behavior. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gae74537077c42537037834d4d4bdae634}{elm\+\_\+scroller\+\_\+bounce\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool $\ast$h\+\_\+bounce, Eina\+\_\+\+Bool $\ast$v\+\_\+bounce)
\begin{DoxyCompactList}\small\item\em Get the bounce behaviour. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_ga3295a1b41dc53d40b6ff5778313eaaa3}{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, double h\+\_\+pagerel, double v\+\_\+pagerel)
\begin{DoxyCompactList}\small\item\em Set scroll page size relative to viewport size. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gab4cbd897b985821479ca2d565fb37096}{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, double $\ast$h\+\_\+pagerel, double $\ast$v\+\_\+pagerel)
\begin{DoxyCompactList}\small\item\em Get a given scroller widget\textquotesingle{}s scrolling page size, relative to its viewport size. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gabcad455f129d0607126e66b948b597c3}{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord h\+\_\+pagesize, Evas\+\_\+\+Coord v\+\_\+pagesize)
\begin{DoxyCompactList}\small\item\em Set scroll page size. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_ga9d2d8b2a276e996c964bdcf7effe3744}{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord $\ast$h\+\_\+pagesize, Evas\+\_\+\+Coord $\ast$v\+\_\+pagesize)
\begin{DoxyCompactList}\small\item\em Get a scroller widget\textquotesingle{}s current page size. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gaa2d683726710156bbc4d034ac8ad4de7}{elm\+\_\+scroller\+\_\+current\+\_\+page\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, int $\ast$h\+\_\+pagenumber, int $\ast$v\+\_\+pagenumber)
\begin{DoxyCompactList}\small\item\em Get scroll current page number. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_ga45d82f969657ce6e1a84fd8f52ef9ded}{elm\+\_\+scroller\+\_\+last\+\_\+page\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, int $\ast$h\+\_\+pagenumber, int $\ast$v\+\_\+pagenumber)
\begin{DoxyCompactList}\small\item\em Get scroll last page number. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_ga23f1e0f70e5026b2e42b27b355c86d1e}{elm\+\_\+scroller\+\_\+page\+\_\+show} (Evas\+\_\+\+Object $\ast$obj, int h\+\_\+pagenumber, int v\+\_\+pagenumber)
\begin{DoxyCompactList}\small\item\em Show a specific virtual region within the scroller content object by page number. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gae42eafda4e1d7ad8b76ee9350e4d6cfb}{elm\+\_\+scroller\+\_\+page\+\_\+bring\+\_\+in} (Evas\+\_\+\+Object $\ast$obj, int h\+\_\+pagenumber, int v\+\_\+pagenumber)
\begin{DoxyCompactList}\small\item\em Show a specific virtual region within the scroller content object by page number. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gad207401a81a1b57b67a5790b8d7f131c}{elm\+\_\+scroller\+\_\+region\+\_\+bring\+\_\+in} (Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y, Evas\+\_\+\+Coord w, Evas\+\_\+\+Coord h)
\begin{DoxyCompactList}\small\item\em Show a specific virtual region within the scroller content object. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gae3d0deee304540d3edce8c290aff5220}{elm\+\_\+scroller\+\_\+gravity\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, double x, double y)
\begin{DoxyCompactList}\small\item\em Set scrolling gravity on a scroller. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gae5b1ce1c83aa67b05f3f66276809820b}{elm\+\_\+scroller\+\_\+gravity\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, double $\ast$x, double $\ast$y)
\begin{DoxyCompactList}\small\item\em Get scrolling gravity values for a scroller. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gac58a4f506d7fbc84a868e56bf6aec1bc}{elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Scroller\+\_\+\+Movement\+\_\+\+Block block)
\begin{DoxyCompactList}\small\item\em Set blocking of scrolling (per axis) on a given scroller. \end{DoxyCompactList}\item 
Elm\+\_\+\+Scroller\+\_\+\+Movement\+\_\+\+Block \hyperlink{group__Scroller_ga1562e7f98ed272cc658627c8b7b08e59}{elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a scroller\textquotesingle{}s scroll blocking state. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gadb33e83874d73c17e9b06d9ee81978ee}{elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y)
\begin{DoxyCompactList}\small\item\em Set scroll step size. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_gafbcf59e7453b9814ced6bb58074becad}{elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord $\ast$x, Evas\+\_\+\+Coord $\ast$y)
\begin{DoxyCompactList}\small\item\em Get the current step size of the scroller object. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_ga14f5995421ee74e9e00e32853a78f94c}{elm\+\_\+scroller\+\_\+loop\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool loop\+\_\+h, Eina\+\_\+\+Bool loop\+\_\+v)
\begin{DoxyCompactList}\small\item\em Set an infinite loop\+\_\+ for a scroller. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_ga1a7d423c335652d4cb20447269c1e1dc}{elm\+\_\+scroller\+\_\+loop\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool $\ast$loop\+\_\+h, Eina\+\_\+\+Bool $\ast$loop\+\_\+v)
\begin{DoxyCompactList}\small\item\em Get an infinite loop\+\_\+ for a scroller. \end{DoxyCompactList}\item 
void \hyperlink{group__Scroller_ga73234d758f55002654c5f3b31563a67b}{elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool disabled)
\begin{DoxyCompactList}\small\item\em Enable or disable mouse wheel to be used to scroll the scroller. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Scroller_ga27a99ce180d8423c8b46ce807bf0e514}{elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether mouse wheel is enabled or not over the scroller. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{scroller_inheritance_tree}}
\end{DoxyImageNoCaption}


A scroller holds (and clips) a single object and \char`\"{}scrolls it
around\char`\"{}. This means that it allows the user to use a scroll bar (or a finger) to drag the viewable region around, moving through a much larger object that is contained in the scroller. The scroller will always have a small minimum size by default as it won\textquotesingle{}t be limited by the contents of the scroller.

This widget inherits from the \hyperlink{group__Layout}{Layout} one, so that all the functions acting on it also work for scroller objects.

This widget emits the following signals, besides the ones sent from \begin{DoxyItemize}
\item {\ttfamily \char`\"{}edge,left\char`\"{}} -\/ the left edge of the content has been reached \item {\ttfamily \char`\"{}edge,right\char`\"{}} -\/ the right edge of the content has been reached \item {\ttfamily \char`\"{}edge,top\char`\"{}} -\/ the top edge of the content has been reached \item {\ttfamily \char`\"{}edge,bottom\char`\"{}} -\/ the bottom edge of the content has been reached \item {\ttfamily \char`\"{}scroll\char`\"{}} -\/ the content has been scrolled (moved) \item {\ttfamily \char`\"{}scroll,left\char`\"{}} -\/ the content has been scrolled (moved) leftwards \item {\ttfamily \char`\"{}scroll,right\char`\"{}} -\/ the content has been scrolled (moved) rightwards \item {\ttfamily \char`\"{}scroll,up\char`\"{}} -\/ the content has been scrolled (moved) upwards \item {\ttfamily \char`\"{}scroll,down\char`\"{}} -\/ the content has been scrolled (moved) downwards \item {\ttfamily \char`\"{}scroll,anim,start\char`\"{}} -\/ scrolling animation has started \item {\ttfamily \char`\"{}scroll,anim,stop\char`\"{}} -\/ scrolling animation has stopped \item {\ttfamily \char`\"{}scroll,drag,start\char`\"{}} -\/ dragging the contents around has started \item {\ttfamily \char`\"{}scroll,drag,stop\char`\"{}} -\/ dragging the contents around has stopped \item {\ttfamily \char`\"{}vbar,drag\char`\"{}} -\/ the vertical scroll bar has been dragged \item {\ttfamily \char`\"{}vbar,press\char`\"{}} -\/ the vertical scroll bar has been pressed \item {\ttfamily \char`\"{}vbar,unpress\char`\"{}} -\/ the vertical scroll bar has been unpressed \item {\ttfamily \char`\"{}hbar,drag\char`\"{}} -\/ the horizontal scroll bar has been dragged \item {\ttfamily \char`\"{}hbar,press\char`\"{}} -\/ the horizontal scroll bar has been pressed \item {\ttfamily \char`\"{}hbar,unpress\char`\"{}} -\/ the horizontal scroll bar has been unpressed \item {\ttfamily \char`\"{}scroll,page,changed\char`\"{}} -\/ the visible page has changed \item {\ttfamily \char`\"{}focused\char`\"{}} -\/ When the scroller has received focus. (since 1.\+8) \item {\ttfamily \char`\"{}unfocused\char`\"{}} -\/ When the scroller has lost focus. (since 1.\+8)\end{DoxyItemize}
This widget implements the \hyperlink{group__Widget_elm-scrollable-interface}{The Elementary Scrollable Interface} interface. Its (non-\/deprecated) A\+P\+I functions, except for \hyperlink{group__Scroller_ga89b7b949f5defff27475153c6d5957f7}{elm\+\_\+scroller\+\_\+add()}, which gives basic scroller objects, are meant to be a basis for all other scrollable widgets (i.\+e. widgets implementing \hyperlink{group__Widget_elm-scrollable-interface}{The Elementary Scrollable Interface}). So, they will work both on pristine scroller widgets and on other \char`\"{}specialized\char`\"{} scrollable widgets.

\begin{DoxyNote}{Note}
The {\ttfamily \char`\"{}scroll,anim,$\ast$\char`\"{}} and {\ttfamily \char`\"{}scroll,drag,$\ast$\char`\"{}} signals are only emitted by user intervention.

When Elementary is under its default profile and theme (meant for touch interfaces), scroll bars will {\bfseries not} be draggable -- their function is merely to indicate how much has been scrolled.

When Elementary is under its desktop/standard profile and theme, the thumb scroll (a.\+k.\+a. finger scroll) won\textquotesingle{}t work.
\end{DoxyNote}
Default content parts of the scroller widget that you can use are\+: \begin{DoxyItemize}
\item {\ttfamily \char`\"{}default\char`\"{}} -\/ A content of the scroller\end{DoxyItemize}
In \hyperlink{tutorial_scroller}{Scroller example} you\textquotesingle{}ll find an example on how to use most of this A\+P\+I. 

\subsection{Function Documentation}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+add@{elm\+\_\+scroller\+\_\+add}}
\index{elm\+\_\+scroller\+\_\+add@{elm\+\_\+scroller\+\_\+add}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+add(\+Evas\+\_\+\+Object $\ast$parent)}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+scroller\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga89b7b949f5defff27475153c6d5957f7}


Add a new scroller to the parent. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new object or N\+U\+L\+L if it cannot be created 
\end{DoxyReturn}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+bounce\+\_\+get@{elm\+\_\+scroller\+\_\+bounce\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+bounce\+\_\+get@{elm\+\_\+scroller\+\_\+bounce\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+bounce\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool $\ast$h\+\_\+bounce, Eina\+\_\+\+Bool $\ast$v\+\_\+bounce)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+bounce\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool $\ast$}]{h\+\_\+bounce, }
\item[{Eina\+\_\+\+Bool $\ast$}]{v\+\_\+bounce}
\end{DoxyParamCaption}
)}\label{group__Scroller_gae74537077c42537037834d4d4bdae634}


Get the bounce behaviour. 


\begin{DoxyParams}{Parameters}
{\em obj} & The Scroller object \\
\hline
{\em h\+\_\+bounce} & Will the scroller bounce horizontally or not \\
\hline
{\em v\+\_\+bounce} & Will the scroller bounce vertically or not\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_gae69101dbdb089598ca790c73bd9d7a42}{elm\+\_\+scroller\+\_\+bounce\+\_\+set()} 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+bounce\+\_\+set@{elm\+\_\+scroller\+\_\+bounce\+\_\+set}}
\index{elm\+\_\+scroller\+\_\+bounce\+\_\+set@{elm\+\_\+scroller\+\_\+bounce\+\_\+set}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+bounce\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool h\+\_\+bounce, Eina\+\_\+\+Bool v\+\_\+bounce)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+bounce\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool}]{h\+\_\+bounce, }
\item[{Eina\+\_\+\+Bool}]{v\+\_\+bounce}
\end{DoxyParamCaption}
)}\label{group__Scroller_gae69101dbdb089598ca790c73bd9d7a42}


Set bouncing behavior. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em h\+\_\+bounce} & Allow bounce horizontally \\
\hline
{\em v\+\_\+bounce} & Allow bounce vertically\\
\hline
\end{DoxyParams}
When scrolling, the scroller may \char`\"{}bounce\char`\"{} when reaching an edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axis. This A\+P\+I will set if it is enabled for the given axis with the boolean parameters for each axis. 

Referenced by elm\+\_\+color\+\_\+class\+\_\+editor\+\_\+add().

\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+child\+\_\+size\+\_\+get@{elm\+\_\+scroller\+\_\+child\+\_\+size\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+child\+\_\+size\+\_\+get@{elm\+\_\+scroller\+\_\+child\+\_\+size\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+child\+\_\+size\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord $\ast$w, Evas\+\_\+\+Coord $\ast$h)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+child\+\_\+size\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Evas\+\_\+\+Coord $\ast$}]{w, }
\item[{Evas\+\_\+\+Coord $\ast$}]{h}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga10857b4a089bc9ce3af08b1905cc3c1f}


Get the size of the content object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em w} & Width of the content object. \\
\hline
{\em h} & Height of the content object.\\
\hline
\end{DoxyParams}
This gets the size of the content object of the scroller. \index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+content\+\_\+min\+\_\+limit@{elm\+\_\+scroller\+\_\+content\+\_\+min\+\_\+limit}}
\index{elm\+\_\+scroller\+\_\+content\+\_\+min\+\_\+limit@{elm\+\_\+scroller\+\_\+content\+\_\+min\+\_\+limit}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+content\+\_\+min\+\_\+limit(\+Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool w, Eina\+\_\+\+Bool h)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+content\+\_\+min\+\_\+limit (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool}]{w, }
\item[{Eina\+\_\+\+Bool}]{h}
\end{DoxyParamCaption}
)}\label{group__Scroller_gac929a4fcacd00a7106a958a1048b6e7e}


Make the scroller minimum size limited to the minimum size of the content. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em w} & Enable limiting minimum size horizontally \\
\hline
{\em h} & Enable limiting minimum size vertically\\
\hline
\end{DoxyParams}
By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction. \index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+current\+\_\+page\+\_\+get@{elm\+\_\+scroller\+\_\+current\+\_\+page\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+current\+\_\+page\+\_\+get@{elm\+\_\+scroller\+\_\+current\+\_\+page\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+current\+\_\+page\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, int $\ast$h\+\_\+pagenumber, int $\ast$v\+\_\+pagenumber)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+current\+\_\+page\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{int $\ast$}]{h\+\_\+pagenumber, }
\item[{int $\ast$}]{v\+\_\+pagenumber}
\end{DoxyParamCaption}
)}\label{group__Scroller_gaa2d683726710156bbc4d034ac8ad4de7}


Get scroll current page number. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em h\+\_\+pagenumber} & The horizontal page number \\
\hline
{\em v\+\_\+pagenumber} & The vertical page number\\
\hline
\end{DoxyParams}
The page number starts from 0. 0 is the first page. Current page means the page which meets the top-\/left of the viewport. If there are two or more pages in the viewport, it returns the number of the page which meets the top-\/left of the viewport.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_ga45d82f969657ce6e1a84fd8f52ef9ded}{elm\+\_\+scroller\+\_\+last\+\_\+page\+\_\+get()} 

\hyperlink{group__Scroller_ga23f1e0f70e5026b2e42b27b355c86d1e}{elm\+\_\+scroller\+\_\+page\+\_\+show()} 

\hyperlink{group__Scroller_gae42eafda4e1d7ad8b76ee9350e4d6cfb}{elm\+\_\+scroller\+\_\+page\+\_\+bring\+\_\+in()} 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+custom\+\_\+widget\+\_\+base\+\_\+theme\+\_\+set@{elm\+\_\+scroller\+\_\+custom\+\_\+widget\+\_\+base\+\_\+theme\+\_\+set}}
\index{elm\+\_\+scroller\+\_\+custom\+\_\+widget\+\_\+base\+\_\+theme\+\_\+set@{elm\+\_\+scroller\+\_\+custom\+\_\+widget\+\_\+base\+\_\+theme\+\_\+set}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+custom\+\_\+widget\+\_\+base\+\_\+theme\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, const char $\ast$widget, const char $\ast$base)}]{\setlength{\rightskip}{0pt plus 5cm}E\+I\+N\+A\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+E\+D void elm\+\_\+scroller\+\_\+custom\+\_\+widget\+\_\+base\+\_\+theme\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{const char $\ast$}]{widget, }
\item[{const char $\ast$}]{base}
\end{DoxyParamCaption}
)}\label{group__Scroller_gaa92723dca8dacd72abffb05a3d23d43a}


Set custom theme elements for the scroller. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em widget} & The widget name to use (default is \char`\"{}scroller\char`\"{}) \\
\hline
{\em base} & The base name to use (default is \char`\"{}base\char`\"{})\\
\hline
\end{DoxyParams}
\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000042}{Deprecated}]Use elm\+\_\+layout\+\_\+theme\+\_\+set() instead.\end{DoxyRefDesc}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+gravity\+\_\+get@{elm\+\_\+scroller\+\_\+gravity\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+gravity\+\_\+get@{elm\+\_\+scroller\+\_\+gravity\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+gravity\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, double $\ast$x, double $\ast$y)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+gravity\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{double $\ast$}]{x, }
\item[{double $\ast$}]{y}
\end{DoxyParamCaption}
)}\label{group__Scroller_gae5b1ce1c83aa67b05f3f66276809820b}


Get scrolling gravity values for a scroller. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em x} & The scrolling horizontal gravity \\
\hline
{\em y} & The scrolling vertical gravity\\
\hline
\end{DoxyParams}
This gets gravity values for a scroller.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_gae3d0deee304540d3edce8c290aff5220}{elm\+\_\+scroller\+\_\+gravity\+\_\+set()} 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+gravity\+\_\+set@{elm\+\_\+scroller\+\_\+gravity\+\_\+set}}
\index{elm\+\_\+scroller\+\_\+gravity\+\_\+set@{elm\+\_\+scroller\+\_\+gravity\+\_\+set}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+gravity\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, double x, double y)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+gravity\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{double}]{x, }
\item[{double}]{y}
\end{DoxyParamCaption}
)}\label{group__Scroller_gae3d0deee304540d3edce8c290aff5220}


Set scrolling gravity on a scroller. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em x} & The scrolling horizontal gravity \\
\hline
{\em y} & The scrolling vertical gravity\\
\hline
\end{DoxyParams}
The gravity, defines how the scroller will adjust its view when the size of the scroller contents increase.

The scroller will adjust the view to glue itself as follows.

x=0.\+0, for staying where it is relative to the left edge of the content x=1.\+0, for staying where it is relative to the rigth edge of the content y=0.\+0, for staying where it is relative to the top edge of the content y=1.\+0, for staying where it is relative to the bottom edge of the content

Default values for x and y are 0.\+0 \index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+last\+\_\+page\+\_\+get@{elm\+\_\+scroller\+\_\+last\+\_\+page\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+last\+\_\+page\+\_\+get@{elm\+\_\+scroller\+\_\+last\+\_\+page\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+last\+\_\+page\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, int $\ast$h\+\_\+pagenumber, int $\ast$v\+\_\+pagenumber)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+last\+\_\+page\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{int $\ast$}]{h\+\_\+pagenumber, }
\item[{int $\ast$}]{v\+\_\+pagenumber}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga45d82f969657ce6e1a84fd8f52ef9ded}


Get scroll last page number. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em h\+\_\+pagenumber} & The horizontal page number \\
\hline
{\em v\+\_\+pagenumber} & The vertical page number\\
\hline
\end{DoxyParams}
The page number starts from 0. 0 is the first page. This returns the last page number among the pages.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_gaa2d683726710156bbc4d034ac8ad4de7}{elm\+\_\+scroller\+\_\+current\+\_\+page\+\_\+get()} 

\hyperlink{group__Scroller_ga23f1e0f70e5026b2e42b27b355c86d1e}{elm\+\_\+scroller\+\_\+page\+\_\+show()} 

\hyperlink{group__Scroller_gae42eafda4e1d7ad8b76ee9350e4d6cfb}{elm\+\_\+scroller\+\_\+page\+\_\+bring\+\_\+in()} 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+loop\+\_\+get@{elm\+\_\+scroller\+\_\+loop\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+loop\+\_\+get@{elm\+\_\+scroller\+\_\+loop\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+loop\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool $\ast$loop\+\_\+h, Eina\+\_\+\+Bool $\ast$loop\+\_\+v)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+loop\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool $\ast$}]{loop\+\_\+h, }
\item[{Eina\+\_\+\+Bool $\ast$}]{loop\+\_\+v}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga1a7d423c335652d4cb20447269c1e1dc}


Get an infinite loop\+\_\+ for a scroller. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em loop\+\_\+h} & The scrolling horizontal loop \\
\hline
{\em loop\+\_\+v} & The scrolling vertical loop\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+14
\end{DoxySince}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_ga14f5995421ee74e9e00e32853a78f94c}{elm\+\_\+scroller\+\_\+loop\+\_\+set()} for more details 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+loop\+\_\+set@{elm\+\_\+scroller\+\_\+loop\+\_\+set}}
\index{elm\+\_\+scroller\+\_\+loop\+\_\+set@{elm\+\_\+scroller\+\_\+loop\+\_\+set}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+loop\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool loop\+\_\+h, Eina\+\_\+\+Bool loop\+\_\+v)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+loop\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool}]{loop\+\_\+h, }
\item[{Eina\+\_\+\+Bool}]{loop\+\_\+v}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga14f5995421ee74e9e00e32853a78f94c}


Set an infinite loop\+\_\+ for a scroller. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em loop\+\_\+h} & The scrolling horizontal loop \\
\hline
{\em loop\+\_\+v} & The scrolling vertical loop\\
\hline
\end{DoxyParams}
This function sets the infinite loop horizontally or vertically. If the content is set, it will be shown repeatedly.

\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+get@{elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+get@{elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+get(const Evas\+\_\+\+Object $\ast$obj)}]{\setlength{\rightskip}{0pt plus 5cm}Elm\+\_\+\+Scroller\+\_\+\+Movement\+\_\+\+Block elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga1562e7f98ed272cc658627c8b7b08e59}


Get a scroller\textquotesingle{}s scroll blocking state. 


\begin{DoxyParams}{Parameters}
{\em parent} & The scroller object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The blocking state
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_gac58a4f506d7fbc84a868e56bf6aec1bc}{elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+set()} for more details 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+set@{elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+set}}
\index{elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+set@{elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+set}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Scroller\+\_\+\+Movement\+\_\+\+Block block)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+movement\+\_\+block\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Elm\+\_\+\+Scroller\+\_\+\+Movement\+\_\+\+Block}]{block}
\end{DoxyParamCaption}
)}\label{group__Scroller_gac58a4f506d7fbc84a868e56bf6aec1bc}


Set blocking of scrolling (per axis) on a given scroller. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em block} & The axis to block\\
\hline
\end{DoxyParams}
This function will block scrolling movement (by input of a user) in a given direction. One can disable movements in the X axis, the Y axis or both. The default value is \#\+E\+L\+M\+\_\+\+S\+C\+R\+O\+L\+L\+E\+R\+\_\+\+M\+O\+V\+E\+M\+E\+N\+T\+\_\+\+N\+O\+\_\+\+B\+L\+O\+C\+K, where movements are allowed in both directions.

What makes this function different from \hyperlink{group__Scrollhints_ga8f0c08f3e7e62191c9635b0a0bfce82b}{elm\+\_\+object\+\_\+scroll\+\_\+freeze\+\_\+push()}, \hyperlink{group__Scrollhints_ga78a8be314f38d32af65ed2e377ca8cd9}{elm\+\_\+object\+\_\+scroll\+\_\+hold\+\_\+push()} and \hyperlink{group__Scrollhints_ga89f6f3eb8329f9e2769f746f2ea4e9de}{elm\+\_\+object\+\_\+scroll\+\_\+lock\+\_\+x\+\_\+set()} (or \hyperlink{group__Scrollhints_ga2921fe28d0d7109341b6f9d6e5571e31}{elm\+\_\+object\+\_\+scroll\+\_\+lock\+\_\+y\+\_\+set()}) is that it {\bfseries doesn\textquotesingle{}t} propagate its effects to any parent or child widget of {\itshape obj}. Only the target scrollable widget will be locked with regard to scrolling.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+page\+\_\+bring\+\_\+in@{elm\+\_\+scroller\+\_\+page\+\_\+bring\+\_\+in}}
\index{elm\+\_\+scroller\+\_\+page\+\_\+bring\+\_\+in@{elm\+\_\+scroller\+\_\+page\+\_\+bring\+\_\+in}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+page\+\_\+bring\+\_\+in(\+Evas\+\_\+\+Object $\ast$obj, int h\+\_\+pagenumber, int v\+\_\+pagenumber)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+page\+\_\+bring\+\_\+in (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{int}]{h\+\_\+pagenumber, }
\item[{int}]{v\+\_\+pagenumber}
\end{DoxyParamCaption}
)}\label{group__Scroller_gae42eafda4e1d7ad8b76ee9350e4d6cfb}


Show a specific virtual region within the scroller content object by page number. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em h\+\_\+pagenumber} & The horizontal page number \\
\hline
{\em v\+\_\+pagenumber} & The vertical page number\\
\hline
\end{DoxyParams}
0, 0 of the indicated page is located at the top-\/left of the viewport. This will slide to the page with animation.

Example of usage\+:


\begin{DoxyCode}
1 sc = elm\_scroller\_add(win);
2 elm\_object\_content\_set(sc, content);
3 elm\_scroller\_page\_relative\_set(sc, 1, 0);
4 elm\_scroller\_last\_page\_get(sc, &h\_page, &v\_page);
5 elm\_scroller\_page\_bring\_in(sc, h\_page, v\_page);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_ga23f1e0f70e5026b2e42b27b355c86d1e}{elm\+\_\+scroller\+\_\+page\+\_\+show()} 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+get@{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+get@{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, double $\ast$h\+\_\+pagerel, double $\ast$v\+\_\+pagerel)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{double $\ast$}]{h\+\_\+pagerel, }
\item[{double $\ast$}]{v\+\_\+pagerel}
\end{DoxyParamCaption}
)}\label{group__Scroller_gab4cbd897b985821479ca2d565fb37096}


Get a given scroller widget\textquotesingle{}s scrolling page size, relative to its viewport size. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em h\+\_\+pagerel} & Pointer to a variable where to store the horizontal page (relative) size \\
\hline
{\em v\+\_\+pagerel} & Pointer to a variable where to store the vertical page (relative) size\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_ga3295a1b41dc53d40b6ff5778313eaaa3}{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+set()} for more details
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+7 
\end{DoxySince}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+set@{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+set}}
\index{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+set@{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+set}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, double h\+\_\+pagerel, double v\+\_\+pagerel)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{double}]{h\+\_\+pagerel, }
\item[{double}]{v\+\_\+pagerel}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga3295a1b41dc53d40b6ff5778313eaaa3}


Set scroll page size relative to viewport size. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em h\+\_\+pagerel} & The horizontal page relative size \\
\hline
{\em v\+\_\+pagerel} & The vertical page relative size\\
\hline
\end{DoxyParams}
The scroller is capable of limiting scrolling by the user to \char`\"{}pages\char`\"{}. That is to jump by and only show a \char`\"{}whole page\char`\"{} at a time as if the continuous area of the scroller content is split into page sized pieces. This sets the size of a page relative to the viewport of the scroller. 1.\+0 is \char`\"{}1
viewport\char`\"{} is size (horizontally or vertically). 0.\+0 turns it off in that axis. This is mutually exclusive with page size (see \hyperlink{group__Scroller_gabcad455f129d0607126e66b948b597c3}{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+set()} for more information). Likewise 0.\+5 is \char`\"{}half a viewport\char`\"{}. Sane usable values are normally between 0.\+0 and 1.\+0 including 1.\+0. If you only want 1 axis to be page \char`\"{}limited\char`\"{}, use 0.\+0 for the other axis. \index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+page\+\_\+show@{elm\+\_\+scroller\+\_\+page\+\_\+show}}
\index{elm\+\_\+scroller\+\_\+page\+\_\+show@{elm\+\_\+scroller\+\_\+page\+\_\+show}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+page\+\_\+show(\+Evas\+\_\+\+Object $\ast$obj, int h\+\_\+pagenumber, int v\+\_\+pagenumber)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+page\+\_\+show (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{int}]{h\+\_\+pagenumber, }
\item[{int}]{v\+\_\+pagenumber}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga23f1e0f70e5026b2e42b27b355c86d1e}


Show a specific virtual region within the scroller content object by page number. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em h\+\_\+pagenumber} & The horizontal page number \\
\hline
{\em v\+\_\+pagenumber} & The vertical page number\\
\hline
\end{DoxyParams}
0, 0 of the indicated page is located at the top-\/left of the viewport. This will jump to the page directly without animation.

Example of usage\+:


\begin{DoxyCode}
1 sc = elm\_scroller\_add(win);
2 elm\_object\_content\_set(sc, content);
3 elm\_scroller\_page\_relative\_set(sc, 1, 0);
4 elm\_scroller\_current\_page\_get(sc, &h\_page, &v\_page);
5 elm\_scroller\_page\_show(sc, h\_page + 1, v\_page);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_gae42eafda4e1d7ad8b76ee9350e4d6cfb}{elm\+\_\+scroller\+\_\+page\+\_\+bring\+\_\+in()} 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+get@{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+get@{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord $\ast$h\+\_\+pagesize, Evas\+\_\+\+Coord $\ast$v\+\_\+pagesize)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Evas\+\_\+\+Coord $\ast$}]{h\+\_\+pagesize, }
\item[{Evas\+\_\+\+Coord $\ast$}]{v\+\_\+pagesize}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga9d2d8b2a276e996c964bdcf7effe3744}


Get a scroller widget\textquotesingle{}s current page size. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em h\+\_\+pagesize} & Where to store its horizontal page size \\
\hline
{\em v\+\_\+pagesize} & Where to store its vertical page size\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_gabcad455f129d0607126e66b948b597c3}{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+set()} for more details 

\hyperlink{group__Scroller_ga3295a1b41dc53d40b6ff5778313eaaa3}{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+set()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+7 
\end{DoxySince}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+set@{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+set}}
\index{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+set@{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+set}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord h\+\_\+pagesize, Evas\+\_\+\+Coord v\+\_\+pagesize)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Evas\+\_\+\+Coord}]{h\+\_\+pagesize, }
\item[{Evas\+\_\+\+Coord}]{v\+\_\+pagesize}
\end{DoxyParamCaption}
)}\label{group__Scroller_gabcad455f129d0607126e66b948b597c3}


Set scroll page size. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em h\+\_\+pagesize} & The horizontal page size \\
\hline
{\em v\+\_\+pagesize} & The vertical page size\\
\hline
\end{DoxyParams}
This sets the page size to an absolute fixed value, with 0 turning it off for that axis.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_ga3295a1b41dc53d40b6ff5778313eaaa3}{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+set()} 

\hyperlink{group__Scroller_ga9d2d8b2a276e996c964bdcf7effe3744}{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+get()} 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+get@{elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+get@{elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool $\ast$page\+\_\+h\+\_\+snap, Eina\+\_\+\+Bool $\ast$page\+\_\+v\+\_\+snap)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool $\ast$}]{page\+\_\+h\+\_\+snap, }
\item[{Eina\+\_\+\+Bool $\ast$}]{page\+\_\+v\+\_\+snap}
\end{DoxyParamCaption}
)}\label{group__Scroller_gac56c4f2378765a7a4ded983041f631a4}


Get the page snap behaviour of a scroller. 


\begin{DoxyParams}{Parameters}
{\em obj} & The Scroller object \\
\hline
{\em page\+\_\+h\+\_\+snap} & Will the scroller snap horizontally or not \\
\hline
{\em page\+\_\+v\+\_\+snap} & Will the scroller snap vertically or not\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_ga7af9310c09ff772508dcf7c0fdfe4388}{elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+set()} for more details
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+set@{elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+set}}
\index{elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+set@{elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+set}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool page\+\_\+h\+\_\+snap, Eina\+\_\+\+Bool page\+\_\+v\+\_\+snap)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+page\+\_\+snap\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool}]{page\+\_\+h\+\_\+snap, }
\item[{Eina\+\_\+\+Bool}]{page\+\_\+v\+\_\+snap}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga7af9310c09ff772508dcf7c0fdfe4388}


Set page snapping behavior of a scroller. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em page\+\_\+h\+\_\+snap} & Allow snap horizontally \\
\hline
{\em page\+\_\+v\+\_\+snap} & Allow snap vertically\\
\hline
\end{DoxyParams}
When scrolling, if a scroller is paged (see \hyperlink{group__Scroller_gabcad455f129d0607126e66b948b597c3}{elm\+\_\+scroller\+\_\+page\+\_\+size\+\_\+set()} and \hyperlink{group__Scroller_ga3295a1b41dc53d40b6ff5778313eaaa3}{elm\+\_\+scroller\+\_\+page\+\_\+relative\+\_\+set()}), the scroller may snap to pages when being scrolled, i.\+e., even if it had momentum to scroll further, it will stop at the next page boundaries. This is {\bfseries disabled}, by default, for both axis. This function will set if it that is enabled or not, for each axis.

\begin{DoxyNote}{Note}
If {\itshape obj} is not set to have pages, nothing will happen after this call.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+policy\+\_\+get@{elm\+\_\+scroller\+\_\+policy\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+policy\+\_\+get@{elm\+\_\+scroller\+\_\+policy\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+policy\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Scroller\+\_\+\+Policy $\ast$policy\+\_\+h, Elm\+\_\+\+Scroller\+\_\+\+Policy $\ast$policy\+\_\+v)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+policy\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Elm\+\_\+\+Scroller\+\_\+\+Policy $\ast$}]{policy\+\_\+h, }
\item[{Elm\+\_\+\+Scroller\+\_\+\+Policy $\ast$}]{policy\+\_\+v}
\end{DoxyParamCaption}
)}\label{group__Scroller_gae5d37ebf0a5540326b2b56ae41f24c97}


Get scrollbar visibility policy. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em policy\+\_\+h} & Horizontal scrollbar policy \\
\hline
{\em policy\+\_\+v} & Vertical scrollbar policy\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_ga4105c0d6adca64ed3d38e7e4116b09e4}{elm\+\_\+scroller\+\_\+policy\+\_\+set()} 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+policy\+\_\+set@{elm\+\_\+scroller\+\_\+policy\+\_\+set}}
\index{elm\+\_\+scroller\+\_\+policy\+\_\+set@{elm\+\_\+scroller\+\_\+policy\+\_\+set}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+policy\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Scroller\+\_\+\+Policy policy\+\_\+h, Elm\+\_\+\+Scroller\+\_\+\+Policy policy\+\_\+v)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+policy\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Elm\+\_\+\+Scroller\+\_\+\+Policy}]{policy\+\_\+h, }
\item[{Elm\+\_\+\+Scroller\+\_\+\+Policy}]{policy\+\_\+v}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga4105c0d6adca64ed3d38e7e4116b09e4}


Set the scrollbar visibility policy. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em policy\+\_\+h} & Horizontal scrollbar policy \\
\hline
{\em policy\+\_\+v} & Vertical scrollbar policy\\
\hline
\end{DoxyParams}
This sets the scrollbar visibility policy for the given scroller. \#\+E\+L\+M\+\_\+\+S\+C\+R\+O\+L\+L\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+A\+U\+T\+O means the scrollbar is made visible if it is needed, and otherwise kept hidden. \#\+E\+L\+M\+\_\+\+S\+C\+R\+O\+L\+L\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+N turns it on all the time, and \#\+E\+L\+M\+\_\+\+S\+C\+R\+O\+L\+L\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+F\+F always keeps it off. This applies respectively for the horizontal and vertical scrollbars. 

Referenced by elm\+\_\+color\+\_\+class\+\_\+editor\+\_\+add().

\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+region\+\_\+bring\+\_\+in@{elm\+\_\+scroller\+\_\+region\+\_\+bring\+\_\+in}}
\index{elm\+\_\+scroller\+\_\+region\+\_\+bring\+\_\+in@{elm\+\_\+scroller\+\_\+region\+\_\+bring\+\_\+in}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+region\+\_\+bring\+\_\+in(\+Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y, Evas\+\_\+\+Coord w, Evas\+\_\+\+Coord h)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+region\+\_\+bring\+\_\+in (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Evas\+\_\+\+Coord}]{x, }
\item[{Evas\+\_\+\+Coord}]{y, }
\item[{Evas\+\_\+\+Coord}]{w, }
\item[{Evas\+\_\+\+Coord}]{h}
\end{DoxyParamCaption}
)}\label{group__Scroller_gad207401a81a1b57b67a5790b8d7f131c}


Show a specific virtual region within the scroller content object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em x} & X coordinate of the region \\
\hline
{\em y} & Y coordinate of the region \\
\hline
{\em w} & Width of the region \\
\hline
{\em h} & Height of the region\\
\hline
\end{DoxyParams}
This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-\/left of the virtual content object) is shown within the scroller. Unlike \hyperlink{group__Scroller_ga50e68aa62753b2d1f5b63d072cd74215}{elm\+\_\+scroller\+\_\+region\+\_\+show()}, this allow the scroller to \char`\"{}smoothly slide\char`\"{} to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_ga50e68aa62753b2d1f5b63d072cd74215}{elm\+\_\+scroller\+\_\+region\+\_\+show()} 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+region\+\_\+get@{elm\+\_\+scroller\+\_\+region\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+region\+\_\+get@{elm\+\_\+scroller\+\_\+region\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+region\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord $\ast$x, Evas\+\_\+\+Coord $\ast$y, Evas\+\_\+\+Coord $\ast$w, Evas\+\_\+\+Coord $\ast$h)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+region\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Evas\+\_\+\+Coord $\ast$}]{x, }
\item[{Evas\+\_\+\+Coord $\ast$}]{y, }
\item[{Evas\+\_\+\+Coord $\ast$}]{w, }
\item[{Evas\+\_\+\+Coord $\ast$}]{h}
\end{DoxyParamCaption}
)}\label{group__Scroller_gac5b7e4c368b3b0b1187b20c904d139c7}


Get the currently visible content region. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em x} & X coordinate of the region \\
\hline
{\em y} & Y coordinate of the region \\
\hline
{\em w} & Width of the region \\
\hline
{\em h} & Height of the region\\
\hline
\end{DoxyParams}
This gets the current region in the content object that is visible through the scroller. The region co-\/ordinates are returned in the {\ttfamily x}, {\ttfamily y}, {\ttfamily w}, {\ttfamily h} values pointed to.

\begin{DoxyNote}{Note}
All coordinates are relative to the content.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_ga50e68aa62753b2d1f5b63d072cd74215}{elm\+\_\+scroller\+\_\+region\+\_\+show()} 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+region\+\_\+show@{elm\+\_\+scroller\+\_\+region\+\_\+show}}
\index{elm\+\_\+scroller\+\_\+region\+\_\+show@{elm\+\_\+scroller\+\_\+region\+\_\+show}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+region\+\_\+show(\+Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y, Evas\+\_\+\+Coord w, Evas\+\_\+\+Coord h)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+region\+\_\+show (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Evas\+\_\+\+Coord}]{x, }
\item[{Evas\+\_\+\+Coord}]{y, }
\item[{Evas\+\_\+\+Coord}]{w, }
\item[{Evas\+\_\+\+Coord}]{h}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga50e68aa62753b2d1f5b63d072cd74215}


Show a specific virtual region within the scroller content object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em x} & X coordinate of the region \\
\hline
{\em y} & Y coordinate of the region \\
\hline
{\em w} & Width of the region \\
\hline
{\em h} & Height of the region\\
\hline
\end{DoxyParams}
This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-\/left of the virtual content object) is shown within the scroller. \index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+get@{elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+get@{elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+get(const Evas\+\_\+\+Object $\ast$obj)}]{\setlength{\rightskip}{0pt plus 5cm}Elm\+\_\+\+Scroller\+\_\+\+Single\+\_\+\+Direction elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Scroller_gaf6a0ff5ba8c853a6c253fc90dc89be32}


Get the type of single direction scroll. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the type of single direction
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_gaf6a0ff5ba8c853a6c253fc90dc89be32}{elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+set@{elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+set}}
\index{elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+set@{elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+set}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Elm\+\_\+\+Scroller\+\_\+\+Single\+\_\+\+Direction single\+\_\+dir)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Elm\+\_\+\+Scroller\+\_\+\+Single\+\_\+\+Direction}]{single\+\_\+dir}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga1a3084528e4977fa8a3abb1201845110}


Set the type of single direction scroll. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em single\+\_\+dir} & The type of single direction\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_gaf6a0ff5ba8c853a6c253fc90dc89be32}{elm\+\_\+scroller\+\_\+single\+\_\+direction\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+get@{elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+get@{elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+get(const Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord $\ast$x, Evas\+\_\+\+Coord $\ast$y)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Evas\+\_\+\+Coord $\ast$}]{x, }
\item[{Evas\+\_\+\+Coord $\ast$}]{y}
\end{DoxyParamCaption}
)}\label{group__Scroller_gafbcf59e7453b9814ced6bb58074becad}


Get the current step size of the scroller object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em x} & Where to store its x axis step size \\
\hline
{\em y} & Where to store its y axis step size\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_gadb33e83874d73c17e9b06d9ee81978ee}{elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+set()} for more details
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+13 
\end{DoxySince}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+set@{elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+set}}
\index{elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+set@{elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+set}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Evas\+\_\+\+Coord}]{x, }
\item[{Evas\+\_\+\+Coord}]{y}
\end{DoxyParamCaption}
)}\label{group__Scroller_gadb33e83874d73c17e9b06d9ee81978ee}


Set scroll step size. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em x} & The horizontal step size \\
\hline
{\em y} & The vertical step size\\
\hline
\end{DoxyParams}
This sets the step size to move scroller by key event.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_gafbcf59e7453b9814ced6bb58074becad}{elm\+\_\+scroller\+\_\+step\+\_\+size\+\_\+get()} for more details
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+13 
\end{DoxySince}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+get@{elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+get}}
\index{elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+get@{elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+get}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+get(const Evas\+\_\+\+Object $\ast$obj)}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga27a99ce180d8423c8b46ce807bf0e514}


Get a value whether mouse wheel is enabled or not over the scroller. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} means scroller wheel is disabled. {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} indicates it is enabled.
\end{DoxyReturn}
Mouse wheel can be used to scroll up and down the scroller.

\begin{DoxySince}{Since}
1.\+15
\end{DoxySince}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_ga73234d758f55002654c5f3b31563a67b}{elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+set()} 
\end{DoxySeeAlso}
\index{Scroller@{Scroller}!elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+set@{elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+set}}
\index{elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+set@{elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+set}!Scroller@{Scroller}}
\subsubsection[{elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Eina\+\_\+\+Bool disabled)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool}]{disabled}
\end{DoxyParamCaption}
)}\label{group__Scroller_ga73234d758f55002654c5f3b31563a67b}


Enable or disable mouse wheel to be used to scroll the scroller. 


\begin{DoxyParams}{Parameters}
{\em obj} & The scroller object \\
\hline
{\em disabled} & The mouse wheel disabled over the scroller.\\
\hline
\end{DoxyParams}
Mouse wheel can be used to scroll up and down the scroller. Wheel is enabled by default.

\begin{DoxySince}{Since}
1.\+15
\end{DoxySince}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Scroller_ga27a99ce180d8423c8b46ce807bf0e514}{elm\+\_\+scroller\+\_\+wheel\+\_\+disabled\+\_\+get()} 
\end{DoxySeeAlso}
