;ò êAc@s›dkZdkZdeifd„ƒYZd„ZdZedjoPdkZdkZdk Z e i dei i ei dƒgei dƒndS( Ns TestPanelcBstZd„Zd„ZRS(NcCsZ||_tii||dƒti|ddddfƒ}|iti |i |ƒdS(Niÿÿÿÿs&Create and Show a MultipleChoiceDialogi2( slogsselfswxsPanels__init__sparentsButtonsbsBinds EVT_BUTTONsOnButton(sselfsparentslogsb((st/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultipleChoiceDialog.pys__init__s cCsœddddddddd d d d d dg}tiii|dd|ƒ}|iƒtijo*|i i d|i ƒ|i ƒfƒn|i ƒdS(Nsapplespearsbananascoconutsorangesgrapes pineapples blueberrys raspberrys blackberrys snozzleberrysetcsetc..setc...s&Pick some from this list blah blah...sm.s.d.sSelection: %s -> %s (slstswxslibsdialogssMultipleChoiceDialogsselfsdlgs ShowModalsID_OKslogswritesGetValuesGetValueStringsDestroy(sselfsevtsdlgslst((st/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultipleChoiceDialog.pysOnButtons0 *(s__name__s __module__s__init__sOnButton(((st/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultipleChoiceDialog.pys TestPanels cCst||ƒ}|SdS(N(s TestPanelsnbslogswin(sframesnbslogswin((st/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultipleChoiceDialog.pysrunTest#ss¸ This is a Python implementation of a dialog that is not yet implemented in wxWindows proper, so don't let the wxWindows documentation mislead you.

MultipleChoiceDialog(self, parent, msg, title, lst, pos = wx.wxDefaultPosition, size = (200,200), style = wx.DEFAULT_DIALOG_STYLE)

parent
The parent window
msg
The message that will be displayed above the list
title
The text that will appear on the title bar
lst
A Python list of choices that will appear in the dialog.
pos
The position of the dialog
size
The size of the dialog
style
The style for the dialog. Only styles normally available to wxDialog are available.
Methods
GetValue
Returns a tuple containing the indices of the selected items
GetValueString
Returns a tuple containing the text of the selected items
Additionally, MultipleChoiceDialog.lbox is a standard wx.ListBox which supports all methods applicable to that class. s__main__sii(swxswx.lib.dialogssPanels TestPanelsrunTestsoverviews__name__ssyssossrunsmainspathsbasenamesargv(ssyssrunsoverviewsrunTestswxsoss TestPanel((st/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultipleChoiceDialog.pys?s   6