Table of Contents

Class: Interface zoe.py

The interface encapsulates all the user interface behavior that an engine can exhibit.

Methods   
__init__
_entry
_motion
_mouse
_visibility
entryChange
keyPressed
mouseDown
mouseDrag
mouseMove
mouseUp
reshapeWindow
visibilityChange
  __init__ 
__init__ ( self,  engine )

  _entry 
_entry ( self,  entry )

The window entry wrapper.

  _motion 
_motion ( self,  loc )

The mouse motion wrapper.

  _mouse 
_mouse (
        self,
        button,
        state,
        loc,
        )

The mouse event wrapper.

  _visibility 
_visibility ( self,  visibility )

The visibility wrapper.

  entryChange 
entryChange ( self,  entered )

The mouse moved into or out of the window.

  keyPressed 
keyPressed (
        self,
        key,
        loc,
        )

A key was pressed while the mouse was at the specified location.

  mouseDown 
mouseDown (
        self,
        button,
        loc,
        )

The specified mouse button was clicked while the mouse was at the given location.

  mouseDrag 
mouseDrag (
        self,
        button,
        loc,
        )

The mouse was dragged to the specified location while the given mouse button was held down.

  mouseMove 
mouseMove ( self,  loc )

The mouse moved with no buttons pressed.

  mouseUp 
mouseUp (
        self,
        button,
        loc,
        )

The specified mouse button was released while the mouse was at the given location.

  reshapeWindow 
reshapeWindow ( self,  size )

The window was reshaped.

  visibilityChange 
visibilityChange ( self,  visible )

The window had a visibility chnage.


Table of Contents

This document was automatically generated on Fri Aug 9 12:07:20 2002 by HappyDoc version 2.0.1