Home | History | Annotate | Download | only in guido

Lines Matching full:objects

16     """Base class for composite graphical objects.
18 Objects belong to a canvas, and can be moved around on the canvas.
19 They also belong to at most one ``pile'' of objects, and can be
22 Objects have a canonical ``x, y'' position which is moved when the
24 depends on the object; for simple objects, it may be their center.
26 Objects have mouse sensitivity. They can be clicked, dragged and
90 """A group of graphical objects."""
96 self.objects = []
107 self.objects.append(object)
113 self.objects.remove(object)
117 i = self.objects.index(object)
138 for i in range(len(self.objects)):
139 o = self.objects[i]
145 self.movethis = self.objects[i:]
164 objects = self.movethis
165 if not objects:
168 self.finishmove(objects)
170 def finishmove(self, objects):
171 for o in objects:
187 o = self.objects[-1]
196 def finishmove(self, objects):
197 o = objects[0]
201 for o in objects:
204 MovingPile.finishmove(self, objects)