示例#1
0
 def test_utilsSomeOtherStuff(self):
     wx.GetBatteryState()
     wx.GetPowerType()
     wx.GetKeyState(wx.WXK_F1)
     wx.GetMousePosition()
     wx.GetMouseState()
     wx.EnableTopLevelWindows(True)
     wx.FindWindowAtPoint((1, 1))
     wx.NewId()
     wx.RegisterId(12345)
     wx.GetUserName()
     wx.GetUserId()
     wx.GetOsDescription()
示例#2
0
 def __exit__(self, exc_type, exc_val, exc_tb):
     wx.EnableTopLevelWindows(True)
示例#3
0
 def __enter__(self):
     wx.EnableTopLevelWindows(False)