gws.plugin.model_widget.geometry¶
Geometry widget.
Buttons to draw or edit the geometry of a geometry field. With
isInline, the widget is shown in the feature form; with withText, the
geometry can also be edited as text. The widget is not shown in table views.
This is the default widget of geometry fields.
Example:
fields+ {
name "geom"
type "geometry"
widget { type "geometry" isInline true withText true }
}
Source code: gws.plugin.model_widget.geometry
Package Contents¶
- class gws.plugin.model_widget.geometry.Config¶
Bases:
gws.base.model.widget.ConfigButtons to draw or edit the feature geometry.
- class gws.plugin.model_widget.geometry.Object¶
Bases:
gws.base.model.widget.ObjectGeometry widget object.
- supportsTableView = False¶
- props(user)¶