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

Willian Padovani Germano wgermano at ig.com.br
Mon May 17 06:19:11 CEST 2004


Hi,

----- Original Message -----
From: "Campbell Barton" <cbarton at metavr.com>
To: <bf-python at blender.org>
Sent: Sunday, May 16, 2004 9:02 PM
Subject: [Bf-python] Patch- Added A Python Hook for the error function.


> Hi, I have been thinking that its silly that the conslole is the only
> way to give users textual feedback in python is by using the console
> window or by having a GUI and making the error text feedback a part or
> the gui.
>
> I have added a patch that allows you to make error popups.

There's already the Draw.PupMenu function, it doesn't need a gui and can be used
for warning / info / error msgs too.  But that doesn't make your suggestion
useless, of course.  But we should add all such options to a same module.
Window has the awful progress bar, but this is because of legacy code, for
compatibility.  Buttons, even popups are better at the Draw (that should be
called GUI) module.

--
Willian, wgermano at ig.com.br




More information about the Bf-python mailing list