Ñò
« gc @ s7 d d k Td e f d „ ƒ YZ e ƒ Z e i ƒ d S( iÿÿÿÿ( t *t Testc B s8 e Z d „ Z d „ Z d „ Z d „ Z d d „ Z RS( c C s d GHd S( Nt hi( ( t self( ( s9 /usr/lib64/python2.6/Demo/tkinter/matt/canvas-gridding.pyt printit s c C s{ t | d d d d d d d d d | i ƒ| _ | i i d
t d t ƒ t | d d
d d
ƒ| _ | i i d
t ƒ d S( Nt textt QUITt
backgroundt redt
foregroundt whitet heighti t commandt sidet fillt widtht 5i( t Buttont quitR t packt BOTTOMt BOTHt Canvast canvasObjectt LEFT( R ( ( s9 /usr/lib64/python2.6/Demo/tkinter/matt/canvas-gridding.pyt
createWidgets s c C s@ | i i | i | i ƒ | _ | i i | i | i ƒ | _ d S( N( R t canvasxt xt griddingSizet startxt canvasyt yt starty( R t event( ( s9 /usr/lib64/python2.6/Demo/tkinter/matt/canvas-gridding.pyt mouseDown s c C s¥ | i i | i | i ƒ } | i i | i | i ƒ } | i | i j oX | i | i j oE | i i | i ƒ | i i
| i | i | | ƒ | _ | i ƒ n d S( N( R R R R R R R R t deletet
rubberbandBoxt create_rectanglet update_idletasks( R R! R R ( ( s9 /usr/lib64/python2.6/Demo/tkinter/matt/canvas-gridding.pyt mouseMotion s & c C so t i | | ƒ t i | ƒ | i ƒ d | _ d | _ t i | i
d | i ƒ t i | i
d | i ƒ d S( Ni2 s