You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To also include an example using a layer, e.g. Image.bind_key -- this will fire on a selected Image layer
Or even a specific layer, like viewer.layers['my layer'].bind_key -- this will only fire if that layer is selected
🧰 Task
Expand this section:
https://napari.org/dev/howtos/extending/connecting_events.html#listening-for-keypress-events
To also include an example using a layer, e.g. Image.bind_key -- this will fire on a selected Image layer
Or even a specific layer, like
viewer.layers['my layer'].bind_key
-- this will only fire if that layer is selectedIt may be worth updating the example (https://github.com/napari/napari/blob/main/examples/custom_key_bindings.py) as well.
The text was updated successfully, but these errors were encountered: