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