|
|
__init__(self,
account,
used_in_history_window=False)
If used_in_history_window is True, then we do not show Clear menuitem in
context menu |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bring_scroll_to_end(self,
diff_y=0,
use_smooth=gajim.config.get('use_smooth_scrolling'))
scrolls to the end of textview if end is not visible |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
on_textview_populate_popup(self,
textview,
menu)
Override the default context menu and we prepend Clear (only if
used_in_history_window is False) and if we have sth selected we show a
submenu with actions on the phrase (see
on_conversation_textview_button_press_event) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
detect_and_print_special_text(self,
otext,
other_tags,
graphics=True)
Detect special text (emots & links & formatting), print normal text
before any special text it founds, then print special text (that happens
many times until last special text is printed) and then return the index
after last special text, so we can print it in
print_conversation_line() |
source code
|
|
|
|
print_special_text(self,
special_text,
other_tags,
graphics=True)
Is called by detect_and_print_special_text and prints special text
(emots, links, formatting) |
source code
|
|
|
|
|
|
|
print_conversation_line(self,
text,
jid,
kind,
name,
tim,
other_tags_for_name=[],
other_tags_for_time=[],
other_tags_for_text=[],
subject=None,
old_kind=None,
xhtml=None,
simple=False,
graphics=True,
displaymarking=None)
Print 'chat' type messages |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|