Re: gnome panel 2 background



> The idea is to have a Pixmap of the current background, and send the xid 
> of the pixmap and the offsets in it to the applet when the background 
> changes.
> 
> I have some extensive changes to PanelWidget planned which will change all 
> this and make it work more like normal Gtk+ widgets.

Whats wrong with the current way of doing it? (G1.4)
applet_widget_get_rgb_bg (APPLET_WIDGET (applet),
			  &rgb, &w, &h,
			  &rowstride);

Then you create a pixbuf from the rgb data you receive.

iain
-- 
but tv says "surface irony" is funny...don't you watch saturday night
live, man?




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