Re: Getting position of the panel



On Tue, 2007-01-02 at 20:52 +0100, Jan Gehring wrote:
> Hello ml,
> 
> everyone a happy new year!
> 
> Does anyone know how i can get the position of the gnome-panel from
> within a gnome-panel applet?
> 
> I want to open a popup window direktly under the applet.

you can use the GtkAlignedWindow used also by the gnome dictionary
applet:

http://svn.gnome.org/viewcvs/*checkout*/gnome-utils/trunk/gnome-dictionary/src/gtkalignedwindow.h
http://svn.gnome.org/viewcvs/*checkout*/gnome-utils/trunk/gnome-dictionary/src/gtkalignedwindow.c

which in turn is a C port of the AlignedWindow widget used by the
gnome-blog applet.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,  E: ebassi gmail com
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]