Module groupchat_control :: Class PrivateChatControl
[hide private]
[frames] | no frames]

Class PrivateChatControl

source code


Instance Methods [hide private]
 
__init__(self, parent_win, gc_contact, contact, account, session)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
send_message(self, message, xhtml=None, process_commands=True)
Call this method to send the message
source code
 
update_ui(self)
Derived types SHOULD implement this
source code
 
update_contact(self) source code
 
begin_e2e_negotiation(self) source code

Inherited from chat_control.ChatControl: allow_shutdown, change_resource, check_for_possible_inactive_chatstate, check_for_possible_paused_chatstate, close_jingle_content, draw_banner_text, get_tab_image, get_tab_label, got_connected, handle_incoming_chatstate, minimizable, on_audio_button_toggled, on_avatar_eventbox_button_press_event, on_avatar_eventbox_enter_notify_event, on_avatar_eventbox_leave_notify_event, on_cancel_session_negotiation, on_dtmf_button_clicked, on_dtmf_window_focus_out_event, on_jingle_button_toggled, on_location_eventbox_button_release_event, on_mic_hscale_value_changed, on_num_button_pressed, on_num_button_released, on_sound_hscale_value_changed, on_video_button_toggled, prepare_context_menu, print_conversation, print_esession_details, read_queue, reset_kbd_mouse_timeout_vars, restore_conversation, safe_shutdown, send_chatstate, set_audio_state, set_control_active, set_video_state, show_avatar, show_bigger_avatar, shutdown, stop_jingle, update_all_pep_types, update_audio, update_pep, update_status_display, update_toolbar, update_video

Inherited from chat_control.ChatControlBase: append_emoticon, bring_scroll_to_end, chat_buttons_set_visible, clear, connect_style_event, disconnect_style_event, draw_banner, get_font_attrs, get_nb_unread, get_seclabel, got_disconnected, handle_message_textview_mykey_press, lighten_color, make_href, on_actions_button_clicked, on_banner_label_populate_popup, on_color_menuitem_activale, on_conversation_vadjustment_changed, on_conversation_vadjustment_value_changed, on_emoticons_button_clicked, on_font_menuitem_activale, on_formattings_button_clicked, on_minimize_menuitem_toggled, on_msg_textview_populate_popup, on_quote, on_seclabels_ready, print_conversation_line, redraw_after_event_removed, repaint_themed_widgets, save_sent_message, scroll_to_end_iter, sent_messages_scroll, set_speller, setup_seclabel, show_emoticons_menu, size_request, status_url_clicked, toggle_emoticons, update_font, update_tags, widget_set_visible

Inherited from message_control.MessageControl: get_full_jid, get_specific_unread, set_session

Inherited from command_system.implementation.middleware.ChatCommandProcessor: command_postprocessor, command_preprocessor, execute_command, looks_like_command, process_as_command

Inherited from command_system.framework.CommandProcessor: get_command, list_commands

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Inherited from command_system.implementation.middleware.CommandTools: add_history, append_with_tags, clear_input, echo, echo_error, install_tags, send, set_input, shift_line

Class Variables [hide private]
  TYPE_ID = 'pm'
  COMMAND_HOST = PrivateChatCommands

Inherited from chat_control.ChatControl: old_msg_kind

Inherited from chat_control.ChatControlBase: keycode_c, keycode_ins, keymap

Inherited from command_system.framework.CommandProcessor: COMMAND_PREFIX

Properties [hide private]

Inherited from object: __class__

Inherited from command_system.implementation.middleware.CommandTools: connection, full_jid

Method Details [hide private]

__init__(self, parent_win, gc_contact, contact, account, session)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: command_system.implementation.middleware.CommandTools.__init__

send_message(self, message, xhtml=None, process_commands=True)

source code 
Call this method to send the message
Overrides: message_control.MessageControl.send_message

update_ui(self)

source code 
Derived types SHOULD implement this
Overrides: message_control.MessageControl.update_ui
(inherited documentation)

update_contact(self)

source code 

begin_e2e_negotiation(self)

source code 
Overrides: chat_control.ChatControl.begin_e2e_negotiation

Class Variable Details [hide private]

TYPE_ID

Value:
'pm'

COMMAND_HOST

Value:
PrivateChatCommands