\section{elm\+:\+:segment\+\_\+control Struct Reference}
\label{structelm_1_1segment__control}\index{elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}}


Class \hyperlink{structelm_1_1segment__control}{segment\+\_\+control}.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structelm_1_1segment__control_ad54e782c3a81dfbeb2741ef47da909f8}{segment\+\_\+control} (Eo $\ast$eo)
\begin{DoxyCompactList}\small\item\em Eo Constructor. \end{DoxyCompactList}\item 
\hyperlink{structelm_1_1segment__control_ac8e393b9356118d61e15085154d167e1}{segment\+\_\+control} (std\+::nullptr\+\_\+t)
\begin{DoxyCompactList}\small\item\em nullptr\+\_\+t Constructor. \end{DoxyCompactList}\item 
\hyperlink{structelm_1_1segment__control_af8b5df7bdc0afa593c6a89982b4c21e0}{segment\+\_\+control} (\hyperlink{structelm_1_1segment__control}{segment\+\_\+control} const \&other)\label{structelm_1_1segment__control_af8b5df7bdc0afa593c6a89982b4c21e0}

\begin{DoxyCompactList}\small\item\em Copy Constructor. \end{DoxyCompactList}\item 
\+::efl\+::eina\+::string\+\_\+view \hyperlink{structelm_1_1segment__control_aebe4770b86aecf35ab1a0e2d8ac2c2e6}{item\+\_\+label\+\_\+get} (int idx\+\_\+) const 
\item 
\+::\hyperlink{structelm_1_1widget__item}{elm\+::widget\+\_\+item} \hyperlink{structelm_1_1segment__control_adb46052ee060915e0c3c82b1edf04382}{item\+\_\+insert\+\_\+at} (\+::evas\+::object icon\+\_\+,\+::efl\+::eina\+::optional$<$ \+::efl\+::eina\+::string\+\_\+view $>$ label\+\_\+, int idx\+\_\+) const 
\item 
\+::\hyperlink{structelm_1_1widget__item}{elm\+::widget\+\_\+item} \hyperlink{structelm_1_1segment__control_a18586eba4c57d22f4b7e7542d393218e}{item\+\_\+get} (int idx\+\_\+) const 
\item 
void \hyperlink{structelm_1_1segment__control_ab4f35e70d50e0f01277944c4da7aa37d}{item\+\_\+del\+\_\+at} (int idx\+\_\+) const 
\item 
\+::\hyperlink{structelm_1_1widget__item}{elm\+::widget\+\_\+item} \hyperlink{structelm_1_1segment__control_a618fdb9083723d488b125783604691e3}{item\+\_\+add} (\+::evas\+::object icon\+\_\+,\+::efl\+::eina\+::optional$<$ \+::efl\+::eina\+::string\+\_\+view $>$ label\+\_\+) const 
\item 
\+::evas\+::object \hyperlink{structelm_1_1segment__control_a3f976c2e8f194e52d71010e870a7e2b4}{item\+\_\+icon\+\_\+get} (int idx\+\_\+) const 
\end{DoxyCompactItemize}
{\bf }\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{structelm_1_1segment__control_aba6bbd9895a8bd44cc2d6a95aad5cec4}{segment\+\_\+control} (\+::efl\+::eo\+::parent\+\_\+type \+\_\+p)
\begin{DoxyCompactList}\small\item\em Constructs a new \hyperlink{structelm_1_1segment__control}{elm\+::segment\+\_\+control} object. \end{DoxyCompactList}\end{DoxyCompactItemize}



\subsection{Detailed Description}
Class \hyperlink{structelm_1_1segment__control}{segment\+\_\+control}. 

\subsection{Constructor \& Destructor Documentation}
\index{elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}!segment\+\_\+control@{segment\+\_\+control}}
\index{segment\+\_\+control@{segment\+\_\+control}!elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}}
\subsubsection[{\texorpdfstring{segment\+\_\+control(\+::efl\+::eo\+::parent\+\_\+type \+\_\+p)}{segment_control(::efl::eo::parent_type _p)}}]{\setlength{\rightskip}{0pt plus 5cm}elm\+::segment\+\_\+control\+::segment\+\_\+control (
\begin{DoxyParamCaption}
\item[{\+::efl\+::eo\+::parent\+\_\+type}]{\+\_\+p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}\label{structelm_1_1segment__control_aba6bbd9895a8bd44cc2d6a95aad5cec4}


Constructs a new \hyperlink{structelm_1_1segment__control}{elm\+::segment\+\_\+control} object. 

Constructs a new \hyperlink{structelm_1_1segment__control}{elm\+::segment\+\_\+control} object. If you want this object to be a child of another Eo object, use an efl\+::eo\+::parent expression, like the example.

Example\+: 
\begin{DoxyCode}
elm::segment_control my\_segment\_control(efl::eo::parent = parent\_object);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{structelm_1_1segment__control_ad54e782c3a81dfbeb2741ef47da909f8}{segment\+\_\+control(\+Eo$\ast$ eo)} 
\end{DoxySeeAlso}
\index{elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}!segment\+\_\+control@{segment\+\_\+control}}
\index{segment\+\_\+control@{segment\+\_\+control}!elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}}
\subsubsection[{\texorpdfstring{segment\+\_\+control(\+Eo $\ast$eo)}{segment_control(Eo *eo)}}]{\setlength{\rightskip}{0pt plus 5cm}elm\+::segment\+\_\+control\+::segment\+\_\+control (
\begin{DoxyParamCaption}
\item[{Eo $\ast$}]{eo}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}\label{structelm_1_1segment__control_ad54e782c3a81dfbeb2741ef47da909f8}


Eo Constructor. 

Constructs the object from an Eo$\ast$ pointer stealing its ownership.


\begin{DoxyParams}{Parameters}
{\em eo} & The Eo object pointer. \\
\hline
\end{DoxyParams}
\index{elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}!segment\+\_\+control@{segment\+\_\+control}}
\index{segment\+\_\+control@{segment\+\_\+control}!elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}}
\subsubsection[{\texorpdfstring{segment\+\_\+control(std\+::nullptr\+\_\+t)}{segment_control(std::nullptr_t)}}]{\setlength{\rightskip}{0pt plus 5cm}elm\+::segment\+\_\+control\+::segment\+\_\+control (
\begin{DoxyParamCaption}
\item[{std\+::nullptr\+\_\+t}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}\label{structelm_1_1segment__control_ac8e393b9356118d61e15085154d167e1}


nullptr\+\_\+t Constructor. 

Constructs an empty (null) object. 

\subsection{Member Function Documentation}
\index{elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}!item\+\_\+add@{item\+\_\+add}}
\index{item\+\_\+add@{item\+\_\+add}!elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}}
\subsubsection[{\texorpdfstring{item\+\_\+add(\+::evas\+::object icon\+\_\+,\+::efl\+::eina\+::optional$<$ \+::efl\+::eina\+::string\+\_\+view $>$ label\+\_\+) const }{item_add(::evas::object icon_,::efl::eina::optional< ::efl::eina::string_view > label_) const }}]{\setlength{\rightskip}{0pt plus 5cm}\+::{\bf elm\+::widget\+\_\+item} elm\+::segment\+\_\+control\+::item\+\_\+add (
\begin{DoxyParamCaption}
\item[{\+::evas\+::object}]{icon\+\_\+, }
\item[{\+::efl\+::eina\+::optional$<$ \+::efl\+::eina\+::string\+\_\+view $>$}]{label\+\_\+}
\end{DoxyParamCaption}
) const}\label{structelm_1_1segment__control_a618fdb9083723d488b125783604691e3}

\begin{DoxyParams}{Parameters}
{\em icon} & \\
\hline
{\em label} & \\
\hline
\end{DoxyParams}
\index{elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}!item\+\_\+del\+\_\+at@{item\+\_\+del\+\_\+at}}
\index{item\+\_\+del\+\_\+at@{item\+\_\+del\+\_\+at}!elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}}
\subsubsection[{\texorpdfstring{item\+\_\+del\+\_\+at(int idx\+\_\+) const }{item_del_at(int idx_) const }}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+::segment\+\_\+control\+::item\+\_\+del\+\_\+at (
\begin{DoxyParamCaption}
\item[{int}]{idx\+\_\+}
\end{DoxyParamCaption}
) const}\label{structelm_1_1segment__control_ab4f35e70d50e0f01277944c4da7aa37d}

\begin{DoxyParams}{Parameters}
{\em idx} & \\
\hline
\end{DoxyParams}
\index{elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}!item\+\_\+get@{item\+\_\+get}}
\index{item\+\_\+get@{item\+\_\+get}!elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}}
\subsubsection[{\texorpdfstring{item\+\_\+get(int idx\+\_\+) const }{item_get(int idx_) const }}]{\setlength{\rightskip}{0pt plus 5cm}\+::{\bf elm\+::widget\+\_\+item} elm\+::segment\+\_\+control\+::item\+\_\+get (
\begin{DoxyParamCaption}
\item[{int}]{idx\+\_\+}
\end{DoxyParamCaption}
) const}\label{structelm_1_1segment__control_a18586eba4c57d22f4b7e7542d393218e}

\begin{DoxyParams}{Parameters}
{\em idx} & \\
\hline
\end{DoxyParams}
\index{elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}!item\+\_\+icon\+\_\+get@{item\+\_\+icon\+\_\+get}}
\index{item\+\_\+icon\+\_\+get@{item\+\_\+icon\+\_\+get}!elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}}
\subsubsection[{\texorpdfstring{item\+\_\+icon\+\_\+get(int idx\+\_\+) const }{item_icon_get(int idx_) const }}]{\setlength{\rightskip}{0pt plus 5cm}\+::evas\+::object elm\+::segment\+\_\+control\+::item\+\_\+icon\+\_\+get (
\begin{DoxyParamCaption}
\item[{int}]{idx\+\_\+}
\end{DoxyParamCaption}
) const}\label{structelm_1_1segment__control_a3f976c2e8f194e52d71010e870a7e2b4}

\begin{DoxyParams}{Parameters}
{\em idx} & \\
\hline
\end{DoxyParams}
\index{elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}!item\+\_\+insert\+\_\+at@{item\+\_\+insert\+\_\+at}}
\index{item\+\_\+insert\+\_\+at@{item\+\_\+insert\+\_\+at}!elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}}
\subsubsection[{\texorpdfstring{item\+\_\+insert\+\_\+at(\+::evas\+::object icon\+\_\+,\+::efl\+::eina\+::optional$<$ \+::efl\+::eina\+::string\+\_\+view $>$ label\+\_\+, int idx\+\_\+) const }{item_insert_at(::evas::object icon_,::efl::eina::optional< ::efl::eina::string_view > label_, int idx_) const }}]{\setlength{\rightskip}{0pt plus 5cm}\+::{\bf elm\+::widget\+\_\+item} elm\+::segment\+\_\+control\+::item\+\_\+insert\+\_\+at (
\begin{DoxyParamCaption}
\item[{\+::evas\+::object}]{icon\+\_\+, }
\item[{\+::efl\+::eina\+::optional$<$ \+::efl\+::eina\+::string\+\_\+view $>$}]{label\+\_\+, }
\item[{int}]{idx\+\_\+}
\end{DoxyParamCaption}
) const}\label{structelm_1_1segment__control_adb46052ee060915e0c3c82b1edf04382}

\begin{DoxyParams}{Parameters}
{\em icon} & \\
\hline
{\em label} & \\
\hline
{\em idx} & \\
\hline
\end{DoxyParams}
\index{elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}!item\+\_\+label\+\_\+get@{item\+\_\+label\+\_\+get}}
\index{item\+\_\+label\+\_\+get@{item\+\_\+label\+\_\+get}!elm\+::segment\+\_\+control@{elm\+::segment\+\_\+control}}
\subsubsection[{\texorpdfstring{item\+\_\+label\+\_\+get(int idx\+\_\+) const }{item_label_get(int idx_) const }}]{\setlength{\rightskip}{0pt plus 5cm}\+::efl\+::eina\+::string\+\_\+view elm\+::segment\+\_\+control\+::item\+\_\+label\+\_\+get (
\begin{DoxyParamCaption}
\item[{int}]{idx\+\_\+}
\end{DoxyParamCaption}
) const}\label{structelm_1_1segment__control_aebe4770b86aecf35ab1a0e2d8ac2c2e6}

\begin{DoxyParams}{Parameters}
{\em idx} & \\
\hline
\end{DoxyParams}
