This class is resposible for displaying and updating the user-toggleable chat-box which
allows for communication between users connected to the same collaboratoryHub. The ChatGUI
can be toggled on/off via a checkbutton on the Collaboratory GUI
Methods
|
|
__init__
add_buttons
add_command
echo_text
insert_nln
processChat
processCommand
|
|
__init__
|
__init__ ( self, parent )
|
|
add_buttons
|
add_buttons ( self )
|
|
add_command
|
add_command (
self,
user=None,
cmd=None,
midas=0,
color='black',
)
|
|
echo_text
|
echo_text ( self, event=None )
|
|
insert_nln
|
insert_nln ( self, event=None )
|
|
processChat
|
processChat ( self, event=None )
|
|
processCommand
|
processCommand ( self, cmd )
helper function for processing a command -
for now, this is a workaround because of a pesky newline
that stays in the input box
|
|