]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/wxScrolledMessageDialog.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.
15 import wx
.lib
.dialogs
as dlgs
17 #---------------------------------------------------------------------------
19 def runTest(frame
, nb
, log
):
20 f
= open("Main.py", "r")
24 dlg
= dlgs
.wxScrolledMessageDialog(frame
, msg
, "message test")
27 #---------------------------------------------------------------------------
33 <code><b>wxScrolledMessageDialog</b>(parent, msg, caption, pos=wx.DefaultPosition, size=(500,300))</code>
35 This class represents a message dialog that uses a wxTextCtrl to display the
36 message. This allows more flexible information display without having to be
37 as much concerned with layout requirements. A text file can simply be used
39 This dialog offers no special attributes or methods beyond those supported
44 if __name__
== '__main__':
47 run
.main(['', os
.path
.basename(sys
.argv
[0])])