home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2009 June / maximum-cd-2009-06.iso / DiscContents / digsby_setup.exe / lib / gui / native / mac / machelpers.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-02-26  |  1.3 KB  |  34 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.5)
  3.  
  4. import wx
  5. import gui.native as gui
  6. import time
  7. import os
  8. import Carbon.CarbonEvt as Carbon
  9.  
  10. def FullscreenApp():
  11.     gui.native.notImplemented()
  12.     return False
  13.  
  14.  
  15. def SetOnTaskbar(f, val):
  16.     gui.native.notImplemented()
  17.  
  18.  
  19. def GetOnTaskbar(f):
  20.     return True
  21.  
  22.  
  23. def GetUserIdleTime():
  24.     lastEventTime = Carbon.CarbonEvt.GetCurrentEventTime() - Carbon.CarbonEvt.GetLastUserEventTime()
  25.     return lastEventTime * 1000
  26.  
  27.  
  28. def createEmail(mailto):
  29.     return os.system('open ' + mailto)
  30.  
  31. wx.Window.ShowNoFocus = wx.Window.Show
  32. wx.Window.ReallyRaise = wx.Window.Raise
  33. wx.TopLevelWindow.Visible = wx.TopLevelWindow.Shown
  34.