;ò †%’Bc @sÎdkZdkZdkZddddddddd d d d g Zd eifd„ƒYZd„ZdZedjoPdk Z dk Z dk Z e i de i ie idƒge idƒndS(Ns AquamarinesBlacksBlues Blue VioletsBrowns Cadet BluesCoralsCornflower BluesCyans Dark Greys Dark GreensDark Olive GreensTestLBcBs,tZd„Zd„Zd„Zd„ZRS(Nc Cs\tii|||dtiƒ||_tiddƒ} xAt dƒD]3} t t d| dƒ}|ƒ}| i|ƒqGW|i| ƒt} d}x’tD]Š}|i|ƒ}|i||d|ƒ|d7}|| iƒjo d}n| o1ti|idd tid d ƒƒ} t} qžqžW|iti |i!ƒ|iti"|i#ƒdS( Nsstylei i sgetLB%02dBitmapiisimageIdiÿÿÿÿs[You can put nearly any type of window here, and the list can be on any side of the Listbooki ($swxsListbooks__init__sselfsparentsids LB_DEFAULTslogs ImageListsilsrangesxsgetattrsimagessfsbmpsAddsAssignImageListsTruesfirstsimIDs colourListscoloursmakeColorPanelswinsAddPages GetImageCounts StaticTextsPointsstsFalsesBindsEVT_LISTBOOK_PAGE_CHANGEDs OnPageChangedsEVT_LISTBOOK_PAGE_CHANGINGsOnPageChanging( sselfsparentsidslogsimIDsfswinsbmpscoloursilsstsxsfirst((sh/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Listbook.pys__init__s2      cCsTti|dƒ}ti||ƒ}||_|d„}|i ti |ƒ|SdS(NiÿÿÿÿcCs|i|iƒƒdS(N(swinsSetSizesevtsGetSize(sevtswin((sh/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Listbook.pysOnCPSize8s( swxsPanelsselfsps ColorPanels ColoredPanelscolorswinsOnCPSizesBindsEVT_SIZE(sselfscolorswinspsOnCPSize((sh/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Listbook.pysmakeColorPanel4s   cCsO|iƒ}|iƒ}|iƒ}|iid|||fƒ|i ƒdS(Ns'OnPageChanged, old:%d, new:%d, sel:%d ( seventsGetOldSelectionsolds GetSelectionsnewsselfsselslogswritesSkip(sselfseventsnewsselsold((sh/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Listbook.pys OnPageChanged>s    cCsO|iƒ}|iƒ}|iƒ}|iid|||fƒ|i ƒdS(Ns'OnPageChanging, old:%d, new:%d, sel:%d ( seventsGetOldSelectionsolds GetSelectionsnewsselfsselslogswritesSkip(sselfseventsnewsselsold((sh/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Listbook.pysOnPageChangingEs    (s__name__s __module__s__init__smakeColorPanels OnPageChangedsOnPageChanging(((sh/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Listbook.pysTestLBs % cCst|d|ƒ}|SdS(Niÿÿÿÿ(sTestLBsnbslogstestWin(sframesnbslogstestWin((sh/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Listbook.pysrunTestNss

wx.Listbook

This class is a control similar to a notebook control, but with a wx.ListCtrl instead of a set of tabs. s__main__sii(swxs ColorPanelsimagess colourListsListbooksTestLBsrunTestsoverviews__name__ssyssossrunsmainspathsbasenamesargv( ssyssrunsoverviewsTestLBs ColorPanelsrunTestsimagessoss colourListswx((sh/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/Listbook.pys?s   *@