diff engine/extensions/basicapplication.py @ 154:d29593182f40

- modified clicklabel to provide a mouse listener for hover events - modified clicklabel.i to make new methods available for python - added LabelListener to pychan wrapper, as well as two new methods to Label class to set enter / exit callbacks NOTE:
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 11 Oct 2008 14:13:56 +0000
parents d2f1e81fbe2c
children bb9902910067
line wrap: on
line diff
--- a/engine/extensions/basicapplication.py	Sat Oct 11 14:03:01 2008 +0000
+++ b/engine/extensions/basicapplication.py	Sat Oct 11 14:13:56 2008 +0000
@@ -29,6 +29,9 @@
 		keyval = evt.getKey().getValue()
 		if keyval == fife.Key.ESCAPE:
 			self.app.quit()
+		elif keyval == fife.Key.F10:
+			self.engine.getGuiManager().getConsole().toggleShowHide()
+			evt.consume()
 
 	def keyReleased(self, evt):
 		pass