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:addadd_anchoradd_centeredallow_charanchorattention_lostaugment_mouse_eventbg_colorbg_imageborder_colorborder_widthcall_handlercall_parent_handlercommitdefer_drawingdismissdrawdraw_overeditingemptyenableenabledenterActionescapeActionfg_colorfocusfocus_switchfontformatformat_valueget_cursorget_focusget_margin_rectget_rootget_top_widgetget_visibleglobal_to_localhas_focushighlightedinheritedinsertionPointinvalidateis_gl_containerkey_downkey_uplocal_to_globalmarginmaxmenu_barminparentparent_resizedpresentrectrefrelative_moderemoveremove_anchorresizedscale_bgsel_colorset_parentset_size_for_textset_texttab_stoptexttypeuppervaluevisible