pymasep.interface.ui_talk ========================= .. py:module:: pymasep.interface.ui_talk Classes ------- .. autoapisummary:: pymasep.interface.ui_talk.UITalk Module Contents --------------- .. py:class:: UITalk(relative_rect, manager, container, html_text, speaker_name = None) Bases: :py:obj:`pygame_gui.elements.UIAutoResizingContainer` Dialog Box to display talks :param relative_rect: position and dimensions of the dialog box (pixels) :param manager: Manager (from pygame_gui) :param container: Container of the board (form pygame_gui) :param html_text: HTML text of the dialog box. :param speaker_name: Name of the speaker. If None, this part of the component is not displayed. .. py:attribute:: bubble_width :value: 20 size of the bubble area .. py:attribute:: speaker_label_height :value: 0 height of the speaker label .. py:attribute:: html_text text to display on the dialog box .. py:attribute:: speaker_name_label :value: None speaker's name ' .. py:attribute:: talk_label ui label for displaying the text .. py:attribute:: bubble_talk image of the bubble .. py:attribute:: _img