home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 October / maximum-cd-2011-10.iso / DiscContents / digsby_setup.exe / lib / win32events.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2011-06-22  |  633 b   |  19 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.6)
  3.  
  4.  
  5. def bindwin32(win, msg, callback):
  6.     if not hasattr(win, '_win32binder'):
  7.         PlatformMessageBinder = PlatformMessageBinder
  8.         import cgui
  9.         win._win32binder = PlatformMessageBinder.ForWindow(win)
  10.     
  11.     win._win32binder.Bind(msg, callback)
  12.  
  13.  
  14. def unbindwin32(win, msg, callback):
  15.     if not hasattr(win, '_win32binder'):
  16.         return None
  17.     win._win32binder.Unbind(msg, callback)
  18.  
  19.