Thank you very much! It is working well, now. There is only one minor issue: When I do this the widget is nicely transparent, but what I'm packing into the widget remains opaque. I took a screenshot:
http://img192.imageshack.us/img192/5650/cairo.png What is going on is: there are two gtk.Image's shown. They are both packed into gtk.EventBox's which is packed into a gtk.VBox which is added to the widget itself. How would I go about making everything but the actual image transparent? (the two images are transparent png's so I do not believe that is what is causing the black opaque boxes). If you need the actually code (which is a bit sloppy at the moment) I'll be glad to clean it up and send it along. You've been a great help, thanks so much! P.S. Merry Christmas! On 12/24/09, Anderson Lizardo <anderson.liza...@openbossa.org> wrote: > On Thu, Dec 24, 2009 at 1:40 PM, Anderson Lizardo > <anderson.liza...@openbossa.org> wrote: >> * Use do_expose_event() and do_realize() methods instead of realize() >> and screen_changed() ones you used (just rename "def expose(self, >> widget, event)" to "def do_expose_event(self, event)" and "def >> screen_changed(self, widget)" to "def do_realize(self)" > > I forgot to mention: you should not connect these methods > (do_expose_event() and do_realize()) to any signal, they are "virtual > methods" called automatically by PyGTK. > > I got the idea partially from > http://ralph-glass.homepage.t-online.de/clock/clock.py and from > interpreting the example clock widget C code. > > Regards, > -- > Anderson Lizardo > OpenBossa Labs - INdT > Manaus - Brazil > -- Best Regards, Brent Chiodo _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers