Maps.cb.keypress

class eomaps.eomaps.Maps.cb.keypress(m, cb_cls=None, method='keypress')

Callbacks that are executed if you press a key on the keyboard.

attach : accessor for callbacks.

Executing the functions will attach the associated callback to the map!

get : accessor for return-objects

Accessor for objects generated/retrieved by callbacks.

remove : remove prviously added callbacks from the map
forward_events : forward events to connected maps-objects
share_events : share events between connected maps-objects (e.g. forward both ways)
set_sticky_modifiers : define keypress-modifiers that remain active after release

Members

add_temporary_artist

Make an artist temporary (remove it from the map at the next event).

attach

Attach custom or pre-defined callbacks on keypress events.

execute_on_all_layers

Indicator if callbacks of this container are executed on all layers.

forward_events

Forward callback-events from this Maps-object to other Maps-objects.

get

Accessor for objects generated/retrieved by callbacks.

remove

Remove an attached callback from the figure.

set_execute_during_toolbar_action

Set if callbacks should be executed during a toolbar action (e.g. pan/zoom).

set_execute_on_all_layers

If True, callbacks of this container are executed even if the associated layer is not visible.

share_events

Share callback-events between this Maps-object and other Maps-objects.