\section{rox\_\-resources.h File Reference}
\label{rox__resources_8h}\index{rox_resources.h@{rox\_\-resources.h}}
Find internationalized resource files. 

\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf ROX\_\-RESOURCES\_\-NO\_\-LANG}~\char`\"{}\char`\"{}
\item 
\#define {\bf ROX\_\-RESOURCES\_\-DEFAULT\_\-LANG}~NULL
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
gchar $\ast$ {\bf rox\_\-resources\_\-find} (const gchar $\ast$app\_\-name, const gchar $\ast$leaf, const gchar $\ast$lang)
\item 
gchar $\ast$ {\bf rox\_\-resources\_\-find\_\-with\_\-domain} (const gchar $\ast$app\_\-name, const gchar $\ast$leaf, const gchar $\ast$lang, const gchar $\ast$domain)
\end{CompactItemize}


\subsection{Detailed Description}
Find internationalized resource files. 

\begin{Desc}
\item[Author:]Stephen Watson \end{Desc}
\begin{Desc}
\item[Version:]\begin{Desc}
\item[Id]\doxyref{rox\_\-resources.h}{p.}{rox__resources_8h},v 1.3 2005/09/10 16:16:59 stephen Exp \end{Desc}
\end{Desc}


\subsection{Define Documentation}
\index{rox_resources.h@{rox\_\-resources.h}!ROX_RESOURCES_DEFAULT_LANG@{ROX\_\-RESOURCES\_\-DEFAULT\_\-LANG}}
\index{ROX_RESOURCES_DEFAULT_LANG@{ROX\_\-RESOURCES\_\-DEFAULT\_\-LANG}!rox_resources.h@{rox\_\-resources.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define ROX\_\-RESOURCES\_\-DEFAULT\_\-LANG~NULL}\label{rox__resources_8h_8d334c315fd52c5788370cb95cf124da}


Accept the default language \index{rox_resources.h@{rox\_\-resources.h}!ROX_RESOURCES_NO_LANG@{ROX\_\-RESOURCES\_\-NO\_\-LANG}}
\index{ROX_RESOURCES_NO_LANG@{ROX\_\-RESOURCES\_\-NO\_\-LANG}!rox_resources.h@{rox\_\-resources.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define ROX\_\-RESOURCES\_\-NO\_\-LANG~\char`\"{}\char`\"{}}\label{rox__resources_8h_35b28f4ce9b265a936acab6e69f517a6}


Indicates that the resource is in no language and does not need translating 

\subsection{Function Documentation}
\index{rox_resources.h@{rox\_\-resources.h}!rox_resources_find@{rox\_\-resources\_\-find}}
\index{rox_resources_find@{rox\_\-resources\_\-find}!rox_resources.h@{rox\_\-resources.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}gchar$\ast$ rox\_\-resources\_\-find (const gchar $\ast$ {\em app\_\-name}, const gchar $\ast$ {\em leaf}, const gchar $\ast$ {\em lang})}\label{rox__resources_8h_6da9df26c248545b1a0cf63ed08a4995}


Search choices directories, then APP\_\-DIR for a directory called Resources which contains the file leaf, whether in a sub-directory lang or directly.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[\mbox{$\leftarrow$} {\em app\_\-name}]application name, for seaching choices. \item[\mbox{$\leftarrow$} {\em leaf}]name of file to seach for. \item[\mbox{$\leftarrow$} {\em lang}]language code, may be \doxyref{ROX\_\-RESOURCES\_\-NO\_\-LANG}{p.}{rox__resources_8h_35b28f4ce9b265a936acab6e69f517a6} to not search for sub-directories, or \doxyref{ROX\_\-RESOURCES\_\-DEFAULT\_\-LANG}{p.}{rox__resources_8h_8d334c315fd52c5788370cb95cf124da} for the sub-directory appropriate for the selected language \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the full path if found (pass to g\_\-free when done), otherwise {\tt NULL} \end{Desc}
\begin{Desc}
\item[{\bf Deprecated}]Use \doxyref{rox\_\-resources\_\-find\_\-with\_\-domain()}{p.}{rox__resources_8c_be0e5c65f7803bf220b404929b362955} instead. \end{Desc}
\index{rox_resources.h@{rox\_\-resources.h}!rox_resources_find_with_domain@{rox\_\-resources\_\-find\_\-with\_\-domain}}
\index{rox_resources_find_with_domain@{rox\_\-resources\_\-find\_\-with\_\-domain}!rox_resources.h@{rox\_\-resources.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}gchar$\ast$ rox\_\-resources\_\-find\_\-with\_\-domain (const gchar $\ast$ {\em app\_\-name}, const gchar $\ast$ {\em leaf}, const gchar $\ast$ {\em lang}, const gchar $\ast$ {\em domain})}\label{rox__resources_8h_be0e5c65f7803bf220b404929b362955}


Search XDG\_\-CONFIG\_\-DIRS, then APP\_\-DIR for a directory called Resources which contains the file leaf, whether in a sub-directory lang or directly.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[\mbox{$\leftarrow$} {\em app\_\-name}]application name, for seaching choices. \item[\mbox{$\leftarrow$} {\em leaf}]name of file to seach for. \item[\mbox{$\leftarrow$} {\em lang}]language code, may be \doxyref{ROX\_\-RESOURCES\_\-NO\_\-LANG}{p.}{rox__resources_8h_35b28f4ce9b265a936acab6e69f517a6} to not search for sub-directories, or \doxyref{ROX\_\-RESOURCES\_\-DEFAULT\_\-LANG}{p.}{rox__resources_8h_8d334c315fd52c5788370cb95cf124da} for the sub-directory appropriate for the selected language \item[\mbox{$\leftarrow$} {\em domain}]name of domain, or {\tt NULL} (see \doxyref{rox\_\-choices\_\-list\_\-dirs()}{p.}{choices_8c_ddf1643a1ba143b7b1c0ef4c933c6b81})\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the full path if found (pass to g\_\-free when done), otherwise {\tt NULL} \end{Desc}
