Hi,<br><br>The code I&#39;ve been looking at is a fairly simple widget in
Extras called countdown-home. 95% of it is &quot;fluff&quot; and has nothing to
do with this problem so I&#39;ve attached a working Python Desktop Widget
(very simple, just a couple gtk.Label&#39;s). countdown-home is available from here:<br><br><a href="http://repository.maemo.org/extras/pool/fremantle/free/source/c/countdown-home/">http://repository.maemo.org/extras/pool/fremantle/free/source/c/countdown-home/</a><br>
<br>(I tried attaching the C file, but the list said it was too big).<br>
<br>If you could try to translate the cairo code from coundown-home into the Python example, that would be awesome!<br><br>Thanks.<br><br><div class="gmail_quote">On Wed, Dec 23, 2009 at 3:43 PM, Anderson Lizardo <span dir="ltr">&lt;<a href="mailto:anderson.lizardo@openbossa.org">anderson.lizardo@openbossa.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Sat, Dec 19, 2009 at 3:41 PM, Brent Chiodo &lt;<a href="mailto:bchiodo@gmail.com">bchiodo@gmail.com</a>&gt; wrote:<br>

&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m trying to make the background of a Desktop Widget semi-transparent using<br>
&gt; the cairo graphics library. The widget is written in Python and the only<br>
&gt; examples of this I&#39;ve found are using C (I don&#39;t know much C -- I wasn&#39;t<br>
&gt; even able to apply the examples to Python).<br>
<br>
</div>If you send the links to the C examples you found, I can try<br>
translating them to Python for you (I&#39;ll be able to try only on<br>
scratchbox though, as I&#39;ll not have a N900 accessible until next<br>
year).<br>
<br>
Regards,<br>
--<br>
<font color="#888888">Anderson Lizardo<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br><br>Brent Chiodo<br>