Module albow.input.TextField
Source code
from albow.input.Field import Field
class TextField(Field):
    """
    A control for editing values of type str.
    """
    _value = ""
    def __init__(self, width=None, **kwds):
        self.type = str
        super().__init__(width, **kwds)Classes
- class TextField (width=None, **kwds)
- 
A control for editing values of type str. Args- width
- The width may be an integer or a string, as for TextEditor. If no width is specified, but a value for min and/or max is specified at construction time, the width will be determined from the min or max value. If no other way of determining the width is available, it defaults to 100.
 **kwds: Source codeclass TextField(Field): """ A control for editing values of type str. """ _value = "" def __init__(self, width=None, **kwds): self.type = str super().__init__(width, **kwds)AncestorsInherited members- Field:- add
- add_anchor
- add_centered
- allow_char
- anchor
- attention_lost
- augment_mouse_event
- bg_color
- bg_image
- border_color
- border_width
- call_handler
- call_parent_handler
- commit
- defer_drawing
- dismiss
- draw
- draw_over
- editing
- empty
- enable
- enabled
- enterAction
- escapeAction
- fg_color
- focus
- focus_switch
- font
- format
- format_value
- get_cursor
- get_focus
- get_margin_rect
- get_root
- get_top_widget
- get_visible
- global_to_local
- has_focus
- highlighted
- inherited
- insertionPoint
- invalidate
- is_gl_container
- key_down
- key_up
- local_to_global
- margin
- max
- menu_bar
- min
- parent
- parent_resized
- present
- rect
- ref
- relative_mode
- remove
- remove_anchor
- resized
- scale_bg
- sel_color
- set_parent
- set_size_for_text
- set_text
- tab_stop
- text
- type
- upper
- value
- visible