\hypertarget{group__Elm__Prefs}{}\doxysection{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 APIs\+:  


\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__Void}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Void}}
\item 
struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__Bool}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Bool}}
\item 
struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__Int}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Int}}
\item 
struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__Float}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Float}}
\item 
struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__String}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+String}}
\item 
struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__Date}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Date}}
\item 
struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__Page}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Page}}
\item 
union \mbox{\hyperlink{union__Elm__Prefs__Item__Spec}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec}}
\item 
struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface}}
\begin{DoxyCompactList}\small\item\em Interface between items of the \mbox{\hyperlink{group__Elm__Prefs_elm-prefs-widget}{Prefs}} widget and the real widgets implementing them. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface__Info}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+\_\+\+Info}}
\begin{DoxyCompactList}\small\item\em Convenience struct used to mass-\/register widgets implementing prefs {\bfseries{items}} interfaces. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface}}
\begin{DoxyCompactList}\small\item\em Interface between pages of the \mbox{\hyperlink{group__Elm__Prefs_elm-prefs-widget}{Prefs}} widget and the real widgets implementing them. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface__Info}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface\+\_\+\+Info}}
\begin{DoxyCompactList}\small\item\em Convenience struct used to mass-\/register widgets implementing prefs {\bfseries{pages}} interfaces. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Elm__Prefs__Data__Event__Changed}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__Elm__Prefs_gaa03c7f82cc3c7a9b33477c48086882eb}{ELM\+\_\+\+PREFS\+\_\+\+CLASS}}~elm\+\_\+prefs\+\_\+class\+\_\+get()
\begin{DoxyCompactList}\small\item\em Elementary preferences class. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Elm__Prefs_ga7e551f36382f52a23a00491096e50aaf}{ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+CHANGED}}~(\&(\+\_\+\+ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+CHANGED))
\begin{DoxyCompactList}\small\item\em Called when page changed. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Elm__Prefs_ga4d22adec6c62a90824087df3ab955de9}{ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+SAVED}}~(\&(\+\_\+\+ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+SAVED))
\begin{DoxyCompactList}\small\item\em Called when page was saved. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Elm__Prefs_ga91cf0abd1ec78e6697fb02437b64f489}{ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+LOADED}}~(\&(\+\_\+\+ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+LOADED))
\begin{DoxyCompactList}\small\item\em Called when page got loaded. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Elm__Prefs_ga5415bef6ae304d4d532eca0583eb0325}{ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+ITEM\+\_\+\+CHANGED}}~(\&(\+\_\+\+ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+ITEM\+\_\+\+CHANGED))
\begin{DoxyCompactList}\small\item\em Called when item changed. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Elm__Prefs_gaf421428c8cbe93906786ed9dba2e368f}{ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+ACTION}}~(\&(\+\_\+\+ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+ACTION))
\begin{DoxyCompactList}\small\item\em Called when action was done. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_ga51fd2a4712922aa0cc656371181ad3ec}\label{group__Elm__Prefs_ga51fd2a4712922aa0cc656371181ad3ec}} 
typedef struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__Void}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Void}} {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Void}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_ga351ace6562f0e466df7de95a1ba7d397}\label{group__Elm__Prefs_ga351ace6562f0e466df7de95a1ba7d397}} 
typedef struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__Bool}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Bool}} {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Bool}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_ga6d26fc68e7b754804a66ae378fcd6334}\label{group__Elm__Prefs_ga6d26fc68e7b754804a66ae378fcd6334}} 
typedef struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__Int}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Int}} {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Int}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_ga2fe7f0733316c5229c25ede27df87597}\label{group__Elm__Prefs_ga2fe7f0733316c5229c25ede27df87597}} 
typedef struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__Float}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Float}} {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Float}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_ga7f986db870e5082f6cbecb451f86dcd9}\label{group__Elm__Prefs_ga7f986db870e5082f6cbecb451f86dcd9}} 
typedef struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__String}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+String}} {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+String}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_gad6fd9865665b669ecf33fae949cbdc60}\label{group__Elm__Prefs_gad6fd9865665b669ecf33fae949cbdc60}} 
typedef struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__Date}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Date}} {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Date}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_gacb5dff557087659b8680d8c4a8929ef2}\label{group__Elm__Prefs_gacb5dff557087659b8680d8c4a8929ef2}} 
typedef struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Spec__Page}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Page}} {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec\+\_\+\+Page}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_ga9a281bb3b80526e0a76ce9e3a6c99a61}\label{group__Elm__Prefs_ga9a281bb3b80526e0a76ce9e3a6c99a61}} 
typedef union \mbox{\hyperlink{union__Elm__Prefs__Item__Spec}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec}} {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Spec}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_ga6b4f1562419da0dded6c0c6657346536}\label{group__Elm__Prefs_ga6b4f1562419da0dded6c0c6657346536}} 
typedef struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface}} {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_ga47ee0cfc6e4dad8fb4fc1960c78a1b6b}\label{group__Elm__Prefs_ga47ee0cfc6e4dad8fb4fc1960c78a1b6b}} 
typedef void($\ast$ {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Changed\+\_\+\+Cb}) (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$it\+\_\+obj)
\begin{DoxyCompactList}\small\item\em Elementary prefs\textquotesingle{} item widget changed function signature. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Elm__Prefs_gae91fd34cd4879bc2a0d5b95f25806a00}\label{group__Elm__Prefs_gae91fd34cd4879bc2a0d5b95f25806a00}} 
typedef struct \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface__Info}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+\_\+\+Info}} {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+\_\+\+Info}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_ga92196e694d683e6a42fc23ba14570f4e}\label{group__Elm__Prefs_ga92196e694d683e6a42fc23ba14570f4e}} 
typedef struct \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface}} {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_gab8c1c6ad4370d6d98aba0f0904bf89e2}\label{group__Elm__Prefs_gab8c1c6ad4370d6d98aba0f0904bf89e2}} 
typedef struct \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface__Info}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface\+\_\+\+Info}} {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface\+\_\+\+Info}
\item 
typedef struct \+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Data \mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}}
\begin{DoxyCompactList}\small\item\em An Elm Prefs Data handle. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Elm__Prefs_gad398b4c1b7d732457cbab371324fa0eb}\label{group__Elm__Prefs_gad398b4c1b7d732457cbab371324fa0eb}} 
typedef void($\ast$ {\bfseries Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Cb}) (void $\ast$cb\+\_\+data, \mbox{\hyperlink{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}} type, \mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$prefs\+\_\+data, void $\ast$event\+\_\+info)
\item 
typedef struct \mbox{\hyperlink{struct__Elm__Prefs__Data__Event__Changed}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed}} \mbox{\hyperlink{group__Elm__Prefs_gac195106489391e7d3d46d4b81636539e}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed}}
\begin{DoxyCompactList}\small\item\em An Elm Prefs \mbox{\hyperlink{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a2d063dae5719dca11f5f458042e2bfca}{ELM\+\_\+\+PREFS\+\_\+\+DATA\+\_\+\+EVENT\+\_\+\+ITEM\+\_\+\+CHANGED}} event info data blob. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__Elm__Prefs_ga15d0fab20f5ec2f85fd628c25e5b62e0}{Elm\+\_\+\+Prefs\+\_\+\+Reset\+\_\+\+Mode}} \{ \newline
\mbox{\hyperlink{group__Elm__Prefs_gga15d0fab20f5ec2f85fd628c25e5b62e0aaf5d2a29c537b4cecd2dad2d0e24ff1f}{ELM\+\_\+\+PREFS\+\_\+\+RESET\+\_\+\+DEFAULTS}} = 0
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga15d0fab20f5ec2f85fd628c25e5b62e0a640734919e7d972320bb2a69e93ea2f0}{ELM\+\_\+\+PREFS\+\_\+\+RESET\+\_\+\+LAST}}
 \}
\begin{DoxyCompactList}\small\item\em Modes of resetting a prefs widget. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{group__Elm__Prefs_ga7525bee64184478acad1e807c3e570ae}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}} \{ \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea93fd74dd99dcfbc4b00e6598b7738f85}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+UNKNOWN}} = 0
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeaee63c0cc336f5b194adb80fea94171dd}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+ACTION}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea07b1f0d5b50d3781183c0c103ae7acab}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+BOOL}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aead23bb8b0c88eded9dacbf4dc05f6de25}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+INT}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea77c2dd8eea761daf46746ec242b482e5}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+FLOAT}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea3ccecbd12d4cade7240bf652b138f886}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+LABEL}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeafb2780bf92c67498d5cdb3cd043d5ed3}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+DATE}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea801e093061e4015ebb268c3966642cc7}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+TEXT}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeae60e813e630393efdb1264bd2c6f6064}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+TEXTAREA}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeaf2737ebd1cdc0152aea2fc5c977cb778}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+PAGE}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea88c65a578f1bee5a1daf952b32db32ed}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+RESET}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeaed45e66469b4d9176edaac3c2d6693f9}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+SAVE}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeacbef5c7a2fbdb5e7243e58856238efcb}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+SEPARATOR}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea366003fb4c850653b296769b9de04e31}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+SWALLOW}}
 \}
\begin{DoxyCompactList}\small\item\em Elm Prefs item types. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}} \{ \newline
{\bfseries ELM\+\_\+\+PREFS\+\_\+\+DATA\+\_\+\+EVENT\+\_\+\+GROUP\+\_\+\+AUTOSAVED}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a2d063dae5719dca11f5f458042e2bfca}{ELM\+\_\+\+PREFS\+\_\+\+DATA\+\_\+\+EVENT\+\_\+\+ITEM\+\_\+\+CHANGED}}
, \newline
\mbox{\hyperlink{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a99414132275037683257dc257407f72c}{ELM\+\_\+\+PREFS\+\_\+\+DATA\+\_\+\+EVENT\+\_\+\+LAST}}
 \}
\begin{DoxyCompactList}\small\item\em Types of events a given prefs data handle may issue. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Prefs_ga403f94943d89e57101f034ed381c5134}{elm\+\_\+prefs\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new prefs widget. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Prefs_gae7fab97e239ccdb719d6eae0ee3fd5c0}{elm\+\_\+prefs\+\_\+item\+\_\+iface\+\_\+register}} (const \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface__Info}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+\_\+\+Info}} $\ast$array)
\begin{DoxyCompactList}\small\item\em Mass-\/register widgets implementing prefs {\bfseries{items}} interfaces. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Prefs_ga7dbd06fad8e44bc6143b5a637ab4f899}{elm\+\_\+prefs\+\_\+item\+\_\+iface\+\_\+unregister}} (const \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface__Info}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+\_\+\+Info}} $\ast$array)
\begin{DoxyCompactList}\small\item\em Mass-\/unregister widgets implementing prefs {\bfseries{items}} interfaces. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Elm__Prefs_ga5eb1c11505a64aecc73b47f5dab4d888}\label{group__Elm__Prefs_ga5eb1c11505a64aecc73b47f5dab4d888}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries elm\+\_\+prefs\+\_\+item\+\_\+widget\+\_\+common\+\_\+add} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$prefs, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
void \mbox{\hyperlink{group__Elm__Prefs_gad2390b92c0d279545f78ff7224560949}{elm\+\_\+prefs\+\_\+page\+\_\+iface\+\_\+register}} (const \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface__Info}{Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface\+\_\+\+Info}} $\ast$array)
\begin{DoxyCompactList}\small\item\em Mass-\/register widgets implementing prefs {\bfseries{pages}} interfaces. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Prefs_ga3e005848ad4cbfc19e4fcc2c34ecbebe}{elm\+\_\+prefs\+\_\+page\+\_\+iface\+\_\+unregister}} (const \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface__Info}{Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface\+\_\+\+Info}} $\ast$array)
\begin{DoxyCompactList}\small\item\em Mass-\/unregister widgets implementing prefs {\bfseries{pages}} interfaces. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$ \mbox{\hyperlink{group__Elm__Prefs_ga3f5a79c40a17ca1565503a30f810c463}{elm\+\_\+prefs\+\_\+data\+\_\+new}} (const char $\ast$data\+\_\+file, const char $\ast$key, \mbox{\hyperlink{group__Eet__File__Group_gaaffe4b3f04b9306abf105c89c8934331}{Eet\+\_\+\+File\+\_\+\+Mode}} mode)
\begin{DoxyCompactList}\small\item\em Create a new prefs data handle. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_gab0c465a39f83015f99e4cca9c66b39f2}{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+set}} (\mbox{\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 \mbox{\hyperlink{group__Elm__Prefs_gadd1b60b4af2e2937883bf0fff751fd78}{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+get}} (const \mbox{\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 
\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$ \mbox{\hyperlink{group__Elm__Prefs_ga21c01c94ec00f6699eab2bd378ecc2dd}{elm\+\_\+prefs\+\_\+data\+\_\+ref}} (\mbox{\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 \mbox{\hyperlink{group__Elm__Prefs_ga6a6905e5914a263a4e0195bae6c0b37d}{elm\+\_\+prefs\+\_\+data\+\_\+unref}} (\mbox{\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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_gaae2c2d085d8c0e9d6c24ff580807a54e}{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+set}} (\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$prefs\+\_\+data, const char $\ast$path, const \mbox{\hyperlink{group__Elm__Prefs_ga7525bee64184478acad1e807c3e570ae}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}} type, const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value)
\begin{DoxyCompactList}\small\item\em Set (or delete) one value of a given prefs data handle. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_ga2b692083e7d307512858f1adc2563519}{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+get}} (const \mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$prefs\+\_\+data, const char $\ast$path, \mbox{\hyperlink{group__Elm__Prefs_ga7525bee64184478acad1e807c3e570ae}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}} $\ast$type, \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value)
\begin{DoxyCompactList}\small\item\em Get one value of a given prefs data handle (by key). \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_ga2435876857d1a36d379e23040e389172}{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add}} (\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$prefs\+\_\+data, \mbox{\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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_gafeffd07fade957a5c92e217e4436de99}{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+del}} (\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$prefs\+\_\+data, \mbox{\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 \mbox{\hyperlink{group__Elm__Prefs_ga8f845185f5505ac07369e89c5d2abcad}{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set}} (\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$prefs\+\_\+data, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_ga92e6caef11911cc461959c545f7397d6}{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+get}} (const \mbox{\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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_ga8e1e70c36f02027d6446c6188b9f954e}{elm\+\_\+prefs\+\_\+data\+\_\+save}} (const \mbox{\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}\item 
EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_gaa31c60513c67771a33a1b7fc588505a7}{elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+set}} (Eo $\ast$obj, \mbox{\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 
EOAPI \mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$ \mbox{\hyperlink{group__Elm__Prefs_gaf4edef669b4d88acc68e4ae8aadb798f}{elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+get}} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Set user data for a given prefs widget. \end{DoxyCompactList}\item 
EOAPI void \mbox{\hyperlink{group__Elm__Prefs_gabf4485b5fa98022ea41effb88c51e054}{elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+set}} (Eo $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{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 
EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_ga73245d65af0a5c60023f61dde90b2a9a}{elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+get}} (const Eo $\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 
EOAPI void \mbox{\hyperlink{group__Elm__Prefs_ga9f49ac359045203e2191811857007339}{elm\+\_\+obj\+\_\+prefs\+\_\+reset}} (Eo $\ast$obj, \mbox{\hyperlink{group__Elm__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 
EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_gaa5c02f573991d0c38d7bf39fc131e140}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set}} (Eo $\ast$obj, const char $\ast$name, const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value)
\begin{DoxyCompactList}\small\item\em Set the value on a given prefs widget\textquotesingle{}s item. \end{DoxyCompactList}\item 
EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_gadc012ac9660cd8faf7d22da0bdf352c2}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get}} (const Eo $\ast$obj, const char $\ast$name, \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$value)
\begin{DoxyCompactList}\small\item\em Get the value of a given prefs widget\textquotesingle{}s item. \end{DoxyCompactList}\item 
EOAPI const \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Prefs_ga0b54defd01b8a4c3d2853021d55edd4f}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get}} (Eo $\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 
EOAPI void \mbox{\hyperlink{group__Elm__Prefs_gacc00f70bcfa35c5d34889f0697832dc9}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set}} (Eo $\ast$obj, const char $\ast$name, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{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 
EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_ga4bd425e1cbb6c4e174bc84f9b6d32781}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get}} (const Eo $\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 
EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_ga65db512988b5e5bf4b5d68558dee69a9}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+swallow}} (Eo $\ast$obj, const char $\ast$name, \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$child)
\begin{DoxyCompactList}\small\item\em \char`\"{}\+Swallows\char`\"{} an object into a SWALLOW item of a prefs widget. \end{DoxyCompactList}\item 
EOAPI void \mbox{\hyperlink{group__Elm__Prefs_ga36092cb7c8f90676a759420a978f619f}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set}} (Eo $\ast$obj, const char $\ast$name, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{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 
EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_gaa574de68d526a2e743599c2d62f6e612}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get}} (const Eo $\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 
EOAPI \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Prefs_ga17e207c166986f5ef1e76731bf1533f4}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+unswallow}} (Eo $\ast$obj, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Unswallow an object from a SWALLOW item of a prefs widget. \end{DoxyCompactList}\item 
EOAPI void \mbox{\hyperlink{group__Elm__Prefs_gaeadd89bb9417a2fd358245476f9b5647}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set}} (Eo $\ast$obj, const char $\ast$name, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{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 
EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_ga24c52dcaed05e418d5fb35ad76ea625f}{elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get}} (const Eo $\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}\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Elm__Prefs_ga643f7088f2aef4d79eeea44712aa5389}\label{group__Elm__Prefs_ga643f7088f2aef4d79eeea44712aa5389}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries elm\+\_\+prefs\+\_\+page\+\_\+widget\+\_\+common\+\_\+add} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$prefs, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Add a page widget to an elm\+\_\+prefs object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set}} (Eo $\ast$obj, const char $\ast$file, const char $\ast$page)
\begin{DoxyCompactList}\small\item\em Set file and page to populate a given prefs widget\textquotesingle{}s interface. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Prefs_gaa9220046adf093b046c2002c751c0501}{elm\+\_\+prefs\+\_\+file\+\_\+get}} (const Eo $\ast$obj, const char $\ast$$\ast$file, const char $\ast$$\ast$page)
\begin{DoxyCompactList}\small\item\em Get file and page bound to a given prefs widget. \end{DoxyCompactList}\end{DoxyCompactItemize}


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


\begin{DoxyItemize}
\item prefs data and
\item prefs view.
\end{DoxyItemize}\hypertarget{group__Elm__Prefs_elm-prefs-data}{}\doxysubsection{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.\hypertarget{group__Elm__Prefs_elm-prefs-widget}{}\doxysubsection{Prefs}\label{group__Elm__Prefs_elm-prefs-widget}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth]{img/widget/prefs/preview-00}}
\end{DoxyImageNoCaption}


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


Prefs is a special widget inside Elementary. It is mainly targeted to configuration dialogs. Its viewport is blank until you associate a definition file to it. That file (usually with {\bfseries{}}.epb extension), is a binary format (Eet) one, coming from a human-\/readable textual declaration. This textual form, an {\bfseries{Elementary prefs collection}} (usually with {\bfseries{}}.epc extension), is translated to the binary form by means of the {\bfseries{prefs\+\_\+cc}} compiler.

On it one declares UI elements to populate prefs widgets, which are contained in {\bfseries{pages}} (a prefs widget is always bound to one page). Those elements get properties like\+:
\begin{DoxyItemize}
\item default value,
\item maximum and minimum ranges,
\item acceptance and denial regular expressions, for strings,
\item visibility,
\item persistence,
\item editability, etc.
\end{DoxyItemize}

Once a prefs widget is created, after elm\+\_\+prefs\+\_\+file\+\_\+set() is issued on it, all of its UI elements will get default values, declared on that file. To fetch a user\textquotesingle{}s own, personal set of those values, one gets to pair an {\bfseries{\mbox{\hyperlink{group__Elm__Prefs_elm-prefs-data}{Prefs Data}}}} handle to the prefs widget.

Personal, prefs data values with keys matching the ones present on the file passed on elm\+\_\+prefs\+\_\+file\+\_\+set() to will have their values applied to the respective UI elements of the widget.

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

This widget emits the following signals\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}page,saved\char`\"{}}\+: a given page has had its values saved back on user config file (event info is the page\textquotesingle{}s name)
\item {\ttfamily \char`\"{}page,reset\char`\"{}}\+: a given page has had its values reset (event info is the page\textquotesingle{}s name)
\item {\ttfamily \char`\"{}page,changed\char`\"{}}\+: a given page has been loaded {\bfseries{with user ({\ttfamily }.cfg) values}} (event info is the page\textquotesingle{}s name)
\item {\ttfamily \char`\"{}page,loaded\char`\"{}}\+: a given page has been loaded {\bfseries{with system ({\ttfamily }.epb) values}} (event info is the page\textquotesingle{}s name)
\item {\ttfamily \char`\"{}item,changed\char`\"{}}\+: a given page\textquotesingle{}s item has changed (event info is the item\textquotesingle{}s full hierarchical name, in the form {\ttfamily \char`\"{}page\+:subpage\+:subsubpage\+:item\char`\"{}})
\item {\ttfamily \char`\"{}action\char`\"{}}\+: an action item has been triggered (event info is the item\textquotesingle{}s full hierarchical name, in the form {\ttfamily \char`\"{}page\+:subpage\+:subsubpage\+:item\char`\"{}})
\end{DoxyItemize}

\begin{DoxyItemize}
\item epcref\end{DoxyItemize}
The following are examples on how to use prefs\+: \begin{DoxyItemize}
\item \mbox{\hyperlink{prefs_example_01}{Prefs Example 01}} \item \mbox{\hyperlink{prefs_example_02}{Prefs Example 02}} \item \mbox{\hyperlink{prefs_example_03}{Prefs Example 03}} \end{DoxyItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__Elm__Prefs_gaa03c7f82cc3c7a9b33477c48086882eb}\label{group__Elm__Prefs_gaa03c7f82cc3c7a9b33477c48086882eb}} 
\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_CLASS@{ELM\_PREFS\_CLASS}}
\index{ELM\_PREFS\_CLASS@{ELM\_PREFS\_CLASS}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{ELM\_PREFS\_CLASS}{ELM\_PREFS\_CLASS}}
{\footnotesize\ttfamily \#define ELM\+\_\+\+PREFS\+\_\+\+CLASS~elm\+\_\+prefs\+\_\+class\+\_\+get()}



Elementary preferences class. 

\mbox{\Hypertarget{group__Elm__Prefs_ga7e551f36382f52a23a00491096e50aaf}\label{group__Elm__Prefs_ga7e551f36382f52a23a00491096e50aaf}} 
\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_EVENT\_PAGE\_CHANGED@{ELM\_PREFS\_EVENT\_PAGE\_CHANGED}}
\index{ELM\_PREFS\_EVENT\_PAGE\_CHANGED@{ELM\_PREFS\_EVENT\_PAGE\_CHANGED}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{ELM\_PREFS\_EVENT\_PAGE\_CHANGED}{ELM\_PREFS\_EVENT\_PAGE\_CHANGED}}
{\footnotesize\ttfamily \#define ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+CHANGED~(\&(\+\_\+\+ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+CHANGED))}



Called when page changed. 

\begin{DoxyReturn}{Returns}
const char $\ast$ 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Prefs_ga4d22adec6c62a90824087df3ab955de9}\label{group__Elm__Prefs_ga4d22adec6c62a90824087df3ab955de9}} 
\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_EVENT\_PAGE\_SAVED@{ELM\_PREFS\_EVENT\_PAGE\_SAVED}}
\index{ELM\_PREFS\_EVENT\_PAGE\_SAVED@{ELM\_PREFS\_EVENT\_PAGE\_SAVED}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{ELM\_PREFS\_EVENT\_PAGE\_SAVED}{ELM\_PREFS\_EVENT\_PAGE\_SAVED}}
{\footnotesize\ttfamily \#define ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+SAVED~(\&(\+\_\+\+ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+SAVED))}



Called when page was saved. 

\begin{DoxyReturn}{Returns}
const char $\ast$ 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Prefs_ga91cf0abd1ec78e6697fb02437b64f489}\label{group__Elm__Prefs_ga91cf0abd1ec78e6697fb02437b64f489}} 
\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_EVENT\_PAGE\_LOADED@{ELM\_PREFS\_EVENT\_PAGE\_LOADED}}
\index{ELM\_PREFS\_EVENT\_PAGE\_LOADED@{ELM\_PREFS\_EVENT\_PAGE\_LOADED}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{ELM\_PREFS\_EVENT\_PAGE\_LOADED}{ELM\_PREFS\_EVENT\_PAGE\_LOADED}}
{\footnotesize\ttfamily \#define ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+LOADED~(\&(\+\_\+\+ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+LOADED))}



Called when page got loaded. 

\begin{DoxyReturn}{Returns}
const char $\ast$ 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Prefs_ga5415bef6ae304d4d532eca0583eb0325}\label{group__Elm__Prefs_ga5415bef6ae304d4d532eca0583eb0325}} 
\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_EVENT\_ITEM\_CHANGED@{ELM\_PREFS\_EVENT\_ITEM\_CHANGED}}
\index{ELM\_PREFS\_EVENT\_ITEM\_CHANGED@{ELM\_PREFS\_EVENT\_ITEM\_CHANGED}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{ELM\_PREFS\_EVENT\_ITEM\_CHANGED}{ELM\_PREFS\_EVENT\_ITEM\_CHANGED}}
{\footnotesize\ttfamily \#define ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+ITEM\+\_\+\+CHANGED~(\&(\+\_\+\+ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+ITEM\+\_\+\+CHANGED))}



Called when item changed. 

\begin{DoxyReturn}{Returns}
const char $\ast$ 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Prefs_gaf421428c8cbe93906786ed9dba2e368f}\label{group__Elm__Prefs_gaf421428c8cbe93906786ed9dba2e368f}} 
\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_EVENT\_ACTION@{ELM\_PREFS\_EVENT\_ACTION}}
\index{ELM\_PREFS\_EVENT\_ACTION@{ELM\_PREFS\_EVENT\_ACTION}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{ELM\_PREFS\_EVENT\_ACTION}{ELM\_PREFS\_EVENT\_ACTION}}
{\footnotesize\ttfamily \#define ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+ACTION~(\&(\+\_\+\+ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+ACTION))}



Called when action was done. 

\begin{DoxyReturn}{Returns}
const char $\ast$ 
\end{DoxyReturn}


\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}\label{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}} 
\index{Elementary Prefs@{Elementary Prefs}!Elm\_Prefs\_Data@{Elm\_Prefs\_Data}}
\index{Elm\_Prefs\_Data@{Elm\_Prefs\_Data}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{Elm\_Prefs\_Data}{Elm\_Prefs\_Data}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}}}



An Elm Prefs Data handle. 

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_gac195106489391e7d3d46d4b81636539e}\label{group__Elm__Prefs_gac195106489391e7d3d46d4b81636539e}} 
\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}}
\doxysubsubsection{\texorpdfstring{Elm\_Prefs\_Data\_Event\_Changed}{Elm\_Prefs\_Data\_Event\_Changed}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__Prefs_gac195106489391e7d3d46d4b81636539e}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed}}}



An Elm Prefs \mbox{\hyperlink{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a2d063dae5719dca11f5f458042e2bfca}{ELM\+\_\+\+PREFS\+\_\+\+DATA\+\_\+\+EVENT\+\_\+\+ITEM\+\_\+\+CHANGED}} event info data blob. 

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


\doxysubsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__Elm__Prefs_ga15d0fab20f5ec2f85fd628c25e5b62e0}\label{group__Elm__Prefs_ga15d0fab20f5ec2f85fd628c25e5b62e0}} 
\index{Elementary Prefs@{Elementary Prefs}!Elm\_Prefs\_Reset\_Mode@{Elm\_Prefs\_Reset\_Mode}}
\index{Elm\_Prefs\_Reset\_Mode@{Elm\_Prefs\_Reset\_Mode}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{Elm\_Prefs\_Reset\_Mode}{Elm\_Prefs\_Reset\_Mode}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Elm__Prefs_ga15d0fab20f5ec2f85fd628c25e5b62e0}{Elm\+\_\+\+Prefs\+\_\+\+Reset\+\_\+\+Mode}}}



Modes of resetting a prefs widget. 

see elm\+\_\+prefs\+\_\+reset()

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_RESET\_DEFAULTS@{ELM\_PREFS\_RESET\_DEFAULTS}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_RESET\_DEFAULTS@{ELM\_PREFS\_RESET\_DEFAULTS}}}\mbox{\Hypertarget{group__Elm__Prefs_gga15d0fab20f5ec2f85fd628c25e5b62e0aaf5d2a29c537b4cecd2dad2d0e24ff1f}\label{group__Elm__Prefs_gga15d0fab20f5ec2f85fd628c25e5b62e0aaf5d2a29c537b4cecd2dad2d0e24ff1f}} 
ELM\+\_\+\+PREFS\+\_\+\+RESET\+\_\+\+DEFAULTS&reset to default values, declared in its {\bfseries{.epb}} file \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_RESET\_LAST@{ELM\_PREFS\_RESET\_LAST}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_RESET\_LAST@{ELM\_PREFS\_RESET\_LAST}}}\mbox{\Hypertarget{group__Elm__Prefs_gga15d0fab20f5ec2f85fd628c25e5b62e0a640734919e7d972320bb2a69e93ea2f0}\label{group__Elm__Prefs_gga15d0fab20f5ec2f85fd628c25e5b62e0a640734919e7d972320bb2a69e93ea2f0}} 
ELM\+\_\+\+PREFS\+\_\+\+RESET\+\_\+\+LAST&prefs will keep a small history of changes, so this resets back to last batch of changes on the UI elements. it does {\bfseries{not}} work on autosave mode \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{group__Elm__Prefs_ga7525bee64184478acad1e807c3e570ae}\label{group__Elm__Prefs_ga7525bee64184478acad1e807c3e570ae}} 
\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}}
\doxysubsubsection{\texorpdfstring{Elm\_Prefs\_Item\_Type}{Elm\_Prefs\_Item\_Type}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Elm__Prefs_ga7525bee64184478acad1e807c3e570ae}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}}}



Elm Prefs item types. 

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_UNKNOWN@{ELM\_PREFS\_TYPE\_UNKNOWN}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_UNKNOWN@{ELM\_PREFS\_TYPE\_UNKNOWN}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea93fd74dd99dcfbc4b00e6598b7738f85}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea93fd74dd99dcfbc4b00e6598b7738f85}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+UNKNOWN&Unknown type. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_ACTION@{ELM\_PREFS\_TYPE\_ACTION}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_ACTION@{ELM\_PREFS\_TYPE\_ACTION}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeaee63c0cc336f5b194adb80fea94171dd}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeaee63c0cc336f5b194adb80fea94171dd}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+ACTION&action type, bound to button-\/like UI elements \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_BOOL@{ELM\_PREFS\_TYPE\_BOOL}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_BOOL@{ELM\_PREFS\_TYPE\_BOOL}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea07b1f0d5b50d3781183c0c103ae7acab}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea07b1f0d5b50d3781183c0c103ae7acab}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+BOOL&boolean type, bound to checkbox-\/like UI elements \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_INT@{ELM\_PREFS\_TYPE\_INT}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_INT@{ELM\_PREFS\_TYPE\_INT}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aead23bb8b0c88eded9dacbf4dc05f6de25}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aead23bb8b0c88eded9dacbf4dc05f6de25}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+INT&integer type, bound to spinner-\/like UI elements \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_FLOAT@{ELM\_PREFS\_TYPE\_FLOAT}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_FLOAT@{ELM\_PREFS\_TYPE\_FLOAT}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea77c2dd8eea761daf46746ec242b482e5}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea77c2dd8eea761daf46746ec242b482e5}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+FLOAT&floating point type, bound to spinner-\/like UI elements \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_LABEL@{ELM\_PREFS\_TYPE\_LABEL}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_LABEL@{ELM\_PREFS\_TYPE\_LABEL}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea3ccecbd12d4cade7240bf652b138f886}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea3ccecbd12d4cade7240bf652b138f886}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+LABEL&label type, bound to read-\/only, label UI elements \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_DATE@{ELM\_PREFS\_TYPE\_DATE}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_DATE@{ELM\_PREFS\_TYPE\_DATE}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeafb2780bf92c67498d5cdb3cd043d5ed3}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeafb2780bf92c67498d5cdb3cd043d5ed3}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+DATE&date type, bound to date selection UI elements \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_TEXT@{ELM\_PREFS\_TYPE\_TEXT}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_TEXT@{ELM\_PREFS\_TYPE\_TEXT}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea801e093061e4015ebb268c3966642cc7}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea801e093061e4015ebb268c3966642cc7}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+TEXT&text type, bound to single-\/line, text entry UI elements \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_TEXTAREA@{ELM\_PREFS\_TYPE\_TEXTAREA}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_TEXTAREA@{ELM\_PREFS\_TYPE\_TEXTAREA}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeae60e813e630393efdb1264bd2c6f6064}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeae60e813e630393efdb1264bd2c6f6064}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+TEXTAREA&text area type, bound to multi-\/line, text entry UI elements \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_PAGE@{ELM\_PREFS\_TYPE\_PAGE}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_PAGE@{ELM\_PREFS\_TYPE\_PAGE}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeaf2737ebd1cdc0152aea2fc5c977cb778}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeaf2737ebd1cdc0152aea2fc5c977cb778}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+PAGE&page type, used to nest pages \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_RESET@{ELM\_PREFS\_TYPE\_RESET}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_RESET@{ELM\_PREFS\_TYPE\_RESET}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea88c65a578f1bee5a1daf952b32db32ed}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea88c65a578f1bee5a1daf952b32db32ed}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+RESET&values resetting trigger type, bound to button-\/like UI elements \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_SAVE@{ELM\_PREFS\_TYPE\_SAVE}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_SAVE@{ELM\_PREFS\_TYPE\_SAVE}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeaed45e66469b4d9176edaac3c2d6693f9}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeaed45e66469b4d9176edaac3c2d6693f9}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+SAVE&saving trigger type, bound to button-\/like UI elements \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_SEPARATOR@{ELM\_PREFS\_TYPE\_SEPARATOR}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_SEPARATOR@{ELM\_PREFS\_TYPE\_SEPARATOR}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeacbef5c7a2fbdb5e7243e58856238efcb}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aeacbef5c7a2fbdb5e7243e58856238efcb}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+SEPARATOR&separator type, bound to separator-\/like UI elements \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_TYPE\_SWALLOW@{ELM\_PREFS\_TYPE\_SWALLOW}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_TYPE\_SWALLOW@{ELM\_PREFS\_TYPE\_SWALLOW}}}\mbox{\Hypertarget{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea366003fb4c850653b296769b9de04e31}\label{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea366003fb4c850653b296769b9de04e31}} 
ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+SWALLOW&swallow type, bound to an empty \textquotesingle{}spot\textquotesingle{} on the UI meant to receive and display external content \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}\label{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}} 
\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}}
\doxysubsubsection{\texorpdfstring{Elm\_Prefs\_Data\_Event\_Type}{Elm\_Prefs\_Data\_Event\_Type}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}}}



Types of events a given prefs data handle may issue. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_ga2435876857d1a36d379e23040e389172}{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_DATA\_EVENT\_ITEM\_CHANGED@{ELM\_PREFS\_DATA\_EVENT\_ITEM\_CHANGED}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_DATA\_EVENT\_ITEM\_CHANGED@{ELM\_PREFS\_DATA\_EVENT\_ITEM\_CHANGED}}}\mbox{\Hypertarget{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a2d063dae5719dca11f5f458042e2bfca}\label{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a2d063dae5719dca11f5f458042e2bfca}} 
ELM\+\_\+\+PREFS\+\_\+\+DATA\+\_\+\+EVENT\+\_\+\+ITEM\+\_\+\+CHANGED&The group of values has been automatically saved (event info is the group\textquotesingle{}s name (key)) \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELM\_PREFS\_DATA\_EVENT\_LAST@{ELM\_PREFS\_DATA\_EVENT\_LAST}!Elementary Prefs@{Elementary Prefs}}\index{Elementary Prefs@{Elementary Prefs}!ELM\_PREFS\_DATA\_EVENT\_LAST@{ELM\_PREFS\_DATA\_EVENT\_LAST}}}\mbox{\Hypertarget{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a99414132275037683257dc257407f72c}\label{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a99414132275037683257dc257407f72c}} 
ELM\+\_\+\+PREFS\+\_\+\+DATA\+\_\+\+EVENT\+\_\+\+LAST&A given item (prefs data value) has been changed (event info is an \mbox{\hyperlink{group__Elm__Prefs_gac195106489391e7d3d46d4b81636539e}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed}} pointer) sentinel value, don\textquotesingle{}t use it \\
\hline

\end{DoxyEnumFields}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__Prefs_ga403f94943d89e57101f034ed381c5134}\label{group__Elm__Prefs_ga403f94943d89e57101f034ed381c5134}} 
\index{Elementary Prefs@{Elementary Prefs}!elm\_prefs\_add@{elm\_prefs\_add}}
\index{elm\_prefs\_add@{elm\_prefs\_add}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_add()}{elm\_prefs\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ elm\+\_\+prefs\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{parent }\end{DoxyParamCaption})}



Add a new prefs widget. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent widget to hold the new one \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new object or {\ttfamily NULL}, on errors
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Elm__Prefs_gae7fab97e239ccdb719d6eae0ee3fd5c0}\label{group__Elm__Prefs_gae7fab97e239ccdb719d6eae0ee3fd5c0}} 
\index{Elementary Prefs@{Elementary Prefs}!elm\_prefs\_item\_iface\_register@{elm\_prefs\_item\_iface\_register}}
\index{elm\_prefs\_item\_iface\_register@{elm\_prefs\_item\_iface\_register}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_item\_iface\_register()}{elm\_prefs\_item\_iface\_register()}}
{\footnotesize\ttfamily void elm\+\_\+prefs\+\_\+item\+\_\+iface\+\_\+register (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface__Info}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+\_\+\+Info}} $\ast$}]{array }\end{DoxyParamCaption})}



Mass-\/register widgets implementing prefs {\bfseries{items}} interfaces. 


\begin{DoxyParams}{Parameters}
{\em array} & An array of \#\+Elm\+\_\+\+Prefs\+\_\+\+Iface\+\_\+\+Info structs, {\ttfamily NULL} terminated.\\
\hline
\end{DoxyParams}
This will register all item interfaces declared on {\itshape array} in Elementary, so that the prefs widget will recognize them on {\ttfamily }.epc files {\ttfamily \textquotesingle{}widget\+:\textquotesingle{}} (item) declarations.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_ga7dbd06fad8e44bc6143b5a637ab4f899}{elm\+\_\+prefs\+\_\+item\+\_\+iface\+\_\+unregister()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface_a80a01b8632acecd4381cb261cd2e2477}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+::abi\+\_\+version}}, \mbox{\hyperlink{group__Eina__Hash__Group_ga5e72d0c5397936512407ce8cd66e98d6}{eina\+\_\+hash\+\_\+add()}}, \mbox{\hyperlink{group__Eina__Hash__Group_ga84a3b957ede675cb03f3c344695c1282}{eina\+\_\+hash\+\_\+direct\+\_\+add()}}, \mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea93fd74dd99dcfbc4b00e6598b7738f85}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+UNKNOWN}}, \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface__Info_a277eaae3f9b97a1b859dddbf1cf1a5d5}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+\_\+\+Info\+::info}}, \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface_a84484623a0f810c2045e4b0b5a24472e}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+::types}}, and \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface__Info_a2812cdb959646b96c5d30d5a4ac0aa67}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+\_\+\+Info\+::widget\+\_\+name}}.

\mbox{\Hypertarget{group__Elm__Prefs_ga7dbd06fad8e44bc6143b5a637ab4f899}\label{group__Elm__Prefs_ga7dbd06fad8e44bc6143b5a637ab4f899}} 
\index{Elementary Prefs@{Elementary Prefs}!elm\_prefs\_item\_iface\_unregister@{elm\_prefs\_item\_iface\_unregister}}
\index{elm\_prefs\_item\_iface\_unregister@{elm\_prefs\_item\_iface\_unregister}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_item\_iface\_unregister()}{elm\_prefs\_item\_iface\_unregister()}}
{\footnotesize\ttfamily void elm\+\_\+prefs\+\_\+item\+\_\+iface\+\_\+unregister (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface__Info}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+\_\+\+Info}} $\ast$}]{array }\end{DoxyParamCaption})}



Mass-\/unregister widgets implementing prefs {\bfseries{items}} interfaces. 


\begin{DoxyParams}{Parameters}
{\em array} & An array of \#\+Elm\+\_\+\+Prefs\+\_\+\+Iface\+\_\+\+Info structs, {\ttfamily NULL} terminated.\\
\hline
\end{DoxyParams}
This will unregister all item interfaces declared on {\itshape array} in Elementary, given they had been previously registered.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_gae7fab97e239ccdb719d6eae0ee3fd5c0}{elm\+\_\+prefs\+\_\+item\+\_\+iface\+\_\+register()}} for more details
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Hash__Group_ga315f85c5deae8e099e5a5a17d3557456}{eina\+\_\+hash\+\_\+del()}}, \mbox{\hyperlink{group__Elm__Prefs_gga7525bee64184478acad1e807c3e570aea93fd74dd99dcfbc4b00e6598b7738f85}{ELM\+\_\+\+PREFS\+\_\+\+TYPE\+\_\+\+UNKNOWN}}, \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface__Info_a277eaae3f9b97a1b859dddbf1cf1a5d5}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+\_\+\+Info\+::info}}, \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface_a84484623a0f810c2045e4b0b5a24472e}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+::types}}, and \mbox{\hyperlink{struct__Elm__Prefs__Item__Iface__Info_a2812cdb959646b96c5d30d5a4ac0aa67}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Iface\+\_\+\+Info\+::widget\+\_\+name}}.

\mbox{\Hypertarget{group__Elm__Prefs_gad2390b92c0d279545f78ff7224560949}\label{group__Elm__Prefs_gad2390b92c0d279545f78ff7224560949}} 
\index{Elementary Prefs@{Elementary Prefs}!elm\_prefs\_page\_iface\_register@{elm\_prefs\_page\_iface\_register}}
\index{elm\_prefs\_page\_iface\_register@{elm\_prefs\_page\_iface\_register}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_page\_iface\_register()}{elm\_prefs\_page\_iface\_register()}}
{\footnotesize\ttfamily void elm\+\_\+prefs\+\_\+page\+\_\+iface\+\_\+register (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface__Info}{Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface\+\_\+\+Info}} $\ast$}]{array }\end{DoxyParamCaption})}



Mass-\/register widgets implementing prefs {\bfseries{pages}} interfaces. 


\begin{DoxyParams}{Parameters}
{\em array} & An array of \#\+Elm\+\_\+\+Prefs\+\_\+\+Iface\+\_\+\+Info structs, {\ttfamily NULL} terminated.\\
\hline
\end{DoxyParams}
This will register all page interfaces declared on {\itshape array} in Elementary, so that the prefs widget will recognize them on {\ttfamily }.epc files {\ttfamily \textquotesingle{}widget\+:\textquotesingle{}} (page) declarations.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_ga3e005848ad4cbfc19e4fcc2c34ecbebe}{elm\+\_\+prefs\+\_\+page\+\_\+iface\+\_\+unregister()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface_affbf60ec3fa09d5bb98f42084bf3363f}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface\+::abi\+\_\+version}}, \mbox{\hyperlink{group__Eina__Hash__Group_ga84a3b957ede675cb03f3c344695c1282}{eina\+\_\+hash\+\_\+direct\+\_\+add()}}, \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface__Info_a7deb3afe3738daf71eb8f3d50f631edb}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface\+\_\+\+Info\+::info}}, and \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface__Info_a95c6960e49102bf662fde612a4f229de}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface\+\_\+\+Info\+::widget\+\_\+name}}.

\mbox{\Hypertarget{group__Elm__Prefs_ga3e005848ad4cbfc19e4fcc2c34ecbebe}\label{group__Elm__Prefs_ga3e005848ad4cbfc19e4fcc2c34ecbebe}} 
\index{Elementary Prefs@{Elementary Prefs}!elm\_prefs\_page\_iface\_unregister@{elm\_prefs\_page\_iface\_unregister}}
\index{elm\_prefs\_page\_iface\_unregister@{elm\_prefs\_page\_iface\_unregister}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_page\_iface\_unregister()}{elm\_prefs\_page\_iface\_unregister()}}
{\footnotesize\ttfamily void elm\+\_\+prefs\+\_\+page\+\_\+iface\+\_\+unregister (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface__Info}{Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface\+\_\+\+Info}} $\ast$}]{array }\end{DoxyParamCaption})}



Mass-\/unregister widgets implementing prefs {\bfseries{pages}} interfaces. 


\begin{DoxyParams}{Parameters}
{\em array} & An array of \#\+Elm\+\_\+\+Prefs\+\_\+\+Iface\+\_\+\+Info structs, {\ttfamily NULL} terminated.\\
\hline
\end{DoxyParams}
This will unregister all page interfaces declared on {\itshape array} in Elementary, given they had been previously registered.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_gad2390b92c0d279545f78ff7224560949}{elm\+\_\+prefs\+\_\+page\+\_\+iface\+\_\+register()}} for more details
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Hash__Group_ga315f85c5deae8e099e5a5a17d3557456}{eina\+\_\+hash\+\_\+del()}}, \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface__Info_a7deb3afe3738daf71eb8f3d50f631edb}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface\+\_\+\+Info\+::info}}, and \mbox{\hyperlink{struct__Elm__Prefs__Page__Iface__Info_a95c6960e49102bf662fde612a4f229de}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Page\+\_\+\+Iface\+\_\+\+Info\+::widget\+\_\+name}}.

\mbox{\Hypertarget{group__Elm__Prefs_ga3f5a79c40a17ca1565503a30f810c463}\label{group__Elm__Prefs_ga3f5a79c40a17ca1565503a30f810c463}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_data\_new()}{elm\_prefs\_data\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$ elm\+\_\+prefs\+\_\+data\+\_\+new (\begin{DoxyParamCaption}\item[{const char $\ast$}]{data\+\_\+file,  }\item[{const char $\ast$}]{key,  }\item[{\mbox{\hyperlink{group__Eet__File__Group_gaaffe4b3f04b9306abf105c89c8934331}{Eet\+\_\+\+File\+\_\+\+Mode}}}]{mode }\end{DoxyParamCaption})}



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 NULL}, \mbox{\hyperlink{group__Efreet__Base_gaf90fc6423d4c23d282ba963f1ab7b078}{efreet\+\_\+config\+\_\+home\+\_\+get()}}/$<$appname$>$/preferences.cfg will be used, by default. If {\itshape key} is {\ttfamily NULL}, it is considered a default key -- \char`\"{}main\char`\"{}.

If {\itshape mode} is {\ttfamily EET\+\_\+\+FILE\+\_\+\+MODE\+\_\+\+READ}, autosave will be always false for this elm\+\_\+prefs\+\_\+data handle. If {\itshape mode} is {\ttfamily EET\+\_\+\+FILE\+\_\+\+MODE\+\_\+\+WRITE}, 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 \mbox{\hyperlink{group__Elm__Prefs_ga21c01c94ec00f6699eab2bd378ecc2dd}{elm\+\_\+prefs\+\_\+data\+\_\+ref()}}). Use \mbox{\hyperlink{group__Elm__Prefs_ga6a6905e5914a263a4e0195bae6c0b37d}{elm\+\_\+prefs\+\_\+data\+\_\+unref()}} to delete it.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eet__File__Group_ga1675fef1f6012c1e02ae313d13dc3e03}{eet\+\_\+close()}}, \mbox{\hyperlink{group__Eet__File__Group_ggaa8e1a7af50fefaf15eb2f69543d24998a416f7e9a76b8131a44bbeedb13060c81}{EET\+\_\+\+FILE\+\_\+\+MODE\+\_\+\+READ}}, \mbox{\hyperlink{group__Eet__File__Group_ggaa8e1a7af50fefaf15eb2f69543d24998a763d29c19960a4e0d4eb7bc7bb512481}{EET\+\_\+\+FILE\+\_\+\+MODE\+\_\+\+READ\+\_\+\+WRITE}}, \mbox{\hyperlink{group__Eet__File__Group_ggaa8e1a7af50fefaf15eb2f69543d24998a8f395f56fba48be007c65be51d799ee9}{EET\+\_\+\+FILE\+\_\+\+MODE\+\_\+\+WRITE}}, \mbox{\hyperlink{group__Eet__File__Group_ga675160a758832ee812edf7f64ed30ee6}{eet\+\_\+open()}}, \mbox{\hyperlink{group__Efreet__Base_gaf90fc6423d4c23d282ba963f1ab7b078}{efreet\+\_\+config\+\_\+home\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Hash__Group_ga9fdef2647ff77d42d2b3271c1f71030e}{eina\+\_\+hash\+\_\+string\+\_\+superfast\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Magic__Group_ga470f5ce28eaaf59ce80523be8471c5e0}{EINA\+\_\+\+MAGIC\+\_\+\+SET}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1dbe0d7e3c6b10f4bd49a2a132d73269}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+TRUE\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Elm__Prefs_gab0c465a39f83015f99e4cca9c66b39f2}\label{group__Elm__Prefs_gab0c465a39f83015f99e4cca9c66b39f2}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_data\_version\_set()}{elm\_prefs\_data\_version\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$}]{prefs\+\_\+data,  }\item[{unsigned int}]{version }\end{DoxyParamCaption})}



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 EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} otherwise
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_gadd1b60b4af2e2937883bf0fff751fd78}{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+get()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Elm__Prefs_gadd1b60b4af2e2937883bf0fff751fd78}\label{group__Elm__Prefs_gadd1b60b4af2e2937883bf0fff751fd78}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_data\_version\_get()}{elm\_prefs\_data\_version\_get()}}
{\footnotesize\ttfamily unsigned int elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$}]{prefs\+\_\+data }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Elm__Prefs_gab0c465a39f83015f99e4cca9c66b39f2}{elm\+\_\+prefs\+\_\+data\+\_\+version\+\_\+set()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_ga21c01c94ec00f6699eab2bd378ecc2dd}\label{group__Elm__Prefs_ga21c01c94ec00f6699eab2bd378ecc2dd}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_data\_ref()}{elm\_prefs\_data\_ref()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$ elm\+\_\+prefs\+\_\+data\+\_\+ref (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$}]{prefs\+\_\+data }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{group__Elm__Prefs_ga6a6905e5914a263a4e0195bae6c0b37d}{elm\+\_\+prefs\+\_\+data\+\_\+unref()}}) will it be deleted.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_ga6a6905e5914a263a4e0195bae6c0b37d}\label{group__Elm__Prefs_ga6a6905e5914a263a4e0195bae6c0b37d}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_data\_unref()}{elm\_prefs\_data\_unref()}}
{\footnotesize\ttfamily void elm\+\_\+prefs\+\_\+data\+\_\+unref (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$}]{prefs\+\_\+data }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Elm__Prefs_ga21c01c94ec00f6699eab2bd378ecc2dd}{elm\+\_\+prefs\+\_\+data\+\_\+ref()}} for more details.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_gaae2c2d085d8c0e9d6c24ff580807a54e}\label{group__Elm__Prefs_gaae2c2d085d8c0e9d6c24ff580807a54e}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_data\_value\_set()}{elm\_prefs\_data\_value\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$}]{prefs\+\_\+data,  }\item[{const char $\ast$}]{path,  }\item[{const \mbox{\hyperlink{group__Elm__Prefs_ga7525bee64184478acad1e807c3e570ae}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}}}]{type,  }\item[{const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value }\end{DoxyParamCaption})}



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 NULL}. On the second case, the call will actually {\bfseries{delete}} the given key from {\itshape prefs\+\_\+data}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} 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 \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Hash__Group_gadcb1a5cd7604dd23c8c9c1d3c4b773b5}{eina\+\_\+hash\+\_\+del\+\_\+by\+\_\+key()}}, \mbox{\hyperlink{group__Eina__Hash__Group_ga6e9dc02a249e1fcdb64e38e7dc47afb3}{eina\+\_\+hash\+\_\+find()}}, \mbox{\hyperlink{group__Eina__Hash__Group_gaec07a67481f4a4dc87f08d37a05a26f9}{eina\+\_\+hash\+\_\+set()}}, \mbox{\hyperlink{group__Eina__Hash__Group_ga9fdef2647ff77d42d2b3271c1f71030e}{eina\+\_\+hash\+\_\+string\+\_\+superfast\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, \mbox{\hyperlink{group__Eina__Value__Value__Group_ga7000fb4fa0ca5b1d73a15820ddb0d560}{eina\+\_\+value\+\_\+copy()}}, \mbox{\hyperlink{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a2d063dae5719dca11f5f458042e2bfca}{ELM\+\_\+\+PREFS\+\_\+\+DATA\+\_\+\+EVENT\+\_\+\+ITEM\+\_\+\+CHANGED}}, and \mbox{\hyperlink{struct__Elm__Prefs__Data__Event__Changed_ade1c3c9dd81181ff14648028f8cce0ca}{\+\_\+\+Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Changed\+::value}}.

\mbox{\Hypertarget{group__Elm__Prefs_ga2b692083e7d307512858f1adc2563519}\label{group__Elm__Prefs_ga2b692083e7d307512858f1adc2563519}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_data\_value\_get()}{elm\_prefs\_data\_value\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$}]{prefs\+\_\+data,  }\item[{const char $\ast$}]{path,  }\item[{\mbox{\hyperlink{group__Elm__Prefs_ga7525bee64184478acad1e807c3e570ae}{Elm\+\_\+\+Prefs\+\_\+\+Item\+\_\+\+Type}} $\ast$}]{type,  }\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value }\end{DoxyParamCaption})}



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 EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} 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}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Hash__Group_ga6e9dc02a249e1fcdb64e38e7dc47afb3}{eina\+\_\+hash\+\_\+find()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, and \mbox{\hyperlink{group__Eina__Value__Value__Group_ga7000fb4fa0ca5b1d73a15820ddb0d560}{eina\+\_\+value\+\_\+copy()}}.

\mbox{\Hypertarget{group__Elm__Prefs_ga2435876857d1a36d379e23040e389172}\label{group__Elm__Prefs_ga2435876857d1a36d379e23040e389172}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_data\_event\_callback\_add()}{elm\_prefs\_data\_event\_callback\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$}]{prefs\+\_\+data,  }\item[{\mbox{\hyperlink{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}}}]{type,  }\item[{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Cb}]{cb,  }\item[{const void $\ast$}]{cb\+\_\+data }\end{DoxyParamCaption})}



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 EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} otherwise
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}} for more details on the events. 

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


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_gaef650e653f43178ecfee2c661bea7a85}{eina\+\_\+inlist\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}{EINA\+\_\+\+INLIST\+\_\+\+GET}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1dbe0d7e3c6b10f4bd49a2a132d73269}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+TRUE\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, \mbox{\hyperlink{group__Elm__Prefs_ggaed08ad6911d81c2bfb37200d2fada377a99414132275037683257dc257407f72c}{ELM\+\_\+\+PREFS\+\_\+\+DATA\+\_\+\+EVENT\+\_\+\+LAST}}, and \mbox{\hyperlink{struct__Eina__Value_a1fd07b3214c901eec252a786cca47239}{\+\_\+\+Eina\+\_\+\+Value\+::type}}.

\mbox{\Hypertarget{group__Elm__Prefs_gafeffd07fade957a5c92e217e4436de99}\label{group__Elm__Prefs_gafeffd07fade957a5c92e217e4436de99}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_data\_event\_callback\_del()}{elm\_prefs\_data\_event\_callback\_del()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$}]{prefs\+\_\+data,  }\item[{\mbox{\hyperlink{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}}}]{type,  }\item[{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Cb}]{cb,  }\item[{const void $\ast$}]{cb\+\_\+data }\end{DoxyParamCaption})}



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 EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} otherwise
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_gaed08ad6911d81c2bfb37200d2fada377}{Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type}} for more details on the events. 

\mbox{\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}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga65e496b9b16d527d23c1d735652b4e62}{EINA\+\_\+\+INLIST\+\_\+\+FOREACH}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}{EINA\+\_\+\+INLIST\+\_\+\+GET}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_gaf885b08d5b5a750a901f3780d3c65338}{eina\+\_\+inlist\+\_\+remove()}}, \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, and \mbox{\hyperlink{struct__Eina__Value_a1fd07b3214c901eec252a786cca47239}{\+\_\+\+Eina\+\_\+\+Value\+::type}}.

\mbox{\Hypertarget{group__Elm__Prefs_ga8f845185f5505ac07369e89c5d2abcad}\label{group__Elm__Prefs_ga8f845185f5505ac07369e89c5d2abcad}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_data\_autosave\_set()}{elm\_prefs\_data\_autosave\_set()}}
{\footnotesize\ttfamily void elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$}]{prefs\+\_\+data,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{autosave }\end{DoxyParamCaption})}



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 EINA\+\_\+\+TRUE} to save automatically, {\ttfamily EINA\+\_\+\+FALSE} otherwise.\\
\hline
\end{DoxyParams}
If {\itshape autosave} is {\ttfamily EINA\+\_\+\+TRUE}, every call to \mbox{\hyperlink{group__Elm__Prefs_gaae2c2d085d8c0e9d6c24ff580807a54e}{elm\+\_\+prefs\+\_\+data\+\_\+value\+\_\+set()}} will implicitly issue \mbox{\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 EET\+\_\+\+FILE\+\_\+\+MODE\+\_\+\+READ -- auto saving will be always disabled in this mode, as it can\textquotesingle{}t write back.
\end{DoxyWarning}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_ga92e6caef11911cc461959c545f7397d6}{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+get()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Ecore__Poller__Group_ga9ce7d4becc2fb4cc08e07e659c332f27}{ecore\+\_\+poller\+\_\+add()}}, \mbox{\hyperlink{group__Ecore__Poller__Group_gga40d67f547376373ee34363b825874088a022dfec751388e380cf01621bd0f797f}{ECORE\+\_\+\+POLLER\+\_\+\+CORE}}, \mbox{\hyperlink{group__Ecore__Poller__Group_ga5284994ef29eb44342f9dc87c855139b}{ecore\+\_\+poller\+\_\+del()}}, and \mbox{\hyperlink{group__Eet__File__Group_ggaa8e1a7af50fefaf15eb2f69543d24998a416f7e9a76b8131a44bbeedb13060c81}{EET\+\_\+\+FILE\+\_\+\+MODE\+\_\+\+READ}}.

\mbox{\Hypertarget{group__Elm__Prefs_ga92e6caef11911cc461959c545f7397d6}\label{group__Elm__Prefs_ga92e6caef11911cc461959c545f7397d6}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_data\_autosave\_get()}{elm\_prefs\_data\_autosave\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$}]{prefs\+\_\+data }\end{DoxyParamCaption})}



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 EINA\+\_\+\+TRUE} if {\itshape prefs\+\_\+data} is saving automatically, {\ttfamily EINA\+\_\+\+FALSE} otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_ga8f845185f5505ac07369e89c5d2abcad}{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.

\mbox{\Hypertarget{group__Elm__Prefs_ga8e1e70c36f02027d6446c6188b9f954e}\label{group__Elm__Prefs_ga8e1e70c36f02027d6446c6188b9f954e}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_data\_save()}{elm\_prefs\_data\_save()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+prefs\+\_\+data\+\_\+save (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$}]{prefs\+\_\+data,  }\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{key }\end{DoxyParamCaption})}



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 NULL} means same file as it was opened with) \\
\hline
{\em key} & The under which to save values ({\ttfamily NULL} means the same key as it was opened with) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_ga8f845185f5505ac07369e89c5d2abcad}{elm\+\_\+prefs\+\_\+data\+\_\+autosave\+\_\+set()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Ecore__Poller__Group_ga5284994ef29eb44342f9dc87c855139b}{ecore\+\_\+poller\+\_\+del()}}, \mbox{\hyperlink{group__Eet__File__Group_ggaa8e1a7af50fefaf15eb2f69543d24998a416f7e9a76b8131a44bbeedb13060c81}{EET\+\_\+\+FILE\+\_\+\+MODE\+\_\+\+READ}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Elm__Prefs_gaa31c60513c67771a33a1b7fc588505a7}\label{group__Elm__Prefs_gaa31c60513c67771a33a1b7fc588505a7}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_data\_set()}{elm\_obj\_prefs\_data\_set()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+set (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$}]{data }\end{DoxyParamCaption})}



Set user data for a given prefs widget. 

Once a prefs widget is created, after elm\+\_\+prefs\+\_\+file\+\_\+set() is issued on it, all of its UI elements will get default values, when declared on that file. To fetch a 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 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 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 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{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ 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}
\mbox{\Hypertarget{group__Elm__Prefs_gaf4edef669b4d88acc68e4ae8aadb798f}\label{group__Elm__Prefs_gaf4edef669b4d88acc68e4ae8aadb798f}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_data\_get()}{elm\_obj\_prefs\_data\_get()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Elm__Prefs_ga7e2cbea5a9696262669748533f578a53}{Elm\+\_\+\+Prefs\+\_\+\+Data}} $\ast$ elm\+\_\+obj\+\_\+prefs\+\_\+data\+\_\+get (\begin{DoxyParamCaption}\item[{const Eo $\ast$}]{obj }\end{DoxyParamCaption})}



Set user data for a given prefs widget. 

Once a prefs widget is created, after elm\+\_\+prefs\+\_\+file\+\_\+set() is issued on it, all of its UI elements will get default values, when declared on that file. To fetch a 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 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 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 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{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A valid prefs\+\_\+data handle
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_gabf4485b5fa98022ea41effb88c51e054}\label{group__Elm__Prefs_gabf4485b5fa98022ea41effb88c51e054}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_autosave\_set()}{elm\_obj\_prefs\_autosave\_set()}}
{\footnotesize\ttfamily EOAPI void elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+set (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{autosave }\end{DoxyParamCaption})}



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 elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set(), every Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type.\+ELM\+\_\+\+PREFS\+\_\+\+DATA\+\_\+\+EVENT\+\_\+\+ITEM\+\_\+\+CHANGED 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{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em autosave} & {\ttfamily true} to save automatically, {\ttfamily false} otherwise.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_ga73245d65af0a5c60023f61dde90b2a9a}\label{group__Elm__Prefs_ga73245d65af0a5c60023f61dde90b2a9a}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_autosave\_get()}{elm\_obj\_prefs\_autosave\_get()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+obj\+\_\+prefs\+\_\+autosave\+\_\+get (\begin{DoxyParamCaption}\item[{const Eo $\ast$}]{obj }\end{DoxyParamCaption})}



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 elm\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set(), every Elm\+\_\+\+Prefs\+\_\+\+Data\+\_\+\+Event\+\_\+\+Type.\+ELM\+\_\+\+PREFS\+\_\+\+DATA\+\_\+\+EVENT\+\_\+\+ITEM\+\_\+\+CHANGED 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{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} to save automatically, {\ttfamily false} otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_ga9f49ac359045203e2191811857007339}\label{group__Elm__Prefs_ga9f49ac359045203e2191811857007339}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_reset()}{elm\_obj\_prefs\_reset()}}
{\footnotesize\ttfamily EOAPI void elm\+\_\+obj\+\_\+prefs\+\_\+reset (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Elm__Prefs_ga15d0fab20f5ec2f85fd628c25e5b62e0}{Elm\+\_\+\+Prefs\+\_\+\+Reset\+\_\+\+Mode}}}]{mode }\end{DoxyParamCaption})}



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

As can be seen on \mbox{\hyperlink{group__Elm__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{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em mode} & The reset mode to apply on {\ttfamily prefs} \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_gaa5c02f573991d0c38d7bf39fc131e140}\label{group__Elm__Prefs_gaa5c02f573991d0c38d7bf39fc131e140}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_item\_value\_set()}{elm\_obj\_prefs\_item\_value\_set()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+set (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{name,  }\item[{const \mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value }\end{DoxyParamCaption})}



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

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


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em name} & The name of the item (as declared in the prefs collection) \\
\hline
\mbox{\texttt{ 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}
\mbox{\Hypertarget{group__Elm__Prefs_gadc012ac9660cd8faf7d22da0bdf352c2}\label{group__Elm__Prefs_gadc012ac9660cd8faf7d22da0bdf352c2}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_item\_value\_get()}{elm\_obj\_prefs\_item\_value\_get()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+value\+\_\+get (\begin{DoxyParamCaption}\item[{const Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{name,  }\item[{\mbox{\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\+\_\+\+Value}} $\ast$}]{value }\end{DoxyParamCaption})}



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{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em name} & The name of the item (as declared in the prefs collection) to get value from \\
\hline
\mbox{\texttt{ 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}
\mbox{\Hypertarget{group__Elm__Prefs_ga0b54defd01b8a4c3d2853021d55edd4f}\label{group__Elm__Prefs_ga0b54defd01b8a4c3d2853021d55edd4f}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_item\_object\_get()}{elm\_obj\_prefs\_item\_object\_get()}}
{\footnotesize\ttfamily EOAPI const \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$ elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+object\+\_\+get (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



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{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ 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 NULL}, otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_gacc00f70bcfa35c5d34889f0697832dc9}\label{group__Elm__Prefs_gacc00f70bcfa35c5d34889f0697832dc9}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_item\_disabled\_set()}{elm\_obj\_prefs\_item\_disabled\_set()}}
{\footnotesize\ttfamily EOAPI void elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+set (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{name,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{disabled }\end{DoxyParamCaption})}



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


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em name} & The name of the item (as declared in the prefs collection) to act on \\
\hline
\mbox{\texttt{ in}}  & {\em disabled} & {\ttfamily true}, to make it disabled, {\ttfamily false} otherwise\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_ga4bd425e1cbb6c4e174bc84f9b6d32781}\label{group__Elm__Prefs_ga4bd425e1cbb6c4e174bc84f9b6d32781}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_item\_disabled\_get()}{elm\_obj\_prefs\_item\_disabled\_get()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+disabled\+\_\+get (\begin{DoxyParamCaption}\item[{const Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



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


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ 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}
\mbox{\Hypertarget{group__Elm__Prefs_ga65db512988b5e5bf4b5d68558dee69a9}\label{group__Elm__Prefs_ga65db512988b5e5bf4b5d68558dee69a9}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_item\_swallow()}{elm\_obj\_prefs\_item\_swallow()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+swallow (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{name,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$}]{child }\end{DoxyParamCaption})}



\char`\"{}\+Swallows\char`\"{} an object into a SWALLOW item of a prefs widget. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em name} & The name of the SWALLOW item (as declared in the prefs collection) \\
\hline
\mbox{\texttt{ 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}
\mbox{\Hypertarget{group__Elm__Prefs_ga36092cb7c8f90676a759420a978f619f}\label{group__Elm__Prefs_ga36092cb7c8f90676a759420a978f619f}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_item\_editable\_set()}{elm\_obj\_prefs\_item\_editable\_set()}}
{\footnotesize\ttfamily EOAPI void elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+set (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{name,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{editable }\end{DoxyParamCaption})}



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

\begin{DoxyNote}{Note}
Only {\ttfamily TEXT} or {\ttfamily TEXTAREA} 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{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em name} & The name of the item (as declared in the prefs collection) to act on \\
\hline
\mbox{\texttt{ in}}  & {\em editable} & {\ttfamily true}, to make it editable, {\ttfamily false} otherwise\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_gaa574de68d526a2e743599c2d62f6e612}\label{group__Elm__Prefs_gaa574de68d526a2e743599c2d62f6e612}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_item\_editable\_get()}{elm\_obj\_prefs\_item\_editable\_get()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+editable\+\_\+get (\begin{DoxyParamCaption}\item[{const Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



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


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ 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}
\mbox{\Hypertarget{group__Elm__Prefs_ga17e207c166986f5ef1e76731bf1533f4}\label{group__Elm__Prefs_ga17e207c166986f5ef1e76731bf1533f4}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_item\_unswallow()}{elm\_obj\_prefs\_item\_unswallow()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$ elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+unswallow (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



Unswallow an object from a SWALLOW item of a prefs widget. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em name} & The name of the SWALLOW item (as declared in the prefs collection)\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The unswallowed object, or NULL on errors
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_gaeadd89bb9417a2fd358245476f9b5647}\label{group__Elm__Prefs_gaeadd89bb9417a2fd358245476f9b5647}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_item\_visible\_set()}{elm\_obj\_prefs\_item\_visible\_set()}}
{\footnotesize\ttfamily EOAPI void elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+set (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{name,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{visible }\end{DoxyParamCaption})}



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, programmatically.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em name} & The name of the item (as declared in the prefs collection) to change visibility of \\
\hline
\mbox{\texttt{ in}}  & {\em visible} & {\ttfamily true}, to make it visible, {\ttfamily false} otherwise\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__Prefs_ga24c52dcaed05e418d5fb35ad76ea625f}\label{group__Elm__Prefs_ga24c52dcaed05e418d5fb35ad76ea625f}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_prefs\_item\_visible\_get()}{elm\_obj\_prefs\_item\_visible\_get()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+obj\+\_\+prefs\+\_\+item\+\_\+visible\+\_\+get (\begin{DoxyParamCaption}\item[{const Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



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


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ 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}
\mbox{\Hypertarget{group__Elm__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}\label{group__Elm__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}} 
\index{Elementary Prefs@{Elementary Prefs}!elm\_prefs\_file\_set@{elm\_prefs\_file\_set}}
\index{elm\_prefs\_file\_set@{elm\_prefs\_file\_set}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_file\_set()}{elm\_prefs\_file\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+prefs\+\_\+file\+\_\+set (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{page }\end{DoxyParamCaption})}



Set file and page to populate a given prefs widget\textquotesingle{}s interface. 

\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE}, on success, {\ttfamily EINA\+\_\+\+FALSE} otherwise
\end{DoxyReturn}
Elm prefs widgets start blank, with no child widgets. It\textquotesingle{}s meant to have its viewport populated with child elements coming from a declaration file. That file (usually with {\bfseries{}}.epb extension), is a binary format (Eet) one, coming from a human-\/readable textual declaration. This textual form (usually with {\bfseries{}}.epc extension) is translated to the binary form by means of the {\bfseries{prefs\+\_\+cc}} compiler.

With this function, one thus populates a prefs widget with UI elements.

If {\itshape file} is {\ttfamily NULL}, \char`\"{}elm\+\_\+app\+\_\+data\+\_\+dir\+\_\+get()/preferences.\+epb\char`\"{} will be used, by default. If {\itshape file} is a {\bfseries{relative}} path, the prefix \char`\"{}elm\+\_\+app\+\_\+data\+\_\+dir\+\_\+get()/\char`\"{} will be implicitly used with it. If {\itshape page} is {\ttfamily NULL}, it is considered \char`\"{}main\char`\"{}, as default.

\begin{DoxyWarning}{Warning}
If your binary is not properly installed and \mbox{\hyperlink{group__Elm__App_gab10cf98c5aa3936dfda01d6bca366d09}{elm\+\_\+app\+\_\+data\+\_\+dir\+\_\+get()}} can\textquotesingle{}t be figured out, a fallback value of \char`\"{}.\char`\"{} will be tryed, instead.
\end{DoxyWarning}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_gaa9220046adf093b046c2002c751c0501}{elm\+\_\+prefs\+\_\+file\+\_\+get()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em file} & The {\bfseries{}}.epb (binary) file to get contents from \\
\hline
\mbox{\texttt{ in}}  & {\em page} & The page, inside {\itshape file}, where to get item contents from \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, \mbox{\hyperlink{group__Elm__App_gab10cf98c5aa3936dfda01d6bca366d09}{elm\+\_\+app\+\_\+data\+\_\+dir\+\_\+get()}}, \mbox{\hyperlink{group__Elm__Prefs_ga91cf0abd1ec78e6697fb02437b64f489}{ELM\+\_\+\+PREFS\+\_\+\+EVENT\+\_\+\+PAGE\+\_\+\+LOADED}}, and \mbox{\hyperlink{group__Evil_ga6f80c58cfd19ff9a289fc7f9a8f6de53}{evil\+\_\+path\+\_\+is\+\_\+absolute()}}.

\mbox{\Hypertarget{group__Elm__Prefs_gaa9220046adf093b046c2002c751c0501}\label{group__Elm__Prefs_gaa9220046adf093b046c2002c751c0501}} 
\index{Elementary Prefs@{Elementary Prefs}!elm\_prefs\_file\_get@{elm\_prefs\_file\_get}}
\index{elm\_prefs\_file\_get@{elm\_prefs\_file\_get}!Elementary Prefs@{Elementary Prefs}}
\doxysubsubsection{\texorpdfstring{elm\_prefs\_file\_get()}{elm\_prefs\_file\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+prefs\+\_\+file\+\_\+get (\begin{DoxyParamCaption}\item[{const Eo $\ast$}]{obj,  }\item[{const char $\ast$$\ast$}]{file,  }\item[{const char $\ast$$\ast$}]{page }\end{DoxyParamCaption})}



Get file and page bound to a given prefs widget. 

\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE}, on success, {\ttfamily EINA\+\_\+\+FALSE} otherwise
\end{DoxyReturn}
\begin{DoxyNote}{Note}
Use {\ttfamily NULL} pointers on the components you\textquotesingle{}re not interested in\+: they\textquotesingle{}ll be ignored by the function.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()}} for more information
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em file} & The {\bfseries{}}.epb (binary) file to get contents from \\
\hline
\mbox{\texttt{ out}}  & {\em page} & The page, inside {\itshape file}, where to get item contents from \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

