\section{Elementary Prefs}
\label{group__Elm__Prefs}\index{Elementary Prefs@{Elementary Prefs}}


Elementary provides a prefs (for \char`\"{}preferences\char`\"{}) infrastructure, which consists of two sets of A\+P\+Is\+:  


\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Elm__Prefs_ga7e551f36382f52a23a00491096e50aaf}{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+A\+G\+E\+\_\+\+C\+H\+A\+N\+G\+ED}~(\&(\+\_\+\+E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+A\+G\+E\+\_\+\+C\+H\+A\+N\+G\+ED))\label{group__Elm__Prefs_ga7e551f36382f52a23a00491096e50aaf}

\begin{DoxyCompactList}\small\item\em s \end{DoxyCompactList}\item 
\#define \hyperlink{group__Elm__Prefs_ga4d22adec6c62a90824087df3ab955de9}{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+A\+G\+E\+\_\+\+S\+A\+V\+ED}~(\&(\+\_\+\+E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+A\+G\+E\+\_\+\+S\+A\+V\+ED))\label{group__Elm__Prefs_ga4d22adec6c62a90824087df3ab955de9}

\begin{DoxyCompactList}\small\item\em s \end{DoxyCompactList}\item 
\#define \hyperlink{group__Elm__Prefs_ga2f041d8d25f1ad626a6a475f5615c48c}{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+A\+G\+E\+\_\+\+R\+E\+S\+ET}~(\&(\+\_\+\+E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+A\+G\+E\+\_\+\+R\+E\+S\+ET))\label{group__Elm__Prefs_ga2f041d8d25f1ad626a6a475f5615c48c}

\begin{DoxyCompactList}\small\item\em s \end{DoxyCompactList}\item 
\#define \hyperlink{group__Elm__Prefs_ga91cf0abd1ec78e6697fb02437b64f489}{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+A\+G\+E\+\_\+\+L\+O\+A\+D\+ED}~(\&(\+\_\+\+E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+A\+G\+E\+\_\+\+L\+O\+A\+D\+ED))\label{group__Elm__Prefs_ga91cf0abd1ec78e6697fb02437b64f489}

\begin{DoxyCompactList}\small\item\em s \end{DoxyCompactList}\item 
\#define \hyperlink{group__Elm__Prefs_ga5415bef6ae304d4d532eca0583eb0325}{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED}~(\&(\+\_\+\+E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED))\label{group__Elm__Prefs_ga5415bef6ae304d4d532eca0583eb0325}

\begin{DoxyCompactList}\small\item\em s \end{DoxyCompactList}\item 
\#define \hyperlink{group__Elm__Prefs_gaf421428c8cbe93906786ed9dba2e368f}{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+E\+V\+E\+N\+T\+\_\+\+A\+C\+T\+I\+ON}~(\&(\+\_\+\+E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+E\+V\+E\+N\+T\+\_\+\+A\+C\+T\+I\+ON))\label{group__Elm__Prefs_gaf421428c8cbe93906786ed9dba2e368f}

\begin{DoxyCompactList}\small\item\em ss \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef enum \hyperlink{group__Elm__Prefs_ga1cc357f952ededa3d8743bb9bedc2549}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type} \hyperlink{group__Elm__Prefs_ga1b10884ca8cd0b3626f437aad775e2f5}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}
\begin{DoxyCompactList}\small\item\em Elm Prefs item types. \end{DoxyCompactList}\item 
typedef struct \+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Data \hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}
\begin{DoxyCompactList}\small\item\em An Elm Prefs Data handle. \end{DoxyCompactList}\item 
typedef struct \+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed \hyperlink{group__Elm__Prefs_gac195106489391e7d3d46d4b81636539e}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed}
\begin{DoxyCompactList}\small\item\em An Elm Prefs \hyperlink{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a2d063dae5719dca11f5f458042e2bfca}{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED} event info data blob. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga8758d173b841d9e3d7652b14120d73a7}{elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+set} (\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$data)
\begin{DoxyCompactList}\small\item\em Set user data for a given prefs widget. \end{DoxyCompactList}\item 
E\+O\+A\+PI \hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$ \hyperlink{group__Elm__Prefs_ga655edea20ec6d9314ab8f8273cff187d}{elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Set user data for a given prefs widget. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Prefs_ga45d22111f8a6980bd8c422d084c9b7ca}{elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+set} (Eina\+\_\+\+Bool autosave)
\begin{DoxyCompactList}\small\item\em Control whether a given prefs widget should save its values back (on the user data file, if set) automatically on every UI element changes. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga3bb08a02153ee2950e071d60af0ef752}{elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Control whether a given prefs widget should save its values back (on the user data file, if set) automatically on every UI element changes. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Prefs_gaaa43890c0d465d51087569330801a1bb}{elm\+\_\+obj\+\_\+prefs\+\_\+reset} (\hyperlink{group__Prefs_ga15d0fab20f5ec2f85fd628c25e5b62e0}{Elm\+\_\+\+Prefs\+\_\+\+Reset\+\_\+\+Mode} mode)
\begin{DoxyCompactList}\small\item\em Reset the values of a given prefs widget to a previous state. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga5f7fa008248fcf98c2ff2e1f0a1711b7}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set} (const char $\ast$name, const Eina\+\_\+\+Value $\ast$value)
\begin{DoxyCompactList}\small\item\em Set the value on a given prefs widget\textquotesingle{}s item. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_gad73155fb47d5ef1caac36f94bc03c2ac}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get} (const char $\ast$name, Eina\+\_\+\+Value $\ast$value)
\begin{DoxyCompactList}\small\item\em Get the value of a given prefs widget\textquotesingle{}s item. \end{DoxyCompactList}\item 
E\+O\+A\+PI const Evas\+\_\+\+Object $\ast$ \hyperlink{group__Elm__Prefs_gaed85a599dde3a3da425a7b1c01bdc861}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Get the Elementary widget bound to a given prefs widget\textquotesingle{}s item. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Prefs_ga500e580dec675ecf34aba8041fe638df}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set} (const char $\ast$name, Eina\+\_\+\+Bool disabled)
\begin{DoxyCompactList}\small\item\em Set whether the widget bound to a given prefs widget\textquotesingle{}s item is disabled or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga7a81ad2e75ca86d57f65fb851cbc0300}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Get whether the widget bound to a given prefs widget\textquotesingle{}s item is disabled or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga6b6bda358b28055bf3051ce14f1a21a5}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+swallow} (const char $\ast$name, Evas\+\_\+\+Object $\ast$child)
\begin{DoxyCompactList}\small\item\em \char`\"{}\+Swallows\char`\"{} an object into a S\+W\+A\+L\+L\+OW item of a prefs widget. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Prefs_ga1bfdd021281a248031c8ebb591f170f8}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set} (const char $\ast$name, Eina\+\_\+\+Bool editable)
\begin{DoxyCompactList}\small\item\em Set whether the widget bound to a given prefs widget\textquotesingle{}s item is editable or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga95d0b4184bb6b9cbcf6d9f21ac3229db}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Get whether the widget bound to a given prefs widget\textquotesingle{}s item is editable or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI Evas\+\_\+\+Object $\ast$ \hyperlink{group__Elm__Prefs_ga5b6957fe5b2d7bd1f34ca2652dad4993}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+unswallow} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Unswallow an object from a S\+W\+A\+L\+L\+OW item of a prefs widget. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Prefs_gaad772fecf7ed9d798f9abdd35499e842}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set} (const char $\ast$name, Eina\+\_\+\+Bool visible)
\begin{DoxyCompactList}\small\item\em Set whether the widget bound to given prefs widget\textquotesingle{}s item should be visible or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_gaf0026ade56dd6cb1bfea21d56d815da8}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Get whether the widget bound to a given prefs widget\textquotesingle{}s item is visible or not. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga0f8265b17c3ba8a0cead439ada991fe2}{elm\+\_\+prefs\+\_\+data\+\_\+set} (Elm\+\_\+\+Prefs $\ast$obj, \hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$data)
\begin{DoxyCompactList}\small\item\em Set user data for a given prefs widget. \end{DoxyCompactList}\item 
\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$ \hyperlink{group__Elm__Prefs_gae43d20852f4e15f49b71c837c0e32c32}{elm\+\_\+prefs\+\_\+data\+\_\+get} (const Elm\+\_\+\+Prefs $\ast$obj)
\begin{DoxyCompactList}\small\item\em Set user data for a given prefs widget. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Prefs_ga647d0d59b675cd302ca3bbd76a7c9c84}{elm\+\_\+prefs\+\_\+autosave\+\_\+set} (Elm\+\_\+\+Prefs $\ast$obj, Eina\+\_\+\+Bool autosave)
\begin{DoxyCompactList}\small\item\em Control whether a given prefs widget should save its values back (on the user data file, if set) automatically on every UI element changes. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga908b3b3a7fcf188c00732a53fa414c09}{elm\+\_\+prefs\+\_\+autosave\+\_\+get} (const Elm\+\_\+\+Prefs $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control whether a given prefs widget should save its values back (on the user data file, if set) automatically on every UI element changes. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Prefs_ga7ea163672578b75174eccc016903fd98}{elm\+\_\+prefs\+\_\+reset} (Elm\+\_\+\+Prefs $\ast$obj, \hyperlink{group__Prefs_ga15d0fab20f5ec2f85fd628c25e5b62e0}{Elm\+\_\+\+Prefs\+\_\+\+Reset\+\_\+\+Mode} mode)
\begin{DoxyCompactList}\small\item\em Reset the values of a given prefs widget to a previous state. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga2f7eda4e6d18f9dba4d8939492db1ad0}{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set} (Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name, const Eina\+\_\+\+Value $\ast$value)
\begin{DoxyCompactList}\small\item\em Set the value on a given prefs widget\textquotesingle{}s item. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_gafac54e900317874a1bdd46405fdfd6fd}{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get} (const Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name, Eina\+\_\+\+Value $\ast$value)
\begin{DoxyCompactList}\small\item\em Get the value of a given prefs widget\textquotesingle{}s item. \end{DoxyCompactList}\item 
const Evas\+\_\+\+Object $\ast$ \hyperlink{group__Elm__Prefs_ga2d39a06a2456eb2c16949996c0f3d9f9}{elm\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get} (Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Get the Elementary widget bound to a given prefs widget\textquotesingle{}s item. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Prefs_ga69016b9b4d4056daa484399bd81e3901}{elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set} (Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name, Eina\+\_\+\+Bool disabled)
\begin{DoxyCompactList}\small\item\em Set whether the widget bound to a given prefs widget\textquotesingle{}s item is disabled or not. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_gae419ce29ff424f9fe734703b42b9119e}{elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get} (const Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Get whether the widget bound to a given prefs widget\textquotesingle{}s item is disabled or not. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_gace138f2e0e4d0b7a789a683d83033e27}{elm\+\_\+prefs\+\_\+item\+\_\+swallow} (Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name, Evas\+\_\+\+Object $\ast$child)
\begin{DoxyCompactList}\small\item\em \char`\"{}\+Swallows\char`\"{} an object into a S\+W\+A\+L\+L\+OW item of a prefs widget. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Prefs_ga9a187b4783ee17049e0c08d10c5fc95c}{elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set} (Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name, Eina\+\_\+\+Bool editable)
\begin{DoxyCompactList}\small\item\em Set whether the widget bound to a given prefs widget\textquotesingle{}s item is editable or not. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga601b6e0543289bb592cf3748ed83f13f}{elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get} (const Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Get whether the widget bound to a given prefs widget\textquotesingle{}s item is editable or not. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Elm__Prefs_ga0905c04e1d826b95c34ebbac13bc8f17}{elm\+\_\+prefs\+\_\+item\+\_\+unswallow} (Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Unswallow an object from a S\+W\+A\+L\+L\+OW item of a prefs widget. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Prefs_gaf025c4a0d6d5fb9a39634f5b7da915b5}{elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set} (Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name, Eina\+\_\+\+Bool visible)
\begin{DoxyCompactList}\small\item\em Set whether the widget bound to given prefs widget\textquotesingle{}s item should be visible or not. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga18244d071c11db73dc73755a89ef74c5}{elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get} (const Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Get whether the widget bound to a given prefs widget\textquotesingle{}s item is visible or not. \end{DoxyCompactList}\item 
\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$ \hyperlink{group__Elm__Prefs_ga58895cf0ae0fd70db018fbe8eb7ba5c2}{elm\+\_\+prefs\+\_\+data\+\_\+new} (const char $\ast$data\+\_\+file, const char $\ast$key, Eet\+\_\+\+File\+\_\+\+Mode mode)
\begin{DoxyCompactList}\small\item\em Create a new prefs data handle. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_gab0c465a39f83015f99e4cca9c66b39f2}{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+set} (\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$prefs\+\_\+data, unsigned int version)
\begin{DoxyCompactList}\small\item\em Set the version field of a given prefs data handle. \end{DoxyCompactList}\item 
unsigned int \hyperlink{group__Elm__Prefs_gadd1b60b4af2e2937883bf0fff751fd78}{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+get} (const \hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$prefs\+\_\+data)
\begin{DoxyCompactList}\small\item\em Get the version field of a given prefs data handle. \end{DoxyCompactList}\item 
\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$ \hyperlink{group__Elm__Prefs_gae3ce2f210698699a376d3fd6a9c3d327}{elm\+\_\+prefs\+\_\+data\+\_\+ref} (\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$prefs\+\_\+data)
\begin{DoxyCompactList}\small\item\em Increment reference count on a given prefs data handle. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Prefs_ga6a6905e5914a263a4e0195bae6c0b37d}{elm\+\_\+prefs\+\_\+data\+\_\+unref} (\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$prefs\+\_\+data)
\begin{DoxyCompactList}\small\item\em Decrement reference count on a given prefs data handle. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_gaae2c2d085d8c0e9d6c24ff580807a54e}{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+set} (\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$prefs\+\_\+data, const char $\ast$path, const \hyperlink{group__Elm__Prefs_ga1b10884ca8cd0b3626f437aad775e2f5}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type} type, const Eina\+\_\+\+Value $\ast$value)
\begin{DoxyCompactList}\small\item\em Set (or delete) one value of a given prefs data handle. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga2b692083e7d307512858f1adc2563519}{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+get} (const \hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$prefs\+\_\+data, const char $\ast$path, \hyperlink{group__Elm__Prefs_ga1b10884ca8cd0b3626f437aad775e2f5}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type} $\ast$type, Eina\+\_\+\+Value $\ast$value)
\begin{DoxyCompactList}\small\item\em Get one value of a given prefs data handle (by key). \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga2435876857d1a36d379e23040e389172}{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add} (\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$prefs\+\_\+data, \hyperlink{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type} type, Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Cb cb, const void $\ast$cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Register a callback for one of the prefs data events. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_gafeffd07fade957a5c92e217e4436de99}{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+del} (\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$prefs\+\_\+data, \hyperlink{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type} type, Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Cb cb, const void $\ast$cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Unregister a callback for one of the prefs data events. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Prefs_ga8f845185f5505ac07369e89c5d2abcad}{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set} (\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$prefs\+\_\+data, Eina\+\_\+\+Bool autosave)
\begin{DoxyCompactList}\small\item\em Set whether a given elm prefs data handle should save its values back automatically on changes. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga92e6caef11911cc461959c545f7397d6}{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+get} (const \hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$prefs\+\_\+data)
\begin{DoxyCompactList}\small\item\em Get whether a given elm prefs data handle is saving its values back automatically on changes. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Prefs_ga8e1e70c36f02027d6446c6188b9f954e}{elm\+\_\+prefs\+\_\+data\+\_\+save} (const \hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$prefs\+\_\+data, const char $\ast$file, const char $\ast$key)
\begin{DoxyCompactList}\small\item\em Save, manually, a given elm prefs data handle data back, on the given file and key. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Elementary provides a prefs (for \char`\"{}preferences\char`\"{}) infrastructure, which consists of two sets of A\+P\+Is\+: 


\begin{DoxyItemize}
\item prefs data and
\item prefs view.
\end{DoxyItemize}\hypertarget{group__Elm__Prefs_elm-prefs-data}{}\subsection{Prefs Data}\label{group__Elm__Prefs_elm-prefs-data}
Prefs data are simple key/value storage handles. One is able to set/get their values, which are {\ttfamily Eina\+\_\+\+Value} blobs (i.\+e. dynamically typed). You may also control the version of this data set, for updating purposes. Finally, you may register callbacks on changes on these data.

The main user of prefs data is the prefs {\bfseries widget}. After its creation, it\textquotesingle{}s bound to a given prefs data handle (if not, if gets its values from its definition file, which may have defaults). An elm prefs widget has its visuals defined by an {\ttfamily }.epb file, which is a compiled form of a {\ttfamily }.edc counterpart -- a textual definition much like Edje {\ttfamily }.edc files. On these files, one defines the values (items) a prefs widget hold, which translate to other Elementary widgets. In other words, it does the mapping between UI widgets into prefs data values, and it keeps the synchrony between its child widgets\textquotesingle{} states and their corresponding prefs data values. 

\subsection{Typedef Documentation}
\index{Elementary Prefs@{Elementary Prefs}!Elm\+\_\+\+Prefs\+\_\+\+Data@{Elm\+\_\+\+Prefs\+\_\+\+Data}}
\index{Elm\+\_\+\+Prefs\+\_\+\+Data@{Elm\+\_\+\+Prefs\+\_\+\+Data}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{Elm\+\_\+\+Prefs\+\_\+\+Data}{Elm_Prefs_Data}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Prefs\+\_\+\+Data}}\label{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}


An Elm Prefs Data handle. 

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Elementary Prefs@{Elementary Prefs}!Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed@{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed}}
\index{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed@{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed}{Elm_Prefs_Data_Event_Changed}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed}}\label{group__Elm__Prefs_gac195106489391e7d3d46d4b81636539e}


An Elm Prefs \hyperlink{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a2d063dae5719dca11f5f458042e2bfca}{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED} event info data blob. 

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Elementary Prefs@{Elementary Prefs}!Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type@{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}}
\index{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type@{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}{Elm_Prefs_Item_Type}}]{\setlength{\rightskip}{0pt plus 5cm}typedef enum {\bf \+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}  {\bf Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}}\label{group__Elm__Prefs_ga1b10884ca8cd0b3626f437aad775e2f5}


Elm Prefs item types. 

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


\subsection{Enumeration Type Documentation}
\index{Elementary Prefs@{Elementary Prefs}!\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type@{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}}
\index{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type@{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}{_Elm_Prefs_Item_Type}}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf \+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}}\label{group__Elm__Prefs_ga1cc357f952ededa3d8743bb9bedc2549}


Elm Prefs item types. 

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+O\+OL@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+O\+OL}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+O\+OL@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+O\+OL}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+O\+OL\label{group__Elm__Prefs_gga1cc357f952ededa3d8743bb9bedc2549a07b1f0d5b50d3781183c0c103ae7acab}
}]boolean type, bound to checkbox-\/like UI elements \index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+NT\label{group__Elm__Prefs_gga1cc357f952ededa3d8743bb9bedc2549ad23bb8b0c88eded9dacbf4dc05f6de25}
}]integer type, bound to spinner-\/like UI elements \index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+O\+AT\label{group__Elm__Prefs_gga1cc357f952ededa3d8743bb9bedc2549a77c2dd8eea761daf46746ec242b482e5}
}]floating point type, bound to spinner-\/like UI elements \index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+B\+EL@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+B\+EL}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+B\+EL@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+B\+EL}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+B\+EL\label{group__Elm__Prefs_gga1cc357f952ededa3d8743bb9bedc2549a3ccecbd12d4cade7240bf652b138f886}
}]label type, bound to read-\/only, label UI elements \index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+A\+TE@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+A\+TE}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+A\+TE@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+A\+TE}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+A\+TE\label{group__Elm__Prefs_gga1cc357f952ededa3d8743bb9bedc2549afb2780bf92c67498d5cdb3cd043d5ed3}
}]date type, bound to date selection UI elements \index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+XT@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+XT}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+XT@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+XT}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+XT\label{group__Elm__Prefs_gga1cc357f952ededa3d8743bb9bedc2549a801e093061e4015ebb268c3966642cc7}
}]text type, bound to single-\/line, text entry UI elements \index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+X\+T\+A\+R\+EA@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+X\+T\+A\+R\+EA}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+X\+T\+A\+R\+EA@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+X\+T\+A\+R\+EA}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+X\+T\+A\+R\+EA\label{group__Elm__Prefs_gga1cc357f952ededa3d8743bb9bedc2549ae60e813e630393efdb1264bd2c6f6064}
}]text area type, bound to multi-\/line, text entry UI elements \index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+A\+GE@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+A\+GE}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+A\+GE@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+A\+GE}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+A\+GE\label{group__Elm__Prefs_gga1cc357f952ededa3d8743bb9bedc2549af2737ebd1cdc0152aea2fc5c977cb778}
}]page type, used to nest pages \index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+R\+E\+S\+ET@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+R\+E\+S\+ET}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+R\+E\+S\+ET@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+R\+E\+S\+ET}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+R\+E\+S\+ET\label{group__Elm__Prefs_gga1cc357f952ededa3d8743bb9bedc2549a88c65a578f1bee5a1daf952b32db32ed}
}]values resetting trigger type, bound to button-\/like UI elements \index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+A\+VE@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+A\+VE}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+A\+VE@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+A\+VE}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+A\+VE\label{group__Elm__Prefs_gga1cc357f952ededa3d8743bb9bedc2549aed45e66469b4d9176edaac3c2d6693f9}
}]saving trigger type, bound to button-\/like UI elements \index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+P\+A\+R\+A\+T\+OR@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+P\+A\+R\+A\+T\+OR}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+P\+A\+R\+A\+T\+OR@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+P\+A\+R\+A\+T\+OR}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+E\+P\+A\+R\+A\+T\+OR\label{group__Elm__Prefs_gga1cc357f952ededa3d8743bb9bedc2549acbef5c7a2fbdb5e7243e58856238efcb}
}]separator type, bound to separator-\/like UI elements \index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+W\+A\+L\+L\+OW@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+W\+A\+L\+L\+OW}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+W\+A\+L\+L\+OW@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+W\+A\+L\+L\+OW}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+S\+W\+A\+L\+L\+OW\label{group__Elm__Prefs_gga1cc357f952ededa3d8743bb9bedc2549a366003fb4c850653b296769b9de04e31}
}]swallow type, bound to an empty \textquotesingle{}spot\textquotesingle{} on the UI meant to receive and display external content \end{description}
\end{Desc}
\index{Elementary Prefs@{Elementary Prefs}!Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type@{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}}
\index{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type@{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}{Elm_Prefs_Data_Event_Type}}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}}\label{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}


Types of events a given prefs data handle may issue. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Prefs_ga2435876857d1a36d379e23040e389172}{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED\label{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a2d063dae5719dca11f5f458042e2bfca}
}]The group of values has been automatically saved (event info is the group\textquotesingle{}s name (key)) \index{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+L\+A\+ST@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+L\+A\+ST}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+L\+A\+ST@{E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+L\+A\+ST}}\item[{\em 
E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+L\+A\+ST\label{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a99414132275037683257dc257407f72c}
}]A given item (prefs data value) has been changed (event info is an \hyperlink{group__Elm__Prefs_gac195106489391e7d3d46d4b81636539e}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed} pointer) sentinel value, don\textquotesingle{}t use it \end{description}
\end{Desc}


\subsection{Function Documentation}
\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+get}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+get(void)}{elm_obj_prefs_autosave_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga3bb08a02153ee2950e071d60af0ef752}


Control whether a given prefs widget should save its values back (on the user data file, if set) automatically on every UI element changes. 

If {\ttfamily autosave} is {\ttfamily true}, every call to \hyperlink{group__Elm__Prefs_ga2f7eda4e6d18f9dba4d8939492db1ad0}{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set()}, every Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type.\+E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED event coming for its prefs data and every UI element direct value changing will implicitly make the prefs values to be flushed back to it prefs data. If a prefs data handle with no writing permissions or no prefs data is set on {\ttfamily prefs}, naturally nothing will happen.

\begin{DoxyReturn}{Returns}
{\ttfamily true} to save automatically, {\ttfamily false} otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+autosave\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+set@{elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+set}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+set@{elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+set(\+Eina\+\_\+\+Bool autosave)}{elm_obj_prefs_autosave_set(Eina_Bool autosave)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+set (
\begin{DoxyParamCaption}
\item[{Eina\+\_\+\+Bool}]{autosave}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga45d22111f8a6980bd8c422d084c9b7ca}


Control whether a given prefs widget should save its values back (on the user data file, if set) automatically on every UI element changes. 

If {\ttfamily autosave} is {\ttfamily true}, every call to \hyperlink{group__Elm__Prefs_ga2f7eda4e6d18f9dba4d8939492db1ad0}{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set()}, every Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type.\+E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED event coming for its prefs data and every UI element direct value changing will implicitly make the prefs values to be flushed back to it prefs data. If a prefs data handle with no writing permissions or no prefs data is set on {\ttfamily prefs}, naturally nothing will happen.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em autosave} & {\ttfamily true} to save automatically, {\ttfamily false} otherwise.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+autosave\+\_\+set().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+get}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+get(void)}{elm_obj_prefs_data_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI {\bf Elm\+\_\+\+Prefs\+\_\+\+Data}$\ast$ elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga655edea20ec6d9314ab8f8273cff187d}


Set user data for a given prefs widget. 

Once a prefs widget is created, after \hyperlink{group__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()} is issued on it, all of its UI elements will get default values, when declared on that file. To fetch an user\textquotesingle{}s own, personal set of those values, one gets to pair a prefs data handle to the prefs widget. This is what this call is intended for.

Prefs data values from {\ttfamily prefs\+\_\+data} with keys matching the ones present on the file passed on \hyperlink{group__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()} to {\ttfamily obj} will have their values applied to the respective UI elements of the widget.

When {\ttfamily obj} dies, the values of the elements declared on its .epb file (the one set on \hyperlink{group__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()}) marked as permanent will be written back to prefs\+\_\+data, if it is writable. One is also able to make this writing event to take place automatically after each UI element modification by using \hyperlink{group__Elm__Prefs_ga647d0d59b675cd302ca3bbd76a7c9c84}{elm\+\_\+prefs\+\_\+autosave\+\_\+set()}.

\begin{DoxyNote}{Note}
{\ttfamily obj} will keep a reference of its own for {\ttfamily prefs\+\_\+data}, but you should still unreference it by yourself, after the widget is gone.
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
A valid prefs\+\_\+data handle
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+data\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+set@{elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+set}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+set@{elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+set(\+Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$data)}{elm_obj_prefs_data_set(Elm_Prefs_Data *data)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga8758d173b841d9e3d7652b14120d73a7}


Set user data for a given prefs widget. 

Once a prefs widget is created, after \hyperlink{group__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()} is issued on it, all of its UI elements will get default values, when declared on that file. To fetch an user\textquotesingle{}s own, personal set of those values, one gets to pair a prefs data handle to the prefs widget. This is what this call is intended for.

Prefs data values from {\ttfamily prefs\+\_\+data} with keys matching the ones present on the file passed on \hyperlink{group__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()} to {\ttfamily obj} will have their values applied to the respective UI elements of the widget.

When {\ttfamily obj} dies, the values of the elements declared on its .epb file (the one set on \hyperlink{group__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()}) marked as permanent will be written back to prefs\+\_\+data, if it is writable. One is also able to make this writing event to take place automatically after each UI element modification by using \hyperlink{group__Elm__Prefs_ga647d0d59b675cd302ca3bbd76a7c9c84}{elm\+\_\+prefs\+\_\+autosave\+\_\+set()}.

\begin{DoxyNote}{Note}
{\ttfamily obj} will keep a reference of its own for {\ttfamily prefs\+\_\+data}, but you should still unreference it by yourself, after the widget is gone.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em data} & A valid prefs\+\_\+data handle\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+data\+\_\+set().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get(const char $\ast$name)}{elm_obj_prefs_item_disabled_get(const char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga7a81ad2e75ca86d57f65fb851cbc0300}


Get whether the widget bound to a given prefs widget\textquotesingle{}s item is disabled or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em name} & The name of the item (as declared in the prefs collection) to get disabled state from\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, if it is disabled, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set(const char $\ast$name, Eina\+\_\+\+Bool disabled)}{elm_obj_prefs_item_disabled_set(const char *name, Eina_Bool disabled)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{Eina\+\_\+\+Bool}]{disabled}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga500e580dec675ecf34aba8041fe638df}


Set whether the widget bound to a given prefs widget\textquotesingle{}s item is disabled or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em disabled} & {\ttfamily true}, to make it disabled, {\ttfamily false} otherwise\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get(const char $\ast$name)}{elm_obj_prefs_item_editable_get(const char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga95d0b4184bb6b9cbcf6d9f21ac3229db}


Get whether the widget bound to a given prefs widget\textquotesingle{}s item is editable or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em name} & The name of the item (as declared in the prefs collection) to get editable state from\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, if it is editable, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set(const char $\ast$name, Eina\+\_\+\+Bool editable)}{elm_obj_prefs_item_editable_set(const char *name, Eina_Bool editable)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{Eina\+\_\+\+Bool}]{editable}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga1bfdd021281a248031c8ebb591f170f8}


Set whether the widget bound to a given prefs widget\textquotesingle{}s item is editable or not. 

\begin{DoxyNote}{Note}
Only {\ttfamily T\+E\+XT} or {\ttfamily T\+E\+X\+T\+A\+R\+EA} items\textquotesingle{} default widgets implement the \textquotesingle{}editable\textquotesingle{} property. Custom registered widgets may as well implement them.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em editable} & {\ttfamily true}, to make it editable, {\ttfamily false} otherwise\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get(const char $\ast$name)}{elm_obj_prefs_item_object_get(const char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI const Evas\+\_\+\+Object$\ast$ elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gaed85a599dde3a3da425a7b1c01bdc861}


Get the Elementary widget bound to a given prefs widget\textquotesingle{}s item. 

This will retrieve a handle to the real widget implementing a given item of {\ttfamily prefs}, {\bfseries for read-\/only} actions.

\begin{DoxyWarning}{Warning}
You should never modify the state of the returned widget, because it\textquotesingle{}s meant to be managed by {\ttfamily prefs}, solely.
\end{DoxyWarning}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em name} & The name of the item (as declared in the prefs collection) to get object from\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A valid widget handle, on success, or {\ttfamily N\+U\+LL}, otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+swallow@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+swallow}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+swallow@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+swallow}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+swallow(const char $\ast$name, Evas\+\_\+\+Object $\ast$child)}{elm_obj_prefs_item_swallow(const char *name, Evas_Object *child)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+swallow (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{Evas\+\_\+\+Object $\ast$}]{child}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga6b6bda358b28055bf3051ce14f1a21a5}


\char`\"{}\+Swallows\char`\"{} an object into a S\+W\+A\+L\+L\+OW item of a prefs widget. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em child} & The object to occupy the item\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+item\+\_\+swallow().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+unswallow@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+unswallow}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+unswallow@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+unswallow}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+unswallow(const char $\ast$name)}{elm_obj_prefs_item_unswallow(const char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Evas\+\_\+\+Object$\ast$ elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+unswallow (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga5b6957fe5b2d7bd1f34ca2652dad4993}


Unswallow an object from a S\+W\+A\+L\+L\+OW item of a prefs widget. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em name} & the name of the S\+W\+A\+L\+L\+OW item (as declared in the prefs collection)\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The unswallowed object, or N\+U\+LL on errors
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+item\+\_\+unswallow().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get(const char $\ast$name, Eina\+\_\+\+Value $\ast$value)}{elm_obj_prefs_item_value_get(const char *name, Eina_Value *value)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{Eina\+\_\+\+Value $\ast$}]{value}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gad73155fb47d5ef1caac36f94bc03c2ac}


Get the value of a given prefs widget\textquotesingle{}s item. 

This will retrieve the value of item named {\ttfamily name}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em value} & Where to store the value of the item. It will be overwritten and setup with the type the item is bound to\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set(const char $\ast$name, const Eina\+\_\+\+Value $\ast$value)}{elm_obj_prefs_item_value_set(const char *name, const Eina_Value *value)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{const Eina\+\_\+\+Value $\ast$}]{value}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga5f7fa008248fcf98c2ff2e1f0a1711b7}


Set the value on a given prefs widget\textquotesingle{}s item. 

This will change the value of item named {\ttfamily name} programatically.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em value} & The value to set on the item. It should be typed as the item expects, preferably, or a conversion will take place\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get(const char $\ast$name)}{elm_obj_prefs_item_visible_get(const char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gaf0026ade56dd6cb1bfea21d56d815da8}


Get whether the widget bound to a given prefs widget\textquotesingle{}s item is visible or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em name} & The name of the item (as declared in the prefs collection) to get visibility state from\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, if it is visible, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set@{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set(const char $\ast$name, Eina\+\_\+\+Bool visible)}{elm_obj_prefs_item_visible_set(const char *name, Eina_Bool visible)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{Eina\+\_\+\+Bool}]{visible}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gaad772fecf7ed9d798f9abdd35499e842}


Set whether the widget bound to given prefs widget\textquotesingle{}s item should be visible or not. 

Each prefs item may have a default visibility state, declared on the \$.epb {\ttfamily prefs} it was loaded with. By this call one may alter that state, programatically.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em visible} & {\ttfamily true}, to make it visible, {\ttfamily false} otherwise\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+obj\+\_\+prefs\+\_\+reset@{elm\+\_\+obj\+\_\+prefs\+\_\+reset}}
\index{elm\+\_\+obj\+\_\+prefs\+\_\+reset@{elm\+\_\+obj\+\_\+prefs\+\_\+reset}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+prefs\+\_\+reset(\+Elm\+\_\+\+Prefs\+\_\+\+Reset\+\_\+\+Mode mode)}{elm_obj_prefs_reset(Elm_Prefs_Reset_Mode mode)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+prefs\+\_\+reset (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Reset\+\_\+\+Mode}}]{mode}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gaaa43890c0d465d51087569330801a1bb}


Reset the values of a given prefs widget to a previous state. 

As can be seen on \hyperlink{group__Prefs_ga15d0fab20f5ec2f85fd628c25e5b62e0}{Elm\+\_\+\+Prefs\+\_\+\+Reset\+\_\+\+Mode}, there are two possible actions to be taken by this call -- either to reset {\ttfamily prefs\textquotesingle{}} values to the defaults (declared on the \$.epb file it is bound to) or to reset to the state they were before the last modification it got.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mode} & The reset mode to apply on {\ttfamily prefs} \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+reset().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+autosave\+\_\+get@{elm\+\_\+prefs\+\_\+autosave\+\_\+get}}
\index{elm\+\_\+prefs\+\_\+autosave\+\_\+get@{elm\+\_\+prefs\+\_\+autosave\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+autosave\+\_\+get(const Elm\+\_\+\+Prefs $\ast$obj)}{elm_prefs_autosave_get(const Elm_Prefs *obj)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+autosave\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Prefs $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga908b3b3a7fcf188c00732a53fa414c09}


Control whether a given prefs widget should save its values back (on the user data file, if set) automatically on every UI element changes. 

If {\ttfamily autosave} is {\ttfamily true}, every call to \hyperlink{group__Elm__Prefs_ga2f7eda4e6d18f9dba4d8939492db1ad0}{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set()}, every Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type.\+E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED event coming for its prefs data and every UI element direct value changing will implicitly make the prefs values to be flushed back to it prefs data. If a prefs data handle with no writing permissions or no prefs data is set on {\ttfamily prefs}, naturally nothing will happen.

\begin{DoxyReturn}{Returns}
{\ttfamily true} to save automatically, {\ttfamily false} otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+autosave\+\_\+set@{elm\+\_\+prefs\+\_\+autosave\+\_\+set}}
\index{elm\+\_\+prefs\+\_\+autosave\+\_\+set@{elm\+\_\+prefs\+\_\+autosave\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+autosave\+\_\+set(\+Elm\+\_\+\+Prefs $\ast$obj, Eina\+\_\+\+Bool autosave)}{elm_prefs_autosave_set(Elm_Prefs *obj, Eina_Bool autosave)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+prefs\+\_\+autosave\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool}]{autosave}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga647d0d59b675cd302ca3bbd76a7c9c84}


Control whether a given prefs widget should save its values back (on the user data file, if set) automatically on every UI element changes. 

If {\ttfamily autosave} is {\ttfamily true}, every call to \hyperlink{group__Elm__Prefs_ga2f7eda4e6d18f9dba4d8939492db1ad0}{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set()}, every Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type.\+E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED event coming for its prefs data and every UI element direct value changing will implicitly make the prefs values to be flushed back to it prefs data. If a prefs data handle with no writing permissions or no prefs data is set on {\ttfamily prefs}, naturally nothing will happen.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em autosave} & {\ttfamily true} to save automatically, {\ttfamily false} otherwise.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+set().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+get@{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+get}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+get@{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+get(const Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$prefs\+\_\+data)}{elm_prefs_data_autosave_get(const Elm_Prefs_Data *prefs_data)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{prefs\+\_\+data}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga92e6caef11911cc461959c545f7397d6}


Get whether a given elm prefs data handle is saving its values back automatically on changes. 


\begin{DoxyParams}{Parameters}
{\em prefs\+\_\+data} & A valid prefs data handle \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} if {\itshape prefs\+\_\+data} is saving automatically, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Prefs_ga8f845185f5505ac07369e89c5d2abcad}{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set@{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set@{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set(\+Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$prefs\+\_\+data, Eina\+\_\+\+Bool autosave)}{elm_prefs_data_autosave_set(Elm_Prefs_Data *prefs_data, Eina_Bool autosave)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{prefs\+\_\+data, }
\item[{Eina\+\_\+\+Bool}]{autosave}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga8f845185f5505ac07369e89c5d2abcad}


Set whether a given elm prefs data handle should save its values back automatically on changes. 


\begin{DoxyParams}{Parameters}
{\em prefs\+\_\+data} & A valid prefs data handle \\
\hline
{\em autosave} & {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} to save automatically, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.\\
\hline
\end{DoxyParams}
If {\itshape autosave} is {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}, every call to \hyperlink{group__Elm__Prefs_gaae2c2d085d8c0e9d6c24ff580807a54e}{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+set()} will implicitly issue \hyperlink{group__Elm__Prefs_ga8e1e70c36f02027d6446c6188b9f954e}{elm\+\_\+prefs\+\_\+data\+\_\+save()} too.

\begin{DoxyWarning}{Warning}
This call will do nothing if {\itshape prefs\+\_\+data} was created with mode E\+E\+T\+\_\+\+F\+I\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+R\+E\+AD -- auto saving will be always disabled in this mode, as it can\textquotesingle{}t write back.
\end{DoxyWarning}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Prefs_ga92e6caef11911cc461959c545f7397d6}{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add@{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add@{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add(\+Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$prefs\+\_\+data, Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type type, Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Cb cb, const void $\ast$cb\+\_\+data)}{elm_prefs_data_event_callback_add(Elm_Prefs_Data *prefs_data, Elm_Prefs_Data_Event_Type type, Elm_Prefs_Data_Event_Cb cb, const void *cb_data)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{prefs\+\_\+data, }
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}}]{type, }
\item[{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Cb}]{cb, }
\item[{const void $\ast$}]{cb\+\_\+data}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga2435876857d1a36d379e23040e389172}


Register a callback for one of the prefs data events. 


\begin{DoxyParams}{Parameters}
{\em prefs\+\_\+data} & A valid prefs data handle \\
\hline
{\em type} & The type of event to register to \\
\hline
{\em cb} & The callback function to issue on this event \\
\hline
{\em cb\+\_\+data} & The data pointer to pass to {\itshape cb} on this event \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type} for more details on the events. 

\hyperlink{group__Elm__Prefs_gafeffd07fade957a5c92e217e4436de99}{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+del()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+L\+A\+ST.

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+del@{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+del}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+del@{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+del}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+del(\+Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$prefs\+\_\+data, Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type type, Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Cb cb, const void $\ast$cb\+\_\+data)}{elm_prefs_data_event_callback_del(Elm_Prefs_Data *prefs_data, Elm_Prefs_Data_Event_Type type, Elm_Prefs_Data_Event_Cb cb, const void *cb_data)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+del (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{prefs\+\_\+data, }
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}}]{type, }
\item[{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Cb}]{cb, }
\item[{const void $\ast$}]{cb\+\_\+data}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gafeffd07fade957a5c92e217e4436de99}


Unregister a callback for one of the prefs data events. 


\begin{DoxyParams}{Parameters}
{\em prefs\+\_\+data} & A valid prefs data handle \\
\hline
{\em type} & The type of event to unregister \\
\hline
{\em cb} & The callback function being used to this event \\
\hline
{\em cb\+\_\+data} & The data pointer being passed to {\itshape cb} on this event \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type} for more details on the events. 

\hyperlink{group__Elm__Prefs_ga2435876857d1a36d379e23040e389172}{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add()}
\end{DoxySeeAlso}
\begin{DoxyNote}{Note}
If a same event callback (with matching type, callback function and data pointers) was added more than once on {\itshape prefs\+\_\+data}, them same number of matching calls of this type have to issued to delete all them.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+get@{elm\+\_\+prefs\+\_\+data\+\_\+get}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+get@{elm\+\_\+prefs\+\_\+data\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+get(const Elm\+\_\+\+Prefs $\ast$obj)}{elm_prefs_data_get(const Elm_Prefs *obj)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Prefs\+\_\+\+Data}$\ast$ elm\+\_\+prefs\+\_\+data\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Prefs $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gae43d20852f4e15f49b71c837c0e32c32}


Set user data for a given prefs widget. 

Once a prefs widget is created, after \hyperlink{group__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()} is issued on it, all of its UI elements will get default values, when declared on that file. To fetch an user\textquotesingle{}s own, personal set of those values, one gets to pair a prefs data handle to the prefs widget. This is what this call is intended for.

Prefs data values from {\ttfamily prefs\+\_\+data} with keys matching the ones present on the file passed on \hyperlink{group__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()} to {\ttfamily obj} will have their values applied to the respective UI elements of the widget.

When {\ttfamily obj} dies, the values of the elements declared on its .epb file (the one set on \hyperlink{group__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()}) marked as permanent will be written back to prefs\+\_\+data, if it is writable. One is also able to make this writing event to take place automatically after each UI element modification by using \hyperlink{group__Elm__Prefs_ga647d0d59b675cd302ca3bbd76a7c9c84}{elm\+\_\+prefs\+\_\+autosave\+\_\+set()}.

\begin{DoxyNote}{Note}
{\ttfamily obj} will keep a reference of its own for {\ttfamily prefs\+\_\+data}, but you should still unreference it by yourself, after the widget is gone.
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
A valid prefs\+\_\+data handle
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+new@{elm\+\_\+prefs\+\_\+data\+\_\+new}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+new@{elm\+\_\+prefs\+\_\+data\+\_\+new}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+new(const char $\ast$data\+\_\+file, const char $\ast$key, Eet\+\_\+\+File\+\_\+\+Mode mode)}{elm_prefs_data_new(const char *data_file, const char *key, Eet_File_Mode mode)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Prefs\+\_\+\+Data}$\ast$ elm\+\_\+prefs\+\_\+data\+\_\+new (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{data\+\_\+file, }
\item[{const char $\ast$}]{key, }
\item[{Eet\+\_\+\+File\+\_\+\+Mode}]{mode}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga58895cf0ae0fd70db018fbe8eb7ba5c2}


Create a new prefs data handle. 


\begin{DoxyParams}{Parameters}
{\em data\+\_\+file} & The (user) file where to read data from \\
\hline
{\em key} & The key where the data is stored under \\
\hline
{\em mode} & The mode of access to the given file \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new prefs data handle
\end{DoxyReturn}
If {\itshape data\+\_\+file} is {\ttfamily N\+U\+LL}, efreet\+\_\+config\+\_\+home\+\_\+get()/$<$appname$>$/preferences.cfg will be used, by default. If {\itshape key} is {\ttfamily N\+U\+LL}, it is considered a default key -- \char`\"{}main\char`\"{}.

If {\itshape mode} is {\ttfamily E\+E\+T\+\_\+\+F\+I\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+R\+E\+AD}, autosave will be always false for this elm\+\_\+prefs\+\_\+data handle. If {\itshape mode} is {\ttfamily E\+E\+T\+\_\+\+F\+I\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+W\+R\+I\+TE}, than {\itshape data\+\_\+file} {\bfseries won\textquotesingle{}t} be read, but just written to.

\begin{DoxyNote}{Note}
An elm prefs data handle starts with a reference count of {\bfseries 1} (see \hyperlink{group__Elm__Prefs_gae3ce2f210698699a376d3fd6a9c3d327}{elm\+\_\+prefs\+\_\+data\+\_\+ref()}). Use \hyperlink{group__Elm__Prefs_ga6a6905e5914a263a4e0195bae6c0b37d}{elm\+\_\+prefs\+\_\+data\+\_\+unref()} to delete it.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+ref@{elm\+\_\+prefs\+\_\+data\+\_\+ref}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+ref@{elm\+\_\+prefs\+\_\+data\+\_\+ref}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+ref(\+Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$prefs\+\_\+data)}{elm_prefs_data_ref(Elm_Prefs_Data *prefs_data)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Prefs\+\_\+\+Data}$\ast$ elm\+\_\+prefs\+\_\+data\+\_\+ref (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{prefs\+\_\+data}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gae3ce2f210698699a376d3fd6a9c3d327}


Increment reference count on a given prefs data handle. 


\begin{DoxyParams}{Parameters}
{\em prefs\+\_\+data} & A valid prefs data handle \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The same prefs data handle, {\itshape prefs\+\_\+data} 
\end{DoxyReturn}
This increments the reference count of {\itshape by} 1. Use this to pass the handle safely to contexts other than the creation one, for example. Only when the reference count on a prefs data handle reaches {\bfseries 0} (see \hyperlink{group__Elm__Prefs_ga6a6905e5914a263a4e0195bae6c0b37d}{elm\+\_\+prefs\+\_\+data\+\_\+unref()}) will it be deleted.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+add().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+save@{elm\+\_\+prefs\+\_\+data\+\_\+save}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+save@{elm\+\_\+prefs\+\_\+data\+\_\+save}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+save(const Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$prefs\+\_\+data, const char $\ast$file, const char $\ast$key)}{elm_prefs_data_save(const Elm_Prefs_Data *prefs_data, const char *file, const char *key)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+data\+\_\+save (
\begin{DoxyParamCaption}
\item[{const {\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{prefs\+\_\+data, }
\item[{const char $\ast$}]{file, }
\item[{const char $\ast$}]{key}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga8e1e70c36f02027d6446c6188b9f954e}


Save, manually, a given elm prefs data handle data back, on the given file and key. 


\begin{DoxyParams}{Parameters}
{\em prefs\+\_\+data} & A valid prefs data handle \\
\hline
{\em file} & The file (path) to save to ({\ttfamily N\+U\+LL} means same file as it was opened with) \\
\hline
{\em key} & The under which to save values ({\ttfamily N\+U\+LL} means the same key as it was opened with) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Prefs_ga8f845185f5505ac07369e89c5d2abcad}{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+set@{elm\+\_\+prefs\+\_\+data\+\_\+set}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+set@{elm\+\_\+prefs\+\_\+data\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+set(\+Elm\+\_\+\+Prefs $\ast$obj, Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$data)}{elm_prefs_data_set(Elm_Prefs *obj, Elm_Prefs_Data *data)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+data\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga0f8265b17c3ba8a0cead439ada991fe2}


Set user data for a given prefs widget. 

Once a prefs widget is created, after \hyperlink{group__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()} is issued on it, all of its UI elements will get default values, when declared on that file. To fetch an user\textquotesingle{}s own, personal set of those values, one gets to pair a prefs data handle to the prefs widget. This is what this call is intended for.

Prefs data values from {\ttfamily prefs\+\_\+data} with keys matching the ones present on the file passed on \hyperlink{group__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()} to {\ttfamily obj} will have their values applied to the respective UI elements of the widget.

When {\ttfamily obj} dies, the values of the elements declared on its .epb file (the one set on \hyperlink{group__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()}) marked as permanent will be written back to prefs\+\_\+data, if it is writable. One is also able to make this writing event to take place automatically after each UI element modification by using \hyperlink{group__Elm__Prefs_ga647d0d59b675cd302ca3bbd76a7c9c84}{elm\+\_\+prefs\+\_\+autosave\+\_\+set()}.

\begin{DoxyNote}{Note}
{\ttfamily obj} will keep a reference of its own for {\ttfamily prefs\+\_\+data}, but you should still unreference it by yourself, after the widget is gone.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em data} & A valid prefs\+\_\+data handle\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+set().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+unref@{elm\+\_\+prefs\+\_\+data\+\_\+unref}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+unref@{elm\+\_\+prefs\+\_\+data\+\_\+unref}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+unref(\+Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$prefs\+\_\+data)}{elm_prefs_data_unref(Elm_Prefs_Data *prefs_data)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+prefs\+\_\+data\+\_\+unref (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{prefs\+\_\+data}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga6a6905e5914a263a4e0195bae6c0b37d}


Decrement reference count on a given prefs data handle. 


\begin{DoxyParams}{Parameters}
{\em prefs\+\_\+data} & A valid prefs data handle\\
\hline
\end{DoxyParams}
This decrements the reference count of {\itshape by} 1. When the reference count on {\itshape reach} {\bfseries 0}, it will it be deleted.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Prefs_gae3ce2f210698699a376d3fd6a9c3d327}{elm\+\_\+prefs\+\_\+data\+\_\+ref()} for more details.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+add().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+get@{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+get}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+get@{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+get(const Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$prefs\+\_\+data, const char $\ast$path, Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type $\ast$type, Eina\+\_\+\+Value $\ast$value)}{elm_prefs_data_value_get(const Elm_Prefs_Data *prefs_data, const char *path, Elm_Prefs_Item_Type *type, Eina_Value *value)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{prefs\+\_\+data, }
\item[{const char $\ast$}]{path, }
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type} $\ast$}]{type, }
\item[{Eina\+\_\+\+Value $\ast$}]{value}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga2b692083e7d307512858f1adc2563519}


Get one value of a given prefs data handle (by key). 


\begin{DoxyParams}{Parameters}
{\em prefs\+\_\+data} & A valid prefs data handle \\
\hline
{\em path} & The (unique) name (key) of the given value \\
\hline
{\em type} & The item type associated with the value \\
\hline
{\em value} & A valid {\ttfamily Eina\+\_\+\+Value} handle, where to store the value, itself. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise
\end{DoxyReturn}
This will retrieve one of {\itshape }\textquotesingle{}s values, by name. The value itself will be written to {\itshape value}, which will be overriden.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+prefs\+\_\+add().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+set@{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+set}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+set@{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+set(\+Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$prefs\+\_\+data, const char $\ast$path, const Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type type, const Eina\+\_\+\+Value $\ast$value)}{elm_prefs_data_value_set(Elm_Prefs_Data *prefs_data, const char *path, const Elm_Prefs_Item_Type type, const Eina_Value *value)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{prefs\+\_\+data, }
\item[{const char $\ast$}]{path, }
\item[{const {\bf Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}}]{type, }
\item[{const Eina\+\_\+\+Value $\ast$}]{value}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gaae2c2d085d8c0e9d6c24ff580807a54e}


Set (or delete) one value of a given prefs data handle. 


\begin{DoxyParams}{Parameters}
{\em prefs\+\_\+data} & A valid prefs data handle \\
\hline
{\em path} & The (unique) name (key) of the given value \\
\hline
{\em type} & The item type to which the value is to be associated \\
\hline
{\em value} & The value, itself. It must be a valid {\ttfamily Eina\+\_\+\+Value} handle, bound to a given type and value or {\ttfamily N\+U\+LL}. On the second case, the call will actually {\bfseries delete} the given key from {\itshape prefs\+\_\+data}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise
\end{DoxyReturn}
A prefs data handle holds a list of key/value entries. This will set one of {\itshape }\textquotesingle{}s values, by name. The value itself may be any valid and filled up {\ttfamily Eina\+\_\+\+Value} handle.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+D\+A\+T\+A\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+T\+E\+M\+\_\+\+C\+H\+A\+N\+G\+ED.



Referenced by elm\+\_\+prefs\+\_\+add().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+get@{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+get}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+get@{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+get(const Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$prefs\+\_\+data)}{elm_prefs_data_version_get(const Elm_Prefs_Data *prefs_data)}}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{prefs\+\_\+data}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gadd1b60b4af2e2937883bf0fff751fd78}


Get the version field of a given prefs data handle. 


\begin{DoxyParams}{Parameters}
{\em prefs\+\_\+data} & A valid prefs data handle \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The version of {\itshape prefs\+\_\+data} or -\/1, on errors.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Prefs_gab0c465a39f83015f99e4cca9c66b39f2}{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+set()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References E\+L\+M\+\_\+\+P\+R\+E\+F\+S\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+A\+GE.

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+set@{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+set}}
\index{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+set@{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+set(\+Elm\+\_\+\+Prefs\+\_\+\+Data $\ast$prefs\+\_\+data, unsigned int version)}{elm_prefs_data_version_set(Elm_Prefs_Data *prefs_data, unsigned int version)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Data} $\ast$}]{prefs\+\_\+data, }
\item[{unsigned int}]{version}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gab0c465a39f83015f99e4cca9c66b39f2}


Set the version field of a given prefs data handle. 


\begin{DoxyParams}{Parameters}
{\em prefs\+\_\+data} & A valid prefs data handle \\
\hline
{\em version} & The version number \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Prefs_gadd1b60b4af2e2937883bf0fff751fd78}{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get@{elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get}}
\index{elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get@{elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get(const Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name)}{elm_prefs_item_disabled_get(const Elm_Prefs *obj, const char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gae419ce29ff424f9fe734703b42b9119e}


Get whether the widget bound to a given prefs widget\textquotesingle{}s item is disabled or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em name} & The name of the item (as declared in the prefs collection) to get disabled state from\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, if it is disabled, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set@{elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set}}
\index{elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set@{elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set(\+Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name, Eina\+\_\+\+Bool disabled)}{elm_prefs_item_disabled_set(Elm_Prefs *obj, const char *name, Eina_Bool disabled)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{const char $\ast$}]{name, }
\item[{Eina\+\_\+\+Bool}]{disabled}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga69016b9b4d4056daa484399bd81e3901}


Set whether the widget bound to a given prefs widget\textquotesingle{}s item is disabled or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em disabled} & {\ttfamily true}, to make it disabled, {\ttfamily false} otherwise\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get@{elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get}}
\index{elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get@{elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get(const Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name)}{elm_prefs_item_editable_get(const Elm_Prefs *obj, const char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga601b6e0543289bb592cf3748ed83f13f}


Get whether the widget bound to a given prefs widget\textquotesingle{}s item is editable or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em name} & The name of the item (as declared in the prefs collection) to get editable state from\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, if it is editable, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set@{elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set}}
\index{elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set@{elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set(\+Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name, Eina\+\_\+\+Bool editable)}{elm_prefs_item_editable_set(Elm_Prefs *obj, const char *name, Eina_Bool editable)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{const char $\ast$}]{name, }
\item[{Eina\+\_\+\+Bool}]{editable}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga9a187b4783ee17049e0c08d10c5fc95c}


Set whether the widget bound to a given prefs widget\textquotesingle{}s item is editable or not. 

\begin{DoxyNote}{Note}
Only {\ttfamily T\+E\+XT} or {\ttfamily T\+E\+X\+T\+A\+R\+EA} items\textquotesingle{} default widgets implement the \textquotesingle{}editable\textquotesingle{} property. Custom registered widgets may as well implement them.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em editable} & {\ttfamily true}, to make it editable, {\ttfamily false} otherwise\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get@{elm\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get}}
\index{elm\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get@{elm\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get(\+Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name)}{elm_prefs_item_object_get(Elm_Prefs *obj, const char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}const Evas\+\_\+\+Object$\ast$ elm\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga2d39a06a2456eb2c16949996c0f3d9f9}


Get the Elementary widget bound to a given prefs widget\textquotesingle{}s item. 

This will retrieve a handle to the real widget implementing a given item of {\ttfamily prefs}, {\bfseries for read-\/only} actions.

\begin{DoxyWarning}{Warning}
You should never modify the state of the returned widget, because it\textquotesingle{}s meant to be managed by {\ttfamily prefs}, solely.
\end{DoxyWarning}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em name} & The name of the item (as declared in the prefs collection) to get object from\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A valid widget handle, on success, or {\ttfamily N\+U\+LL}, otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+item\+\_\+swallow@{elm\+\_\+prefs\+\_\+item\+\_\+swallow}}
\index{elm\+\_\+prefs\+\_\+item\+\_\+swallow@{elm\+\_\+prefs\+\_\+item\+\_\+swallow}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+item\+\_\+swallow(\+Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name, Evas\+\_\+\+Object $\ast$child)}{elm_prefs_item_swallow(Elm_Prefs *obj, const char *name, Evas_Object *child)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+item\+\_\+swallow (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{const char $\ast$}]{name, }
\item[{Evas\+\_\+\+Object $\ast$}]{child}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gace138f2e0e4d0b7a789a683d83033e27}


\char`\"{}\+Swallows\char`\"{} an object into a S\+W\+A\+L\+L\+OW item of a prefs widget. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em child} & The object to occupy the item\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+swallow().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+item\+\_\+unswallow@{elm\+\_\+prefs\+\_\+item\+\_\+unswallow}}
\index{elm\+\_\+prefs\+\_\+item\+\_\+unswallow@{elm\+\_\+prefs\+\_\+item\+\_\+unswallow}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+item\+\_\+unswallow(\+Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name)}{elm_prefs_item_unswallow(Elm_Prefs *obj, const char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+prefs\+\_\+item\+\_\+unswallow (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga0905c04e1d826b95c34ebbac13bc8f17}


Unswallow an object from a S\+W\+A\+L\+L\+OW item of a prefs widget. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em name} & the name of the S\+W\+A\+L\+L\+OW item (as declared in the prefs collection)\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The unswallowed object, or N\+U\+LL on errors
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+unswallow().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get@{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get}}
\index{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get@{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get(const Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name, Eina\+\_\+\+Value $\ast$value)}{elm_prefs_item_value_get(const Elm_Prefs *obj, const char *name, Eina_Value *value)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{const char $\ast$}]{name, }
\item[{Eina\+\_\+\+Value $\ast$}]{value}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gafac54e900317874a1bdd46405fdfd6fd}


Get the value of a given prefs widget\textquotesingle{}s item. 

This will retrieve the value of item named {\ttfamily name}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em value} & Where to store the value of the item. It will be overwritten and setup with the type the item is bound to\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set@{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set}}
\index{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set@{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set(\+Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name, const Eina\+\_\+\+Value $\ast$value)}{elm_prefs_item_value_set(Elm_Prefs *obj, const char *name, const Eina_Value *value)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{const char $\ast$}]{name, }
\item[{const Eina\+\_\+\+Value $\ast$}]{value}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga2f7eda4e6d18f9dba4d8939492db1ad0}


Set the value on a given prefs widget\textquotesingle{}s item. 

This will change the value of item named {\ttfamily name} programatically.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em value} & The value to set on the item. It should be typed as the item expects, preferably, or a conversion will take place\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get@{elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get}}
\index{elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get@{elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get(const Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name)}{elm_prefs_item_visible_get(const Elm_Prefs *obj, const char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga18244d071c11db73dc73755a89ef74c5}


Get whether the widget bound to a given prefs widget\textquotesingle{}s item is visible or not. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em name} & The name of the item (as declared in the prefs collection) to get visibility state from\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true}, if it is visible, {\ttfamily false} otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set@{elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set}}
\index{elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set@{elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set(\+Elm\+\_\+\+Prefs $\ast$obj, const char $\ast$name, Eina\+\_\+\+Bool visible)}{elm_prefs_item_visible_set(Elm_Prefs *obj, const char *name, Eina_Bool visible)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{const char $\ast$}]{name, }
\item[{Eina\+\_\+\+Bool}]{visible}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_gaf025c4a0d6d5fb9a39634f5b7da915b5}


Set whether the widget bound to given prefs widget\textquotesingle{}s item should be visible or not. 

Each prefs item may have a default visibility state, declared on the \$.epb {\ttfamily prefs} it was loaded with. By this call one may alter that state, programatically.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em visible} & {\ttfamily true}, to make it visible, {\ttfamily false} otherwise\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set().

\index{Elementary Prefs@{Elementary Prefs}!elm\+\_\+prefs\+\_\+reset@{elm\+\_\+prefs\+\_\+reset}}
\index{elm\+\_\+prefs\+\_\+reset@{elm\+\_\+prefs\+\_\+reset}!Elementary Prefs@{Elementary Prefs}}
\subsubsection[{\texorpdfstring{elm\+\_\+prefs\+\_\+reset(\+Elm\+\_\+\+Prefs $\ast$obj, Elm\+\_\+\+Prefs\+\_\+\+Reset\+\_\+\+Mode mode)}{elm_prefs_reset(Elm_Prefs *obj, Elm_Prefs_Reset_Mode mode)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+prefs\+\_\+reset (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Prefs $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Prefs\+\_\+\+Reset\+\_\+\+Mode}}]{mode}
\end{DoxyParamCaption}
)}\label{group__Elm__Prefs_ga7ea163672578b75174eccc016903fd98}


Reset the values of a given prefs widget to a previous state. 

As can be seen on \hyperlink{group__Prefs_ga15d0fab20f5ec2f85fd628c25e5b62e0}{Elm\+\_\+\+Prefs\+\_\+\+Reset\+\_\+\+Mode}, there are two possible actions to be taken by this call -- either to reset {\ttfamily prefs\textquotesingle{}} values to the defaults (declared on the \$.epb file it is bound to) or to reset to the state they were before the last modification it got.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mode} & The reset mode to apply on {\ttfamily prefs} \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+prefs\+\_\+reset().

