[Bf-python] About popup

Paolo Colombo info at blender3d.it
Sat Jul 24 01:35:08 CEST 2004


I always read the docs before to post.

the number that You wrote is the max number of chars that the user can 
write in the popup.

What i mean is that "this is a very long Name:" is truncated!!!

Ciao Paolo

Campbell Barton wrote:
> Read the docs, you need more
> 
> Blender.Draw.PupStrInput("This ia a very long Name:", "", 25)
> 
> The 2nd value is "", it should be a number
> 
> Blender.Draw.PupStrInput("This ia a very long Name:", 20, 25)
> 
> Paolo Colombo wrote:
> 
>> If I use this piece of code:
>> """
>> import Blender
>> Blender.Draw.PupStrInput("This ia a very long Name:", "", 25)
>> """
>>
>> The number of the shown characters is cut to 20, is it correct, or a bug?
>>
>>
>> Ciao Jody
>> _______________________________________________
>> Bf-python mailing list
>> Bf-python at blender.org
>> http://www.blender.org/mailman/listinfo/bf-python
>>
>>
> 
> 




More information about the Bf-python mailing list