Mercurial > fife-parpg
comparison engine/extensions/pychan/compat.py @ 222:c050f257cec3
PyChan: Now Widgets may _in principle_ receive key events.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 19 Mar 2009 20:14:49 +0000 |
parents | 6214a0b91eb2 |
children | 48c99636453e |
comparison
equal
deleted
inserted
replaced
221:e901bdec7578 | 222:c050f257cec3 |
---|---|
73 | 73 |
74 if in_fife: | 74 if in_fife: |
75 fife = guichan | 75 fife = guichan |
76 guichan.ActionListener._ActionListener_init__ = lambda x : x | 76 guichan.ActionListener._ActionListener_init__ = lambda x : x |
77 #guichan.MouseListener.__init__ = lambda x : x | 77 #guichan.MouseListener.__init__ = lambda x : x |
78 guichan.KeyListener.__init__ = lambda x : x | 78 #guichan.KeyListener.__init__ = lambda x : x |
79 else: | 79 else: |
80 guichan.Point = _point | 80 guichan.Point = _point |
81 guichan.ScrollArea.SHOW_AUTO = guichan.ScrollArea.ShowAuto | 81 guichan.ScrollArea.SHOW_AUTO = guichan.ScrollArea.ShowAuto |
82 guichan.ScrollArea.SHOW_NEVER = guichan.ScrollArea.ShowNever | 82 guichan.ScrollArea.SHOW_NEVER = guichan.ScrollArea.ShowNever |
83 guichan.ScrollArea.SHOW_ALWAYS = guichan.ScrollArea.ShowAlways | 83 guichan.ScrollArea.SHOW_ALWAYS = guichan.ScrollArea.ShowAlways |