/[thuban]
ViewVC logotype

Revision 122


Jump to revision: Previous Next
Author: bh
Date: Mon Apr 29 18:04:54 2002 UTC (22 years, 10 months ago)
Changed paths: 1
Log Message:
	* Thuban/UI/view.py (MapCanvas): Derive from Publisher as well
	(MapCanvas.__del__): Implement because Publisher.__del__ has to be
	called.
	(MapCanvas.__init__): Bind EVT_LEAVE_WINDOW too. Initialize
	current_position
	(MapCanvas.set_current_position): New method to set
	current_position. Issue a VIEW_POSITION event
	(MapCanvas.CurrentPosition): New public method to return the value
	of current_position. Should be called when the VIEW_POSITION event
	is processed.
	(MapCanvas.OnLeftDown, MapCanvas.OnLeftUp, MapCanvas.OnMotion):
	Update the position.
	(MapCanvas.OnLeaveWindow): Set the position to None.


Changed paths

Path Details
Directorytrunk/thuban/Thuban/UI/view.py modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26