Closed GoogleCodeExporter closed 9 years ago
It would also be kind of cool if you could make the pynguins different colors.
I've looked at trying to change the color of items loaded from svg before and
never was able to figure that out. There may be a way to do it though.
It's tough to label something with its "name" since any object can have
multiple names and no one is specific to the object ...
>>> p2 = Pynguin()
>>> p3 = p2
>>> p2 = Pynguin()
Which one is p2?
Maybe they could just be numbered in order of creation.
Possibly Pynguin could have a .label() method ...
>>> p2 = Pynguin()
>>> p2.label('bob')
Maybe default to the numbers, but add .label() also in case people want to
label them.
Original comment by miss...@hotmail.com
on 29 Jun 2010 at 1:03
I like the .label() idea, (and accompanying .label) as well as the default of
the numbering in order. . .
Original comment by aresnick...@gmail.com
on 29 Jun 2010 at 3:26
Actually, I think "name" might be nicer, FWIW.
Original comment by aresnick...@gmail.com
on 29 Jun 2010 at 3:26
Try after Revision c4732206fb6c. There is now a .label() function and a .name
attribute for each pynguin.
Original comment by miss...@hotmail.com
on 29 Jun 2011 at 12:32
Fixed in version 0.11
Original comment by miss...@hotmail.com
on 11 Aug 2011 at 12:53
Original issue reported on code.google.com by
aresnick...@gmail.com
on 29 Jun 2010 at 12:27