at should be enough.
It's from the class Message of IMFish(.sourceforge.net) :-)
Also, i think that you should setup what font do you want
to use, in other place, than the expose-cb!
Seeya!
-Original Message-----
From: Jean-Baptiste Cazier <[EMAIL PROTECTED]>
To: "Gustavo
Hello Gustavo !
Thanks for your answer.
Your solution works fine for my simplified problem. It also pin-point the source of my
troubles.
But in order to solve my original problem I need a further tip:
Indeed If I actually draw something based on the modified font by adding the line
area.w
Well, you are doing things in an expose event that are better handled
somewhere else. Here's how I fixed your example (moved some code to a
"realize" event handler):
--- test-orig.py2003-12-10 16:06:28.0 +
+++ test.py 2003-12-10 16:06:12.0 +
@@ -21,6 +21,7 @@
Hi again !
Despite the many e-mails and suggestions I received, nothing has solved my problem so
far.
So, I stripped down my program to some essentials to show you the problem I am running
into:
The script below does nothing, but consumes 95% of my CPU !
If I comment out the line
sel