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

Class Events

source code

Information concerning all events
Instance Methods [hide private]
 
__init__(self) source code
 
event_added_subscribe(self, listener)
Add a listener when an event is added to the queue
source code
 
event_added_unsubscribe(self, listener)
Remove a listener when an event is added to the queue
source code
 
event_removed_subscribe(self, listener)
Add a listener when an event is removed from the queue
source code
 
event_removed_unsubscribe(self, listener)
Remove a listener when an event is removed from the queue
source code
 
fire_event_added(self, event) source code
 
fire_event_removed(self, event_list) source code
 
change_account_name(self, old_name, new_name) source code
 
add_account(self, account) source code
 
get_accounts(self) source code
 
remove_account(self, account) source code
 
create_event(self, type_, parameters, time_=1281578713.57, show_in_roster=False, show_in_systray=True) source code
 
add_event(self, account, jid, event) source code
 
remove_events(self, account, jid, event=None, types=[])
If event is not specified, remove all events from this jid, optionally only from given type return True if no such event found
source code
 
change_jid(self, account, old_jid, new_jid) source code
 
get_nb_events(self, types=[], account=None) source code
 
get_events(self, account, jid=None, types=[])
Return all events from the given account of the form {jid1: [], jid2: []}.
source code
 
get_first_event(self, account, jid=None, type_=None)
Return the first event of type type_ if given
source code
 
_get_nb_events(self, account=None, jid=None, attribute=None, types=[])
Return the number of pending events
source code
 
_get_some_events(self, attribute)
Attribute in systray, roster
source code
 
_get_first_event_with_attribute(self, events)
Get the first event
source code
 
get_nb_systray_events(self, types=[])
Return the number of events displayed in roster
source code
 
get_systray_events(self)
{account1: {jid1: [ev1, ev2], },.
source code
 
get_first_systray_event(self) source code
 
get_nb_roster_events(self, account=None, jid=None, types=[])
Return the number of events displayed in roster
source code
 
get_roster_events(self)
{account1: {jid1: [ev1, ev2], },.
source code
Method Details [hide private]

__init__(self)
(Constructor)

source code 

event_added_subscribe(self, listener)

source code 
Add a listener when an event is added to the queue

event_added_unsubscribe(self, listener)

source code 
Remove a listener when an event is added to the queue

event_removed_subscribe(self, listener)

source code 
Add a listener when an event is removed from the queue

event_removed_unsubscribe(self, listener)

source code 
Remove a listener when an event is removed from the queue

fire_event_added(self, event)

source code 

fire_event_removed(self, event_list)

source code 

change_account_name(self, old_name, new_name)

source code 

add_account(self, account)

source code 

get_accounts(self)

source code 

remove_account(self, account)

source code 

create_event(self, type_, parameters, time_=1281578713.57, show_in_roster=False, show_in_systray=True)

source code 

add_event(self, account, jid, event)

source code 

remove_events(self, account, jid, event=None, types=[])

source code 
If event is not specified, remove all events from this jid, optionally only from given type return True if no such event found

change_jid(self, account, old_jid, new_jid)

source code 

get_nb_events(self, types=[], account=None)

source code 

get_events(self, account, jid=None, types=[])

source code 
Return all events from the given account of the form {jid1: [], jid2: []}. If jid is given, returns all events from the given jid in a list: [] optionally only from given type

get_first_event(self, account, jid=None, type_=None)

source code 

Return the first event of type type_ if given

_get_nb_events(self, account=None, jid=None, attribute=None, types=[])

source code 
Return the number of pending events

_get_some_events(self, attribute)

source code 
Attribute in systray, roster

_get_first_event_with_attribute(self, events)

source code 

Get the first event

events is in the form {account1: {jid1: [ev1, ev2], },. }

get_nb_systray_events(self, types=[])

source code 
Return the number of events displayed in roster

get_systray_events(self)

source code 
Return all events that must be displayed in systray:
{account1: {jid1: [ev1, ev2], },. }

get_first_systray_event(self)

source code 

get_nb_roster_events(self, account=None, jid=None, types=[])

source code 
Return the number of events displayed in roster

get_roster_events(self)

source code 
Return all events that must be displayed in roster:
{account1: {jid1: [ev1, ev2], },. }