File: //usr/local/ssl/local/ssl/lib/python2.4/Demo/tkinter/guido/canvasevents.pyc
mò
‚=5Dc @ sì d k Td k l Z l Z l Z d e f d „ ƒ YZ d f d „ ƒ YZ d e f d „ ƒ YZ d f d „ ƒ YZ d
e f d „ ƒ YZ d e f d
„ ƒ YZ d e f d „ ƒ YZ
d f d „ ƒ YZ d „ Z e
d j o e ƒ n d S( ( t *( s Ovals Groups
CanvasTextt Groupc B s t Z d d d „ Z RS( Nc C s | i i | i | | ƒ S( N( t selft canvast tag_bindt idt sequencet command( R R R ( ( t5 /usr/lib/python2.4/Demo/tkinter/guido/canvasevents.pyt bind s ( t __name__t
__module__t NoneR ( ( ( R R
s t Objectc B sY t Z d Z d d d d d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d
„ Z RS( s½ Base class for composite graphical objects.
Objects belong to a canvas, and can be moved around on the canvas.
They also belong to at most one ``pile'' of objects, and can be
transferred between piles (or removed from their pile).
Objects have a canonical ``x, y'' position which is moved when the
object is moved. Where the object is relative to this position
depends on the object; for simple objects, it may be their center.
Objects have mouse sensitivity. They can be clicked, dragged and
double-clicked. The behavior may actually determined by the pile
they are in.
All instance attributes are public since the derived class may
need them.
i t redt objectc C sJ | | _ | | _ | | _ d | _ t | i ƒ | _ | i | | ƒ d S( N( R R t xt yR t pileR t groupt createitemst fillt text( R R R R R R ( ( R t __init__# s c C s
t | i ƒ S( N( t strR R ( R ( ( R t __str__+ s c
C s” t | i | i d | i d | i d | i d d | d d ƒ| _ | i i | i ƒ t | i | i | i d | ƒ| _ | i i | i ƒ d S( Ni i
R t widthi R ( t OvalR R R R R t
_Object__ovalR t addtag_withtagt
CanvasTextR t
_Object__text( R R R ( ( R R . s ( c C s] | | j o
d j n o d Sn | i i | | ƒ | i | | _ | i | | _ d S( Ni ( t dxt dyR R t moveR R ( R R R! ( ( R t moveby7 s
c C s"