Newbie: writing large text to a window

(I tried posting this before, but I don't think my subscription had caught yet)

I'm getting started with wxPython on Mac OS 10.3. Can anyone point me toward sample code that will show the nuts and bolts of writing large text files to the screen? TextCtrl is very nice, but 32kb is much smaller than I need.

A wxScrolledWindow (two, rather, inside wxPanels inside a wxFrame, all with wxBoxSizers) looks like the right place to work, but I can't find anything in the Demo or docs on the details of using it--the DC and so on--with text.

Charles Hartman

maybe StyledTextCtrl can meet the challenge... :slight_smile: or if you don't need editing...
HtmlWindow

Look in the demo for some sample code on how to use them :wink:

···

On Thu, 2 Sep 2004 09:40:52 -0400, Charles Hartman <cohar@conncoll.edu> wrote:

I'm getting started with wxPython on Mac OS 10.3. Can anyone point me toward sample code that will show the nuts and bolts of writing large text files to the screen? TextCtrl is very nice, but 32kb is much smaller than I need.

--
Peter Damoc
Hacker Wannabe

Charles Hartman wrote:

(I tried posting this before, but I don't think my subscription had caught yet)

I'm getting started with wxPython on Mac OS 10.3. Can anyone point me toward sample code that will show the nuts and bolts of writing large text files to the screen? TextCtrl is very nice, but 32kb is much smaller than I need.

A wxScrolledWindow (two, rather, inside wxPanels inside a wxFrame, all with wxBoxSizers) looks like the right place to work, but I can't find anything in the Demo or docs on the details of using it--the DC and so on--with text.

http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:mss:31638:200408:glbkmkmdigcogoinkpon

···

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