+ return _misc_.GetKeyState(*args, **kwargs)
+class MouseState(object):
+ """
+ `wx.MouseState` is used to hold information about mouse button and
+ modifier key states and is what is returned from `wx.GetMouseState`.
+ """
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+ __repr__ = _swig_repr
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self) -> MouseState
+
+ `wx.MouseState` is used to hold information about mouse button and
+ modifier key states and is what is returned from `wx.GetMouseState`.
+ """
+ _misc_.MouseState_swiginit(self,_misc_.new_MouseState(*args, **kwargs))
+ __swig_destroy__ = _misc_.delete_MouseState
+ __del__ = lambda self : None;
+ def GetX(*args, **kwargs):
+ """GetX(self) -> int"""
+ return _misc_.MouseState_GetX(*args, **kwargs)
+
+ def GetY(*args, **kwargs):
+ """GetY(self) -> int"""
+ return _misc_.MouseState_GetY(*args, **kwargs)
+
+ def LeftDown(*args, **kwargs):
+ """LeftDown(self) -> bool"""
+ return _misc_.MouseState_LeftDown(*args, **kwargs)
+
+ def MiddleDown(*args, **kwargs):
+ """MiddleDown(self) -> bool"""
+ return _misc_.MouseState_MiddleDown(*args, **kwargs)
+
+ def RightDown(*args, **kwargs):
+ """RightDown(self) -> bool"""
+ return _misc_.MouseState_RightDown(*args, **kwargs)
+
+ def ControlDown(*args, **kwargs):
+ """ControlDown(self) -> bool"""
+ return _misc_.MouseState_ControlDown(*args, **kwargs)
+
+ def ShiftDown(*args, **kwargs):
+ """ShiftDown(self) -> bool"""
+ return _misc_.MouseState_ShiftDown(*args, **kwargs)
+
+ def AltDown(*args, **kwargs):
+ """AltDown(self) -> bool"""
+ return _misc_.MouseState_AltDown(*args, **kwargs)
+
+ def MetaDown(*args, **kwargs):
+ """MetaDown(self) -> bool"""
+ return _misc_.MouseState_MetaDown(*args, **kwargs)
+
+ def CmdDown(*args, **kwargs):
+ """CmdDown(self) -> bool"""
+ return _misc_.MouseState_CmdDown(*args, **kwargs)
+
+ def SetX(*args, **kwargs):
+ """SetX(self, int x)"""
+ return _misc_.MouseState_SetX(*args, **kwargs)
+
+ def SetY(*args, **kwargs):
+ """SetY(self, int y)"""
+ return _misc_.MouseState_SetY(*args, **kwargs)
+
+ def SetLeftDown(*args, **kwargs):
+ """SetLeftDown(self, bool down)"""
+ return _misc_.MouseState_SetLeftDown(*args, **kwargs)
+
+ def SetMiddleDown(*args, **kwargs):
+ """SetMiddleDown(self, bool down)"""
+ return _misc_.MouseState_SetMiddleDown(*args, **kwargs)
+
+ def SetRightDown(*args, **kwargs):
+ """SetRightDown(self, bool down)"""
+ return _misc_.MouseState_SetRightDown(*args, **kwargs)
+
+ def SetControlDown(*args, **kwargs):
+ """SetControlDown(self, bool down)"""
+ return _misc_.MouseState_SetControlDown(*args, **kwargs)
+
+ def SetShiftDown(*args, **kwargs):
+ """SetShiftDown(self, bool down)"""
+ return _misc_.MouseState_SetShiftDown(*args, **kwargs)
+
+ def SetAltDown(*args, **kwargs):
+ """SetAltDown(self, bool down)"""
+ return _misc_.MouseState_SetAltDown(*args, **kwargs)
+
+ def SetMetaDown(*args, **kwargs):
+ """SetMetaDown(self, bool down)"""
+ return _misc_.MouseState_SetMetaDown(*args, **kwargs)
+
+ x = property(GetX, SetX)
+ y = property(GetY, SetY)
+ leftDown = property(LeftDown, SetLeftDown)
+ middleDown = property(MiddleDown, SetMiddleDown)
+ rightDown = property(RightDown, SetRightDown)
+ controlDown = property(ControlDown, SetControlDown)
+ shiftDown = property(ShiftDown, SetShiftDown)
+ altDown = property(AltDown, SetAltDown)
+ metaDown = property(MetaDown, SetMetaDown)
+ cmdDown = property(CmdDown)
+
+MouseState_swigregister = _misc_.MouseState_swigregister
+MouseState_swigregister(MouseState)
+FileSelectorPromptStr = cvar.FileSelectorPromptStr
+FileSelectorDefaultWildcardStr = cvar.FileSelectorDefaultWildcardStr
+DirSelectorPromptStr = cvar.DirSelectorPromptStr
+