Re: advice drawing without window decoration

On Fri, 2009-12-04 at 19:41 +0000, Richard Henwood wrote: 
> Hi All,
> I want to develop a 'desktop companion' in a similar vein to:
> It will 'grow' according to the output of my auditing code.
> Can anyone advise how I can draw to the gnome window system without window decoration (i'm currently using gtk.Window.set_decorated). I'm not sure about my window not appearing on the panel...

Setting an RGBA colormap on the window is required and set the colormap
on construct and screen change, then add and use gtk.DrawingArea for
drawing, then drawing to the DrawingArea will have a transparent
background.... Take a look at the pydock hack I did here;

what you're interested in basically is the window and the
gtk.DrawingArea derived classes... Sorry its in python but you should be
able to get the idea. 

Hope this helps,

> And I suspect that there is a 'right' way to do this - maybe along the lines of how my update manager tastefully alerts me to updates?
> Any ideas much appreciated,
> richard
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org

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