jorgecarleitao/pyglet-gui — pull request #16 by jorgehatccrma (2014-10-15 00:29:37+00:00)
Title: added (type, obj) to super() calls, to enable python 2 support

I tried running the examples using python 2.7 and they all threw exceptions complaining about `super()` requiring more arguments. I did some research and apparently `super()` without args is python3 magic, but adding the arguments explicitly enables python2 support (probably >= 2.5, but I've only tested in 2.7)

Also, fixed `TextInput` theme font usage. The way it was, the *font* and *font-size* keys in the *input* object in the theme dictionary would only apply to the edit state, but not the label state. I made it use the theme in both cases.