;ò iAc@s’dkZdeifd„ƒYZd„ZdZedjoPdkZdkZdkZei dei i ei dƒgei dƒndS( Ns TestPanelcBstZd„Zd„ZRS(NcCsZ||_tii||dƒti|ddddfƒ}|iti |i |ƒdS(NiÿÿÿÿsCreate and Show a ColourDialogi2( slogsselfswxsPanels__init__sparentsButtonsbsBinds EVT_BUTTONsOnButton(sselfsparentslogsb((sl/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ColourDialog.pys__init__s cCs|ti|ƒ}|iƒitƒ|iƒtijo6|iƒ}|i i dt |i ƒiƒƒƒn|iƒdS(NsYou selected: %s (swxs ColourDialogsselfsdlgs GetColourDatas SetChooseFullsTrues ShowModalsID_OKsdataslogs WriteTextsstrs GetColoursGetsDestroy(sselfsevtsdlgsdata((sl/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ColourDialog.pysOnButtons  *(s__name__s __module__s__init__sOnButton(((sl/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ColourDialog.pys TestPanels cCst||ƒ}|SdS(N(s TestPanelsnbslogswin(sframesnbslogswin((sl/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ColourDialog.pysrunTest'ssÓThis class represents the colour chooser dialog. Use of this dialog is a multi-stage process. The actual information about how to display the dialog and the colors in the dialog's 'registers' are contained in a wx.ColourData instance that is created by the dialog at init time. Before displaying the dialog, you may alter these settings to suit your needs. In the example, we set the dialog up to show the extended colour data selection pane. Otherwise, only the more compact and less extensive colour dialog is shown. You may also preset the colour as well as other items. If the user selects something and selects OK, then the wx.ColourData instance contains the colour data that the user selected. Before destroying the dialog, retrieve the data. Do not try to retain the wx.ColourData instance. It will probably not be valid after the dialog is destroyed. Along with he wx.ColourDialog documentation, see also the wx.ColourData documentation for details. s__main__sii( swxsPanels TestPanelsrunTestsoverviews__name__ssyssossrunsmainspathsbasenamesargv(ssyssrunsoverviewsrunTestswxsoss TestPanel((sl/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ColourDialog.pys?s !