class neuroglancer.viewer_config_state.LayerSelectedValues

Specifies the data values associated with the current mouse position.

Public members

LayerSelectedValues(json_data=None_readonly=False)

Initialize self. See help(type(self)) for accurate signature.

clear()

Clears the map.

keys(-> KeysView[str]

Returns a dynamic view of the keys in the map.

values(-> ValuesView[LayerSelectionState]

Returns a dynamic view of the values in the map.

items(-> ItemsView[str, LayerSelectionState]

Returns a dynamic view of the items in the map.

get(key: str-> LayerSelectionState | None
get(
    
key: strdefault: LayerSelectionState-> LayerSelectionState
get[T](key: strdefault: T-> LayerSelectionState | T

Returns the mapped value, or the specified default.

__len__(-> int

Returns the number of entries in the map.

__getitem__(key: str-> LayerSelectionState

Returns the mapped value associated with the specified key.

__setitem__(key: strvalue: LayerSelectionState)

Sets the specified key to the specified value.

__delitem__(key: str)

Deletes the entry with the specified key.

to_json()
__eq__(other)

Return self==value.

__repr__()

Return repr(self).