| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Return the gtk.TreeIter of the given account or None if not found Keyword arguments: name -- the account name model -- the data model (default TreeFilterModel) |
Return the gtk.TreeIter of the given group or None if not found Keyword arguments: name -- the group name account -- the account name model -- the data model (default TreeFilterModel) |
Return the gtk.TreeIter of SelfContact or None if not found Keyword arguments: account -- the account of SelfContact model -- the data model (default TreeFilterModel) |
Return a list of gtk.TreeIter of the given contact Keyword arguments: jid -- the jid without resource account -- the account contact -- the contact (default None) model -- the data model (default TreeFilterModel) |
Return True if the given iter is a separator Keyword arguments: model -- the data model iter -- the gtk.TreeIter to test |
Iterate over all contact rows in given model Keyword argument model -- the data model (default TreeFilterModel) |
|
|
Add the given contact to roster data model
Contact is added regardless if he is already in roster or not. Return
list of newly added iters.
Keyword arguments:
contact -- the contact to add
account -- the contacts account
groups -- list of groups to add the contact to.
(default groups in contact.get_shown_groups()).
Parameter ignored when big_brother_contact is specified.
big_brother_contact -- if specified contact is added as child
big_brother_contact. (default None)
|
Remove the given contact from roster data model Empty groups after contact removal are removed too. Return False if contact still has children and deletion was not performed. Return True on success. Keyword arguments: contact -- the contact to add account -- the contacts account groups -- list of groups to remove the contact from. |
Add the give Metacontact family to roster data model Add Big Brother to his groups and all others under him. Return list of all added (contact, account) tuples with Big Brother as first element. Keyword arguments: family -- the family, see Contacts.get_metacontacts_family() |
Remove the given Metacontact family from roster data model See Contacts.get_metacontacts_family() and RosterWindow._remove_entity() |
|
|
Add account's SelfContact to roster and draw it and the account Return the SelfContact contact instance |
|
Add contact to roster and draw him Add contact to all its group and redraw the groups, the contact and the account. If it's a Metacontact, add and draw the whole family. Do nothing if the contact is already in roster. Return the added contact instance. If it is a Metacontact return Big Brother. Keyword arguments: jid -- the contact's jid or SelfJid to add SelfContact account -- the corresponding account. |
Remove contact from roster Remove contact from all its group. Remove empty groups or redraw otherwise. Draw the account. If it's a Metacontact, remove the whole family. Do nothing if the contact is not in roster. Keyword arguments: jid -- the contact's jid or SelfJid to remove SelfContact account -- the corresponding account. force -- remove contact even it has pending evens (Default False) backend -- also remove contact instance (Default False) |
Rename the self_contact jid Keyword arguments: old_jid -- our old jid new_jid -- our new jid account -- the corresponding account. |
|
|
|
|
|
Add contact to given groups and redraw them Contact on server is updated too. When the contact has a family, the action will be performed for all members. Keyword Arguments: jid -- the jid account -- the corresponding account groups -- list of Groups to add the contact to. update -- update contact on the server |
Remove contact from given groups and redraw them Contact on server is updated too. When the contact has a family, the action will be performed for all members. Keyword Arguments: jid -- the jid account -- the corresponding account groups -- list of Groups to remove the contact from update -- update contact on the server |
|
|
|
|
|
|
|
|
|
|
|
|
|
Draw given contacts and their avatars in a lazy fashion Keyword arguments: jids -- a list of jids to draw account -- the corresponding account |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Remove contacts on last events removed Only performed if removal was requested before but the contact still had pending events |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Get the status message by:
1/ looking in default status message
2/ asking to user if needed depending on ask_on(ff)line_status and
always_ask
show_pep can be False to hide pep things from status message or True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When an agent is requested to be removed. list_ is a list of (contact, account) tuple |
When clicked on the 'block' button in context menu. list_ is a list of (contact, account) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Remove a contact. list_ is a list of (contact, account) tuples |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Called when a row has gotten the first or lost its last child row Expand Parent if necessary. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 12 02:07:15 2010 | http://epydoc.sourceforge.net |