# Class e.p.w.w.WindowsMessageSource(gobject.Source):

Part of elisa.plugins.wmd.windows_message View In Hierarchy

A gobject source to attach to your main loop. It will create an invisible window for you and call your window proc(s) when the window receives messages.

Line # | Kind | Name | Docs
--- | --- | --- | ---
34 | Method | __init__ |
56 | Method | destroy | Undocumented
65 | Method | register_device_notification | Add a guid for which we want to receive device notifications.
75 | Method | prepare | Undocumented
79 | Method | check | Undocumented
85 | Method | dispatch | Undocumented

def __init__(self, window_procs):

Parameters | window_procs | a dict of message type:callback (type: `dict` )

def destroy(self):
Undocumented
def register_device_notification(self, guid):
Add a guid for which we want to receive device notifications.

def prepare(self):
Undocumented
def check(self):
Undocumented
def dispatch(self, callback, args):
Undocumented