[Bf-python] Re: Crazy tooltip bug

Manuel Bastioni manuelbastioni at tin.it
Fri Mar 26 09:30:13 CET 2004


Thanks for replies. Before I isolate it from makehuman
gui,  bug really make me crazy...


> PS: by the way, in the documentation the Number method is supposed to have
> 11 arguments
> Number(name, event, x, y, width, height, initial, min, max, realtime=1, 
> tooltip=None)
> but it doesn't seem to be possible to play with the realtime argument

I try with slider too, with realtime argument...the bug is the same


> 
> PS2: have you tried to globally initialize the buttons with 
> Draw.create() to see if it changes
> this behavior ?

Yes...before post here I think to have tested all :-)


 > Yes, since the tooltip is needed after the function returns and is local
 > to it, probably it should be copied to a Blender managed piece of
 > storage and code should be added to the py destructor to get rid of it
 > when the button goes away.  Will you fix it yourself, Steve, like you
 > did for a similar problem in Draw.c earlier?


Happy to see you have identified the problem. :-)

Ciao,

            Manuel



More information about the Bf-python mailing list