;ò ‚X6Ac2@sÄdkZeieieieieieieieiei ei ei ei ei eieieieieieieieieieieieieieieieieieiei ei!ei"ei#ei$ei%ei&ei'ei(ei)ei*ei+ei,ei-ei.ei/ei0ei1ei2g2Z3dei4fd„ƒYZ5d„Z6dZ7e8djoPdk9Z9dk:Z:dk;Z;e;i<de:i=i>e9i?dƒge9i?dƒndS( Ns TestPanelcBstZd„ZRS(NcCs~||_tii||dƒtiddddddƒ}x-tD]%}ti ||ƒ}|i |ƒqDW|i |ƒdS(Niÿÿÿÿscolsishgapisvgap(slogsselfswxsPanels__init__sparents FlexGridSizerssizersstockIDssIDsButtonsbsAddsSetSizer(sselfsparentslogsbssizersID((sl/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/StockButtons.pys__init__>s (s__name__s __module__s__init__(((sl/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/StockButtons.pys TestPanel=scCst||ƒ}|SdS(N(s TestPanelsnbslogswin(sframesnbslogswin((sl/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/StockButtons.pysrunTestLss~

Stock Buttons

It is now possible to create "stock" buttons. Basically this means that you only have to provide one of the stock IDs (and an empty label) when creating the button and wxWidgets will choose the stock label to go with it automatically. Additionally on the platforms that have a native concept of a stock button (currently only GTK2) then the native stock button will be used.

This sample shows buttons for all of the currenlty available stock IDs. Notice that when the button is created that no label is given, and compare that with the button that is created. s__main__sii(@swxsID_ADDsID_APPLYsID_BOLDs ID_CANCELsID_CLEARsID_CLOSEsID_COPYsID_CUTs ID_DELETEsID_FINDs ID_REPLACEs ID_BACKWARDsID_DOWNs ID_FORWARDsID_UPsID_HELPsID_HOMEs ID_INDENTsID_INDEXs ID_ITALICsID_JUSTIFY_CENTERsID_JUSTIFY_FILLsID_JUSTIFY_LEFTsID_JUSTIFY_RIGHTsID_NEWsID_NOsID_OKsID_OPENsID_PASTEsID_PREFERENCESsID_PRINTs ID_PREVIEWs ID_PROPERTIESsID_EXITsID_REDOs ID_REFRESHs ID_REMOVEsID_REVERT_TO_SAVEDsID_SAVEs ID_SAVEASsID_STOPs ID_UNDELETEs ID_UNDERLINEsID_UNDOs ID_UNINDENTsID_YESs ID_ZOOM_100s ID_ZOOM_FITs ID_ZOOM_INs ID_ZOOM_OUTsstockIDssPanels TestPanelsrunTestsoverviews__name__ssyssossrunsmainspathsbasenamesargv(ssyssrunsstockIDssoverviewsrunTestswxsoss TestPanel((sl/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/StockButtons.pys?s ÿ36