[Bf-python] Patch- Added A Python Hook for the error function.

Campbell Barton cbarton at metavr.com
Tue May 18 09:22:30 CEST 2004


Here is a patch that give python accsess to 2 new functions
|
|PupFloatInput| <cid:part1.05050807.05090704 at metavr.com>(text, default, 
min, max, clickStep, floatLen)|

||PupIntInput| <cid:part2.07060408.05050506 at metavr.com>(text, default, 
min, max)

The documentation also gives examples but its quite straight forward.
Both return None of the user exits, this is unlike PupMenu but its 
possible that -1 would be a real value to return since negative values 
work too.

- Cam
|

Willian Padovani Germano wrote:

>Hi,
>
>----- Original Message -----
>From: "Campbell Barton" <cbarton at metavr.com>
>To: <bf-python at blender.org>
>Sent: Monday, May 17, 2004 1:58 AM
>Subject: Re: [Bf-python] Patch- Added A Python Hook for the error function.
>
>
>  
>
>>Ill have to add it Here as
>>Draw.PupError
>>Draw.PupNumInput
>>Draw.PupTextInput
>>
>>Any comments (Does anybodt like this idea?)
>>-Cam
>>    
>>
>
>Comments? Like "go on"?  : )
>
>Cvs freeze is gone, so we can again add features.  Feel free to send patches
>when they are ready, since we already discussed about your proposals and can now
>check the code.
>
>--
>Willian, wgermano at ig.com.br
>
>_______________________________________________
>Bf-python mailing list
>Bf-python at blender.org
>http://www.blender.org/mailman/listinfo/bf-python
>
>
>  
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_pupInput.txt
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20040518/0d75977d/attachment.txt>


More information about the Bf-python mailing list