[maemo-developers] Semi-transparent background for Desktop Widget (Python + Cairo)
From: Brent Chiodo bchiodo at gmail.comDate: Wed Dec 23 23:28:42 EET 2009
- Previous message: Semi-transparent background for Desktop Widget (Python + Cairo)
- Next message: Semi-transparent background for Desktop Widget (Python + Cairo)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, The code I've been looking at is a fairly simple widget in Extras called countdown-home. 95% of it is "fluff" and has nothing to do with this problem so I've attached a working Python Desktop Widget (very simple, just a couple gtk.Label's). countdown-home is available from here: http://repository.maemo.org/extras/pool/fremantle/free/source/c/countdown-home/ (I tried attaching the C file, but the list said it was too big). If you could try to translate the cairo code from coundown-home into the Python example, that would be awesome! Thanks. On Wed, Dec 23, 2009 at 3:43 PM, Anderson Lizardo < anderson.lizardo at openbossa.org> wrote: > On Sat, Dec 19, 2009 at 3:41 PM, Brent Chiodo <bchiodo at gmail.com> wrote: > > Hi, > > > > I'm trying to make the background of a Desktop Widget semi-transparent > using > > the cairo graphics library. The widget is written in Python and the only > > examples of this I've found are using C (I don't know much C -- I wasn't > > even able to apply the examples to Python). > > If you send the links to the C examples you found, I can try > translating them to Python for you (I'll be able to try only on > scratchbox though, as I'll not have a N900 accessible until next > year). > > Regards, > -- > Anderson Lizardo > -- Best Regards, Brent Chiodo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20091223/8d01fdf3/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: cairo_example.py Type: text/x-python Size: 2128 bytes Desc: not available Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20091223/8d01fdf3/attachment.py
- Previous message: Semi-transparent background for Desktop Widget (Python + Cairo)
- Next message: Semi-transparent background for Desktop Widget (Python + Cairo)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]