mς ΧVΣIc@sQdZdkZdkZdkZdklZeZdeifd„ƒYZ dS(sL __version__ = "$Revision: 1.6 $" __date__ = "$Date: 2004/09/16 16:11:34 $" N(smodeltMinimalcBs,tZd„Zd„Zd„Zd„ZRS(NcCs‚g|_tii|||ƒ||_t|_ |i|i i _dk }ti |i i |iƒ|_|i i i|idtƒdk}ti |i i |iƒ|_|i i i|idtƒdk}ti |i i |iƒ|_|i i i|idtƒtoSdG|i i iƒGHd|i i i|i i iƒdƒGHdG|i i iGHnd|i i _d|_dS( NtLayouttPrintingtCamerasnumber of pages:slast page text: %s isstringSelection:i(taBgRsrctstyletmodelt Backgroundt__init__tselftaParenttparenttFalsetvisiblet componentstnotebookt prefslayoutt childWindowtGeneraltwin0tAddPagetTruet prefsprintingtwin1t prefscameratwin2tdebugt getPageCountt getPageTexttstringSelectiont last_page(R R RRRR((t#C:\photoboof\0source_files\prefs.pyRs*       (cCs§|iotoˆd|i|ifGHy.dt|iƒd}t|ƒd|GHWn,t j o }d|dt|ƒGHnXdt|iƒGHn|i ƒdS(Ns.pageChanging - oldSelection: %d, selection: %dsself.wins!.on_applycommand_command('dummy')s+..... successfully submitted the command!: s&...... error submitting the command!: s s submit win( R R Rteventt oldSelectiont selectiontstrtcommandtevalt Exceptiontetskip(R R R'R$((Rton_notebook_pageChangingks  cCsD|i|_|io tod|i|ifGHn|iƒdS(Ns.pageChanged - oldSelection: %d, selection: %d(R R"R RR RR!R((R R ((Rton_notebook_pageChanged~s cCs.dt|iƒd}t|ƒt|_dS(Nsself.wins!.on_applycommand_command('dummy')(R#R RR$R%R R (R R R$((Rton_closeˆs (t__name__t __module__RR)R*R+(((RRs R  ( t__doc__tostsystwxt PythonCardRR RRR(R0RRR/RR1((Rt?s