Module albow.input.FloatField

Source code
from albow.input.Field import Field


class FloatField(Field):

    """
    A control for editing values of type float.
    """
    def __init__(self, width=None, **kwds):
        self.type = float
        super().__init__(width, **kwds)

Classes

class FloatField (width=None, **kwds)

A control for editing values of type float.

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 FloatField(Field):

    """
    A control for editing values of type float.
    """
    def __init__(self, width=None, **kwds):
        self.type = float
        super().__init__(width, **kwds)

Ancestors

Inherited members