Methods
|
|
|
|
__init__
|
__init__ (
self,
parent=None,
dialogID='Unknown',
addressMessagesToIDs=(),
addressMessagesToNames=(),
userName='',
userID=0,
app=None,
**kw,
)
Create a dialog to show an incoming message.
|
|
addMessage
|
addMessage (
self,
fromName,
message,
bell=1,
)
Add a message to the chat history.
|
|
callback
|
callback ( self, button )
This callback will be called when the window is
deleted (passing None for the button) or when a button
is pressed in the button box.
|
|
clear
|
clear ( self )
|
|
clearInputArea
|
clearInputArea ( self, event=None )
Clear the text from the input message area
|
|
closeCB
|
closeCB ( self, *args )
|
|
configureStyles
|
configureStyles ( self )
|
|
errorMessage
|
errorMessage ( self, message )
Display an error message, if we can.
|
|
sendMessage
|
sendMessage ( self, outgoing_message )
This method is called to
send a message.
|
|
sendMessageCB
|
sendMessageCB ( self, event=None )
This callback is called when the user is ready to
send a message.
|
|
show
|
show ( self )
|
|
tagCB
|
tagCB (
self,
tag_name,
event,
event_name,
)
General dispatch method.
|
|
tagCB_click
|
tagCB_click (
self,
tag_name,
event,
)
Callback registered for click events.
|
|
tagCB_click_url
|
tagCB_click_url (
self,
event,
span,
text,
)
Called when user clicks on url text.
|
|
tagCB_enter
|
tagCB_enter (
self,
tag_name,
event,
)
Callback registered for enter events.
|
|
tagCB_enter_from
|
tagCB_enter_from (
self,
event,
span,
text,
)
Use the balloon manager to display the email
address for the user that sent this message.
|
|
tagCB_enter_url
|
tagCB_enter_url (
self,
event,
span,
text,
)
Register a bunch of event handlers
to switch the cursor around. We should
be able to just use enter and leave event
handlers on url text, but that does not
see sufficient.
|
|
tagCB_leave
|
tagCB_leave (
self,
tag_name,
event,
)
Callback registered for leave events.
|
|
tagCB_leave_from
|
tagCB_leave_from (
self,
event,
span,
text,
)
|
|
tagCB_leave_url
|
tagCB_leave_url (
self,
event,
span,
text,
)
|
|