Package common :: Module events :: Class Event
[hide private]
[frames] | no frames]

Class Event

source code

Information concerning each event
Instance Methods [hide private]
 
__init__(self, type_, time_, parameters, show_in_roster=False, show_in_systray=True)
type_ in chat, normal, file-request, file-error, file-completed, file-request-error, file-send-error, file-stopped, gc_msg, pm, printed_chat, printed_gc_msg, printed_marked_gc_msg, printed_pm, gc-invitation, subscription_request, unsubscribedm jingle-incoming
source code
Method Details [hide private]

__init__(self, type_, time_, parameters, show_in_roster=False, show_in_systray=True)
(Constructor)

source code 

type_ in chat, normal, file-request, file-error, file-completed,
file-request-error, file-send-error, file-stopped, gc_msg, pm,
printed_chat, printed_gc_msg, printed_marked_gc_msg, printed_pm,
gc-invitation, subscription_request, unsubscribedm jingle-incoming

parameters is (per type_):
        chat, normal, pm: [message, subject, kind, time, encrypted, resource,
        msg_id]
                where kind in error, incoming
        file-*: file_props
        gc_msg: None
        printed_chat: control
        printed_*: None
                messages that are already printed in chat, but not read
        gc-invitation: [room_jid, reason, password, is_continued]
        subscription_request: [text, nick]
        unsubscribed: contact
        jingle-incoming: (fulljid, sessionid, content_types)