Package wx :: Class MouseState
[frames | no frames]

Type MouseState

object --+
         |
        MouseState


wx.MouseState is used to hold information about mouse button and modifier key states and is what is returned from wx.GetMouseState.


Method Summary
MouseState __init__(self)
wx.MouseState is used to hold information about mouse button and modifier key states and is what is returned from wx.GetMouseState.
  __del__(self)
bool AltDown(self)
bool CmdDown(self)
bool ControlDown(self)
int GetX(self)
int GetY(self)
bool LeftDown(self)
bool MetaDown(self)
bool MiddleDown(self)
bool RightDown(self)
  SetAltDown(self, down)
  SetControlDown(self, down)
  SetLeftDown(self, down)
  SetMetaDown(self, down)
  SetMiddleDown(self, down)
  SetRightDown(self, down)
  SetShiftDown(self, down)
  SetX(self, x)
  SetY(self, y)
bool ShiftDown(self)

Property Summary
  altDown: AltDown(self) -> bool
  cmdDown: CmdDown(self) -> bool
  controlDown: ControlDown(self) -> bool
  leftDown: LeftDown(self) -> bool
  metaDown: MetaDown(self) -> bool
  middleDown: MiddleDown(self) -> bool
  rightDown: RightDown(self) -> bool
  shiftDown: ShiftDown(self) -> bool
  thisown: The membership flag
  x: GetX(self) -> int
  y: GetY(self) -> int

Method Details

__init__(self)
(Constructor)

wx.MouseState is used to hold information about mouse button and modifier key states and is what is returned from wx.GetMouseState.

Returns:
MouseState
Overrides:
__builtin__.object.__init__

Property Details

altDown

AltDown(self) -> bool

Get Method:
AltDown(self)
Set Method:
SetAltDown(self, down)

cmdDown

CmdDown(self) -> bool

Get Method:
CmdDown(self)

controlDown

ControlDown(self) -> bool

Get Method:
ControlDown(self)
Set Method:
SetControlDown(self, down)

leftDown

LeftDown(self) -> bool

Get Method:
LeftDown(self)
Set Method:
SetLeftDown(self, down)

metaDown

MetaDown(self) -> bool

Get Method:
MetaDown(self)
Set Method:
SetMetaDown(self, down)

middleDown

MiddleDown(self) -> bool

Get Method:
MiddleDown(self)
Set Method:
SetMiddleDown(self, down)

rightDown

RightDown(self) -> bool

Get Method:
RightDown(self)
Set Method:
SetRightDown(self, down)

shiftDown

ShiftDown(self) -> bool

Get Method:
ShiftDown(self)
Set Method:
SetShiftDown(self, down)

thisown

The membership flag

x

GetX(self) -> int

Get Method:
GetX(self)
Set Method:
SetX(self, x)

y

GetY(self) -> int

Get Method:
GetY(self)
Set Method:
SetY(self, y)

Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:54:33 2009 http://epydoc.sf.net