gws.plugin.select_tool.action

Select action.

Source code: gws.plugin.select_tool.action

Module Contents

class gws.plugin.select_tool.action.Config(*args, **kwargs)

Bases: gws.base.action.Config

Basic config with permissions.

storage: gws.base.storage.Config | None

storage configuration

tolerance: gws.UomValueStr | None

click tolerance

class gws.plugin.select_tool.action.Props(*args, **kwargs)

Bases: gws.base.action.Props

Object properties.

storage: gws.base.storage.Props
tolerance: str
class gws.plugin.select_tool.action.Object

Bases: gws.base.action.Object

Generic action object, the parent of all action objects.

storage: gws.base.storage.Object | None
tolerance: gws.UomValue | None
configure()

Configuration hook.

props(user)

Generate a Props struct for this object.

Parameters:

user – The user for which the props should be generated.

handle_storage(req: gws.WebRequester, p: gws.base.storage.Request) gws.base.storage.Response