pymasep.interface.ui_simple_input ================================= .. py:module:: pymasep.interface.ui_simple_input Classes ------- .. autoapisummary:: pymasep.interface.ui_simple_input.UISimpleInput Module Contents --------------- .. py:class:: UISimpleInput(relative_rect, manager, container, label_text, waited_type, error_resource) Bases: :py:obj:`pymasep.interface.ui_input.UIInput` Simple input with label and a value to write :param relative_rect: Position and size of the input :param manager: Manager (from pygame_gui) :param container: Container of the UIInput (form pygame_gui) :param label_text: Text of the label :param waited_type: Expected type of the value :param error_resource: Image displayed when an error occurs .. py:attribute:: text_entry_pos position and size of the input .. py:attribute:: text_entry_line UI element .. py:method:: set_text(text) Set the value of the input as string :param text: Value of the input .. py:method:: get_text() Get the value of the input :return: Value of the input as string