Package wx :: Class SingleChoiceDialog
[frames | no frames]

Type SingleChoiceDialog

object --+                    
         |                    
    Object --+                
             |                
    EvtHandler --+            
                 |            
            Window --+        
                     |        
        TopLevelWindow --+    
                         |    
                    Dialog --+
                             |
                            SingleChoiceDialog


A simple dialog with a single selection listbox.
Method Summary
  __init__(self, *args, **kwargs)
List choices=[], long style=CHOICEDLG_STYLE, Point pos=DefaultPosition) -> SingleChoiceDialog
  __repr__(self)
int GetSelection(self)
Get the index of teh currently selected item.
String GetStringSelection(self)
Returns the string value of the currently selected item
  SetSelection(self, sel)
Set the current selected item to sel

Instance Method Details

__init__(self, *args, **kwargs)
(Constructor)

__init__(Window parent, String message, String caption,
List choices=[], long style=CHOICEDLG_STYLE, Point pos=DefaultPosition) -> SingleChoiceDialog

Constructor. Use ShowModal method to show the dialog.

Overrides:
wx.Dialog.__init__

GetSelection(self)

Get the index of teh currently selected item.
Returns:
int

GetStringSelection(self)

Returns the string value of the currently selected item
Returns:
String

SetSelection(self, sel)

Set the current selected item to sel
Parameters:
sel
           (type=int)

Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:24:40 2005 http://epydoc.sf.net