wx position of items in list

M. Clift noone at here.com
Sun Oct 24 13:05:48 EDT 2004


Hi All,

This would seem to be easy, but I have had no luck in working out how to do
this.

In wx.python a list of text is displayed as a bitmap and given it's
position.

        shape.pos = (145, 270)

What I want to do is to increase the y value for every 20 items in the list,
so the text is displayed to a new line. So for items in list numbered 0 -19
y = 270, for items in list numbered 20 - 39 y = 370 etc...

Thanks for any help,

Malcolm





More information about the Python-list mailing list