Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change defaut keymap of pv.Plotter() and enable_point_picking() #188

Open
Haetsal-Lee opened this issue Jun 24, 2020 · 1 comment
Open
Labels
picking/selecting Topics around using interactive picking and selecting in renderers

Comments

@Haetsal-Lee
Copy link

Description

I want to change default keymap of supported features.
Currently the key "P" is the shortcut for picking a point, how could I change it to an another key?

@banesullivan
Copy link
Member

At the moment, we can't change that. The underlying vtkPicker is managing that keypress event. It might be possible with some hacking of the picking code in PyVista to override that event, but I'm not sure

@banesullivan banesullivan added the picking/selecting Topics around using interactive picking and selecting in renderers label Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
picking/selecting Topics around using interactive picking and selecting in renderers
Projects
None yet
Development

No branches or pull requests

2 participants