Scripting Multi-Line Text

I’ve been doing some tinkering with Python and looking at the preloaded scripts. I’ve been using the A.N.T. generator as a template/tutorial/guide on how to build a decent GUI and working on a simple project. But there’s a limitation I’ve run across and was wondering if anyone knew of a solution.

The Blender Draw module has the functions for buttons, sliders, ect. and includes a String function that only allows a single line of string. I’m looking for a pre-defined function (or else I’ll have to write one myself) that allows a user to enter multiple lines and performs a word-wrap within a text box. Does anyone know if there’s something like this available?

Appreciate any feedback! Thanks!

N2B

I implemented a simple form in my BlendText script (link in my signature). BlendText allows the animation of single or multi-line phrases over time. I chose the semi-colon as a line delimiter. It is written in 2.49 API so the text box has a 399 character limit.

Also, if you are looking for a 2.49 tabbed gui interface to build from, I released a simple version of my tabbed interface here ( down the page a bit)
http://blenderartists.org/forum/showthread.php?t=154134

Atom -

LOVE the BlendText … I can see many potential uses – expecially in recording a “Built in Blender” credit .avi for games. And in reference to the Tab menu example, I’ve reviewed similar code, but not exactly what I was looking for. I’m looking for a multi-line input box (similar to the message box responses are entered on the web), but I think I’m out of luck.

I’ve seen a few posts that a TreeView may be considered for the 2.5x Blender final release - if so, I may be able to adapt that to my needs so I think I’ll just wait for now. Thanks for the feedback and I’ll definetly give the BlendText a try. :slight_smile:

N2B