Phoenix Logo

phoenix_title wx.lib.floatcanvas.GUIMode.GUIBase

Basic Mouse mode and baseclass for other GUImode.

This one does nothing with any event


class_hierarchy Class Hierarchy

Inheritance diagram for class GUIBase:


method_summary Methods Summary

__init__ Default class constructor.
OnKeyDown  
OnKeyUp  
OnLeftDouble  
OnLeftDown  
OnLeftUp  
OnMiddleDouble  
OnMiddleDown  
OnMiddleUp  
OnMove  
OnRightDouble  
OnRightDown  
OnRightUp  
OnWheel  
UnSet this method gets called by FloatCanvas when a new mode is being set
UpdateScreen Update gets called if the screen has been repainted in the middle of a zoom in

api Class API



class GUIBase(object)

Basic Mouse mode and baseclass for other GUImode.

This one does nothing with any event


Methods



__init__(self, Canvas=None)

Default class constructor.

Parameters:Canvas – the canvas the GUI mode is attached too


OnKeyDown(self, event)


OnKeyUp(self, event)


OnLeftDouble(self, event)


OnLeftDown(self, event)


OnLeftUp(self, event)


OnMiddleDouble(self, event)


OnMiddleDown(self, event)


OnMiddleUp(self, event)


OnMove(self, event)


OnRightDouble(self, event)


OnRightDown(self, event)


OnRightUp(self, event)


OnWheel(self, event)


UnSet(self)

this method gets called by FloatCanvas when a new mode is being set on the Canvas



UpdateScreen(self)

Update gets called if the screen has been repainted in the middle of a zoom in so the Rubber Band Box can get updated. Other GUIModes may require something similar