예제 #1
0
 def __init__(self, *args, **kwargs):
     """
     A one-line text-editing Component. (See also :class:`manygui.TextArea`) If the
     enter/return key is pressed within a TextField, the TextField will
     send a enterkey event.
     """
     AbstractTextComponent.__init__(self, *args, **kwargs)
예제 #2
0
 def __init__(self, *args, **kwargs):
     """
     A multiline text-editing Component. Its text is stored in the text
     attribute, which will be modified (according to the MVC mechanism)
     when the component loses focus. It also supports the Boolean editable
     property, which may be used to control whether the user can edit the
     text area or not.
     """
     AbstractTextComponent.__init__(self, *args, **kwargs)