[visionegg] Re: new line in text

  • From: Eamon Caddigan <ecaddiga@xxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Mon, 6 Jul 2009 18:00:31 -0500

Hi Rachel,

The WrappedText module (which I believe is part of the core distribution now) supports newlines.

-Eamon Caddigan


On Jul 6, 2009, at 3:44 PM, Rachel Denison wrote:

Is it possible to insert a line break or new line into text to be displayed by Vision Egg?

I want to do something like

my_text = Text(text = "First line <<new line character?>> Second line")

The new line character used for python print statements, '\n', doesn't seem to work here.

Thanks for any help!

Rachel

======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: