Re: panel question



On 02/23/01 pat eyler wrote:
I'm working on a panel applet which queries the local 'mon' server
(this is why I was working with the pixmap in the applet yesterday).
I'm running into my lack of understanding though.  How do you get 
information about the panel itself?  I need to see what size it is
(to feed the right sized pixmap into the applet) and what the current 
background is.  Any hints, pointers, etc.?

Look in http://developer.gnome.org/doc/API/panel/index.html:
basically, you need to connect to some signals in your applet
widget: change_orient, change_pixel_size, back_change.
back_change won't work as is in perl, because the applet widget
library has a bug: I'll fix this shortly.

lupus

-- 
-----------------------------------------------------------------
lupus debian org                                     debian/rules
lupus ximian com                             Monkeys do it better




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