??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
V
Qc @ s` d Z d d l Td a d
\ a a d Z d Z d Z d Z e
d k r\ e n d S( sA "Paint program by Dave Michell.
Subject: tkinter "paint" example
From: Dave Mitchell
To: python-list@cwi.nl
Date: Fri, 23 Jan 1998 12:18:05 -0500 (EST)
Not too long ago (last week maybe?) someone posted a request
for an example of a paint program using Tkinter. Try as I might
I can't seem to find it in the archive, so i'll just post mine
here and hope that the person who requested it sees this!
All this does is put up a canvas and draw a smooth black line
whenever you have the mouse button down, but hopefully it will
be enough to start with.. It would be easy enough to add some
options like other shapes or colors...
yours,
dave mitchell
davem@magnet.com
i( t *t upc C s] t } t | } | j | j d t | j d t | j d t | j d S( Ns s s ( t Tkt Canvast packt bindt motiont b1downt b1upt mainloop( t roott drawing_area( ( s0 /usr/lib64/python2.7/Demo/tkinter/guido/paint.pyt main s
c C s
d a d S( Nt down( t b1( t event( ( s0 /usr/lib64/python2.7/Demo/tkinter/guido/paint.pyR ' s c C s d a d a d a d S( NR ( R t Nonet xoldt yold( R ( ( s0 /usr/lib64/python2.7/Demo/tkinter/guido/paint.pyR , s c C se t d k ra t d k rL t d k rL | j j t t | j | j d t n | j a | j a n d S( NR
t smooth( R R R R t widgett create_linet xt yt TRUE( R ( ( s0 /usr/lib64/python2.7/Demo/tkinter/guido/paint.pyR 2 s
( t __main__N( NN( t __doc__t TkinterR R R R R R R R t __name__( ( ( s0 /usr/lib64/python2.7/Demo/tkinter/guido/paint.pyt s