]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/ScrolledMessageDialog.py
1 # 11/21/2003 - Jeff Grimmett (grimmtooth@softhome.net)
3 # o Updated for wx namespace
5 # 11/30/2003 - Jeff Grimmett (grimmtooth@softhome.net)
7 # o dialogs library needs updated to wx
9 # 12/01/2003 - Jeff Grimmett (grimmtooth@softhome.net)
11 # o dialogs library converted. All is well.
13 # 12/18/2003 - Jeff Grimmett (grimmtooth@softhome.net)
15 # o wxScrolledMessageDialog -> ScrolledMessageDialog
21 #---------------------------------------------------------------------------
23 def runTest(frame
, nb
, log
):
24 f
= open("Main.py", "r")
28 dlg
= wx
.lib
.dialogs
.ScrolledMessageDialog(frame
, msg
, "message test")
31 #---------------------------------------------------------------------------
37 <code><b>ScrolledMessageDialog</b>(parent, msg, caption, pos=wx.DefaultPosition, size=(500,300))</code>
39 This class represents a message dialog that uses a wxTextCtrl to display the
40 message. This allows more flexible information display without having to be
41 as much concerned with layout requirements. A text file can simply be used
43 This dialog offers no special attributes or methods beyond those supported
48 if __name__
== '__main__':
51 run
.main(['', os
.path
.basename(sys
.argv
[0])])