Documents / Views

Hi

It seems that wx.Document / wx.View are not wrapped in wxPython.
I'm not complaining about this as they look fairly complicated.
But I'm wondering what an equivalent Pythonic way would be to handle this.
Basically I have an application that reads documents from xml files, and displays them in multiple child windows, but can also display them on a projector screen as a presentation. (It's pyasaph at asaph.sourceforge.net if anyone's interested, for presenting song words for a church).
At the moment I do the display using an HTML window, but I'd like to add more control about displaying blocks of text and scrolling etc.
What should I be looking at?

Thanks for any tips
David

David Fraser wrote:

Hi

It seems that wx.Document / wx.View are not wrapped in wxPython.
I'm not complaining about this as they look fairly complicated.
But I'm wondering what an equivalent Pythonic way would be to handle this.

There is a Python implementation of the classes here:

  http://www.yared.com/pybypy/

But if your needs don't quite fit that model then there are other ways to do it. For example, multiple views can subscribe to messages published via the pubsub module and so you can loosly interconenct portions of your app in this way.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!