Module disco :: Class MucBrowser
[hide private]
[frames] | no frames]

Class MucBrowser

source code


Instance Methods [hide private]
 
__init__(self, *args, **kwargs) source code
 
_create_treemodel(self)
Create the treemodel for the services treeview.
source code
 
_clean_treemodel(self) source code
 
_add_actions(self)
Add the action buttons to the buttonbox for actions the browser can perform
source code
 
_clean_actions(self)
Remove the action buttons specific to this browser
source code
 
on_bookmark_button_clicked(self, *args) source code
 
on_join_button_clicked(self, *args)
When we want to join a conference: ask specific informations about the selected agent and close the window
source code
 
update_actions(self)
When we select a row: activate action buttons based on the agent's info
source code
 
default_action(self)
When we double-click a row: perform the default action on the selected item
source code
 
_start_info_query(self)
Idle callback to start checking for visible rows
source code
 
on_scroll(self, *args)
Scrollwindow callback to trigger new queries on scolling
source code
 
_query_visible(self)
Query the next visible row for info
source code
 
_channel_altinfo(self, jid, node, items, name=None)
Callback for the alternate disco#items query.
source code
 
_add_item(self, jid, node, parent_node, item, force)
Called when an item should be added to the model.
source code
 
_update_info(self, iter_, jid, node, identities, features, data)
Called when an item should be updated in the model with further info.
source code
 
_update_error(self, iter_, jid, node)
Called when a disco#info query failed for an item.
source code

Inherited from AgentBrowser: browse, cleanup, on_browse_button_clicked, prepare_window, update_theme

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 
Overrides: AgentBrowser.__init__

_create_treemodel(self)

source code 
Create the treemodel for the services treeview. When subclassing, note that the first two columns should ALWAYS be of type string and contain the JID and node of the item respectively
Overrides: AgentBrowser._create_treemodel
(inherited documentation)

_clean_treemodel(self)

source code 
Overrides: AgentBrowser._clean_treemodel

_add_actions(self)

source code 
Add the action buttons to the buttonbox for actions the browser can perform
Overrides: AgentBrowser._add_actions
(inherited documentation)

_clean_actions(self)

source code 
Remove the action buttons specific to this browser
Overrides: AgentBrowser._clean_actions
(inherited documentation)

on_bookmark_button_clicked(self, *args)

source code 

on_join_button_clicked(self, *args)

source code 
When we want to join a conference: ask specific informations about the selected agent and close the window

update_actions(self)

source code 
When we select a row: activate action buttons based on the agent's info
Overrides: AgentBrowser.update_actions
(inherited documentation)

default_action(self)

source code 
When we double-click a row: perform the default action on the selected item
Overrides: AgentBrowser.default_action
(inherited documentation)

_start_info_query(self)

source code 
Idle callback to start checking for visible rows

on_scroll(self, *args)

source code 
Scrollwindow callback to trigger new queries on scolling

_query_visible(self)

source code 
Query the next visible row for info

_channel_altinfo(self, jid, node, items, name=None)

source code 
Callback for the alternate disco#items query. We try to atleast get the amount of users in the room if the service does not support MUC dataforms

_add_item(self, jid, node, parent_node, item, force)

source code 
Called when an item should be added to the model. The result of a disco#items query
Overrides: AgentBrowser._add_item
(inherited documentation)

_update_info(self, iter_, jid, node, identities, features, data)

source code 
Called when an item should be updated in the model with further info. The result of a disco#info query
Overrides: AgentBrowser._update_info
(inherited documentation)

_update_error(self, iter_, jid, node)

source code 
Called when a disco#info query failed for an item.
Overrides: AgentBrowser._update_error
(inherited documentation)