Table Of Contents

Previous topic

Cursors

Next topic

GUIMouse

This Page

phoenix_title GUIBase

Basic Mouse mode and baseclass for other GUImode.

This one does nothing with any event


class_hierarchy Inheritance Diagram

Inheritance diagram for class GUIBase

Inheritance diagram of GUIBase


method_summary Methods Summary

__init__  
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)


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