\section{applet.h File Reference}
\label{applet_8h}\index{applet.h@{applet.h}}
Implementing ROX applets. 

\subsection*{Data Structures}
\begin{CompactItemize}
\item 
struct {\bf ROXApplet\-Info}
\begin{CompactList}\small\item\em Details of the location of an applet's icon. \item\end{CompactList}\end{CompactItemize}
\subsection*{Enumerations}
\begin{CompactItemize}
\item 
enum {\bf rox\_\-panel\_\-location} \{ \par
{\bf PANEL\_\-TOP}, 
{\bf PANEL\_\-BOTTOM}, 
{\bf PANEL\_\-LEFT}, 
{\bf PANEL\_\-RIGHT}, 
\par
{\bf PANEL\_\-UNKNOWN}
 \}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf rox\_\-applet\_\-popup\_\-menu} (Gtk\-Widget $\ast$plug, Gtk\-Widget $\ast$menu, Gdk\-Event\-Button $\ast$evbut)
\item 
{\bf ROXApplet\-Info} $\ast$ {\bf rox\_\-applet\_\-get\_\-position} (Gtk\-Widget $\ast$plug)
\item 
void {\bf applet\_\-popup\_\-menu} (Gtk\-Widget $\ast$plug, Gtk\-Widget $\ast$menu, Gdk\-Event\-Button $\ast$evbut)
\item 
{\bf ROXApplet\-Info} $\ast$ {\bf applet\_\-get\_\-position} (Gtk\-Widget $\ast$plug)
\end{CompactItemize}


\subsection{Detailed Description}
Implementing ROX applets. 

\begin{Desc}
\item[Version:]\begin{Desc}
\item[Id]\doxyref{applet.h}{p.}{applet_8h},v 1.6 2005/10/12 10:57:20 stephen Exp \end{Desc}
\end{Desc}
\begin{Desc}
\item[Author:]Stephen Watson {\tt stephen@kerofin.demon.co.uk} \end{Desc}


\subsection{Enumeration Type Documentation}
\index{applet.h@{applet.h}!rox_panel_location@{rox\_\-panel\_\-location}}
\index{rox_panel_location@{rox\_\-panel\_\-location}!applet.h@{applet.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf rox\_\-panel\_\-location}}\label{applet_8h_953c458757cf48b1fea1e09b235dcee4}


Location of panel the applet is on. \begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{PANEL_TOP@{PANEL\_\-TOP}!applet.h@{applet.h}}\index{applet.h@{applet.h}!PANEL_TOP@{PANEL\_\-TOP}}\item[{\em 
PANEL\_\-TOP\label{applet_8h_953c458757cf48b1fea1e09b235dcee4ce3dbfbf3329df02f39731cad828ac48}
}]Panel is on the top \index{PANEL_BOTTOM@{PANEL\_\-BOTTOM}!applet.h@{applet.h}}\index{applet.h@{applet.h}!PANEL_BOTTOM@{PANEL\_\-BOTTOM}}\item[{\em 
PANEL\_\-BOTTOM\label{applet_8h_953c458757cf48b1fea1e09b235dcee41a74e4a1a0bb17bc52f0cdcaa29e5c51}
}]Panel is on the bottom \index{PANEL_LEFT@{PANEL\_\-LEFT}!applet.h@{applet.h}}\index{applet.h@{applet.h}!PANEL_LEFT@{PANEL\_\-LEFT}}\item[{\em 
PANEL\_\-LEFT\label{applet_8h_953c458757cf48b1fea1e09b235dcee47aa8af2acc4a8a7853a3c47d66adf37e}
}]Panel is on the left \index{PANEL_RIGHT@{PANEL\_\-RIGHT}!applet.h@{applet.h}}\index{applet.h@{applet.h}!PANEL_RIGHT@{PANEL\_\-RIGHT}}\item[{\em 
PANEL\_\-RIGHT\label{applet_8h_953c458757cf48b1fea1e09b235dcee47ae8ad8cafd281cd8c30a4384065a0f4}
}]Panel is on the right \index{PANEL_UNKNOWN@{PANEL\_\-UNKNOWN}!applet.h@{applet.h}}\index{applet.h@{applet.h}!PANEL_UNKNOWN@{PANEL\_\-UNKNOWN}}\item[{\em 
PANEL\_\-UNKNOWN\label{applet_8h_953c458757cf48b1fea1e09b235dcee414c07dd9627e5f7c34eecf605e6b2d43}
}]Panel location is unknown \end{description}
\end{Desc}



\subsection{Function Documentation}
\index{applet.h@{applet.h}!applet_get_position@{applet\_\-get\_\-position}}
\index{applet_get_position@{applet\_\-get\_\-position}!applet.h@{applet.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf ROXApplet\-Info}$\ast$ applet\_\-get\_\-position (Gtk\-Widget $\ast$ {\em plug})}\label{applet_8h_4ff337a4af98212858b49072eae6fdd8}


Return the location of an applet's icon.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[\mbox{$\leftarrow$} {\em plug}]the widget that the applet created in the panel. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]pointer to applet info, pass to g\_\-free() when done.\end{Desc}
\begin{Desc}
\item[{\bf Deprecated}]Use \doxyref{rox\_\-applet\_\-get\_\-position()}{p.}{applet_8c_10e7172f7e0784e8630a97c645c50dcf} instead. \end{Desc}
\index{applet.h@{applet.h}!applet_popup_menu@{applet\_\-popup\_\-menu}}
\index{applet_popup_menu@{applet\_\-popup\_\-menu}!applet.h@{applet.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void applet\_\-popup\_\-menu (Gtk\-Widget $\ast$ {\em plug}, Gtk\-Widget $\ast$ {\em menu}, Gdk\-Event\-Button $\ast$ {\em evbut})}\label{applet_8h_cfb87d5638586313bba2272194a28ce7}


Popup a menu in the appropriate place for an applet's icon.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[\mbox{$\leftrightarrow$} {\em plug}]the Gtk\-Plug object used to hold the applet \item[\mbox{$\leftarrow$} {\em menu}]the menu to show \item[\mbox{$\leftarrow$} {\em evbut}]the button event that triggered the menu, or {\tt NULL} if the menu was triggered by some other means\end{description}
\end{Desc}
\begin{Desc}
\item[{\bf Deprecated}]Use \doxyref{rox\_\-applet\_\-popup\_\-menu()}{p.}{applet_8c_2b4ad018641d91e94cfa312024642387} instead. \end{Desc}
\index{applet.h@{applet.h}!rox_applet_get_position@{rox\_\-applet\_\-get\_\-position}}
\index{rox_applet_get_position@{rox\_\-applet\_\-get\_\-position}!applet.h@{applet.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf ROXApplet\-Info}$\ast$ rox\_\-applet\_\-get\_\-position (Gtk\-Widget $\ast$ {\em plug})}\label{applet_8h_10e7172f7e0784e8630a97c645c50dcf}


Return the location of an applet's icon.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[\mbox{$\leftarrow$} {\em plug}]the widget that the applet created in the panel. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]pointer to applet info, pass to g\_\-free() when done. \end{Desc}
\index{applet.h@{applet.h}!rox_applet_popup_menu@{rox\_\-applet\_\-popup\_\-menu}}
\index{rox_applet_popup_menu@{rox\_\-applet\_\-popup\_\-menu}!applet.h@{applet.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void rox\_\-applet\_\-popup\_\-menu (Gtk\-Widget $\ast$ {\em plug}, Gtk\-Widget $\ast$ {\em menu}, Gdk\-Event\-Button $\ast$ {\em evbut})}\label{applet_8h_2b4ad018641d91e94cfa312024642387}


Popup a menu in the appropriate place for an applet's icon.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[\mbox{$\leftrightarrow$} {\em plug}]the Gtk\-Plug object used to hold the applet \item[\mbox{$\leftarrow$} {\em menu}]the menu to show \item[\mbox{$\leftarrow$} {\em evbut}]the button event that triggered the menu, or {\tt NULL} if the menu was triggered by some other means \end{description}
\end{Desc}
