Module message_window :: Class MessageWindowMgr
[hide private]
[frames] | no frames]

Class MessageWindowMgr

source code


A manager and factory for MessageWindow objects
Instance Methods [hide private]
 
__init__(self, parent_window, parent_paned)
ONE_MSG_WINDOW_NEVER: The key is the contact JID ONE_MSG_WINDOW_ALWAYS: The key is MessageWindowMgr.MAIN_WIN ONE_MSG_WINDOW_ALWAYS_WITH_ROSTER: The key is MessageWindowMgr.MAIN_WIN ONE_MSG_WINDOW_PERACCT: The key is the account name ONE_MSG_WINDOW_PERTYPE: The key is a message type constant
source code
 
change_account_name(self, old_name, new_name) source code
 
_new_window(self, acct, type_) source code
 
_gtk_win_to_msg_win(self, gtk_win) source code
 
get_window(self, jid, acct) source code
 
has_window(self, jid, acct) source code
 
one_window_opened(self, contact=None, acct=None, type_=None) source code
 
_resize_window(self, win, acct, type_)
Resizes window according to config settings
source code
 
_position_window(self, win, acct, type_)
Moves window according to config settings
source code
 
_mode_to_key(self, contact, acct, type_, resource=None) source code
 
create_window(self, contact, acct, type_, resource=None) source code
 
change_key(self, old_jid, new_jid, acct) source code
 
_on_window_delete(self, win, event) source code
 
_on_window_destroy(self, win) source code
 
get_control(self, jid, acct)
Amongst all windows, return the MessageControl for jid
source code
 
get_gc_control(self, jid, acct)
Same as get_control.
source code
 
get_controls(self, type_=None, acct=None) source code
 
windows(self) source code
 
controls(self) source code
 
shutdown(self, width_adjust=0) source code
 
save_state(self, msg_win, width_adjust=0) source code
 
reconfig(self) source code
Class Variables [hide private]
  __gsignals__ = {'window-delete':(gobject.SIGNAL_RUN_LAST, None...
  MAIN_WIN = 'main'
  ROSTER_MAIN_WIN = 'roster'
Method Details [hide private]

__init__(self, parent_window, parent_paned)
(Constructor)

source code 
A dictionary of windows; the key depends on the config:
ONE_MSG_WINDOW_NEVER: The key is the contact JID ONE_MSG_WINDOW_ALWAYS: The key is MessageWindowMgr.MAIN_WIN ONE_MSG_WINDOW_ALWAYS_WITH_ROSTER: The key is MessageWindowMgr.MAIN_WIN ONE_MSG_WINDOW_PERACCT: The key is the account name ONE_MSG_WINDOW_PERTYPE: The key is a message type constant

change_account_name(self, old_name, new_name)

source code 

_new_window(self, acct, type_)

source code 

_gtk_win_to_msg_win(self, gtk_win)

source code 

get_window(self, jid, acct)

source code 

has_window(self, jid, acct)

source code 

one_window_opened(self, contact=None, acct=None, type_=None)

source code 

_resize_window(self, win, acct, type_)

source code 
Resizes window according to config settings

_position_window(self, win, acct, type_)

source code 
Moves window according to config settings

_mode_to_key(self, contact, acct, type_, resource=None)

source code 

create_window(self, contact, acct, type_, resource=None)

source code 

change_key(self, old_jid, new_jid, acct)

source code 

_on_window_delete(self, win, event)

source code 

_on_window_destroy(self, win)

source code 

get_control(self, jid, acct)

source code 
Amongst all windows, return the MessageControl for jid

get_gc_control(self, jid, acct)

source code 
Same as get_control. Was briefly required, is not any more. May be useful some day in the future?

get_controls(self, type_=None, acct=None)

source code 

windows(self)

source code 

controls(self)

source code 

shutdown(self, width_adjust=0)

source code 

save_state(self, msg_win, width_adjust=0)

source code 

reconfig(self)

source code 

Class Variable Details [hide private]

__gsignals__

Value:
{'window-delete':(gobject.SIGNAL_RUN_LAST, None, (object,)),}

MAIN_WIN

Value:
'main'

ROSTER_MAIN_WIN

Value:
'roster'