Allow attribute assignment to event type

Issue #62 resolved
René Dudfield
created an issue

== Lenard Lindstrom, 2011-02-10 17:58:44 -0800

{{{ Requested by David Burton on Pygame mailing list:

http://thread.gmane.org/gmane.comp.python.pygame/21954/focus=21960

Current pygame.event.Event types have read only attributes. Yet an internal dictionary is exposed to modification through a dict attribute. Having mutable attributes would be useful for use generated events. The particular use case considered is a Pygame GUI.

Suggest that SDL based attributes be readonly properties, with an instance dict for user added attributes. }}}


== Lenard Lindstrom, 2011-03-29 19:34:30 -0700

{{{ Implemented revision 3057. }}}


Comments (1)

  1. Log in to comment