Module albow.input.IntField
Source code
from albow.input.Field import Field
class IntField(Field):
"""
A control for editing values of type int.
"""
def __init__(self, width=None, **kwds):
self.type = int
super().__init__(width, **kwds)
Classes
class IntField (width=None, **kwds)
-
A control for editing values of type int.
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 code
class IntField(Field): """ A control for editing values of type int. """ def __init__(self, width=None, **kwds): self.type = int super().__init__(width, **kwds)
Ancestors
Inherited 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