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