shortcut keys and right-click menu

as an addition to the toolbar (or as an alternative for users who
want to turn it off), i think shortcut keys and a right-click
menu for the figure window would be a useful addition to mpl.

some suggested shortcut keys,
(ctrl+)s = save as...
z = zoom to rectangle
p = pan (and zoom)
alt+right arrow, backspace = back
alt+left arrow = forward
esc, ctrl+w = close figure window

we already have the neat f for fullscreen.

as an addition to the toolbar (or as an alternative for users who
want to turn it off), i think shortcut keys and a right-click
menu for the figure window would be a useful addition to mpl.

+1 on this idea.

Tim

some suggested shortcut keys,
(ctrl+)s = save as...
z = zoom to rectangle
p = pan (and zoom)
alt+right arrow, backspace = back
alt+left arrow = forward
esc, ctrl+w = close figure window

we already have the neat f for fullscreen.

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

`-

···

On Thu, 13 Oct 2005, Vidar Gundersen <vidar+list@...599...> wrote...

some suggested shortcut keys,
(ctrl+)s = save as...
z = zoom to rectangle
p = pan (and zoom)
alt+right arrow, backspace = back
alt+left arrow = forward
esc, ctrl+w = close figure window

we already have the neat f for fullscreen.

That's a great idea! If this were implemented, I'd like to see a set of
emacs-like key-bindings. Heck, if someone points me to the right place in
the code, I'll do it myself.

E

In backend_bases.FigureManagerBase you can see how the
full_screen_toggle event is added and handled. 'f', 'l', and 'g' seem
reserved right now.

One note, I believe modifier keys aren't supported in a natural way
right now, so to catch "ctrl+s" for example could be a pain. Just
pressing "ctrl" would generate an event. All the modifiers states
would have to be maintained manually, I believe.

My two cents,
- Charlie

···

On 10/14/05, Erik Curiel <ecuriel@...824...> wrote:

> some suggested shortcut keys,
> (ctrl+)s = save as...
> z = zoom to rectangle
> p = pan (and zoom)
> alt+right arrow, backspace = back
> alt+left arrow = forward
> esc, ctrl+w = close figure window
>
> we already have the neat f for fullscreen.

That's a great idea! If this were implemented, I'd like to see a set of
emacs-like key-bindings. Heck, if someone points me to the right place in
the code, I'll do it myself.

E

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users