gws.plugin.model_field.float¶
Float field.
A scalar field for floating-point numbers. Values from the client are
converted with float(). Without a configured widget, the field uses a
float widget.
Example:
fields+ { name "area" type "float" title "Area" }
Source code: gws.plugin.model_field.float
Package Contents¶
- class gws.plugin.model_field.float.Config¶
Bases:
gws.base.model.scalar_field.ConfigField for floating-point numbers.
- class gws.plugin.model_field.float.Object¶
Bases:
gws.base.model.scalar_field.ObjectFloat field object.
- attributeType¶
- configure_widget()¶
- prop_to_python(feature, value, mc)¶
- class gws.plugin.model_field.float.Props¶