denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keyboard shortcut to toggle between Print View and Denemo window


From: Richard Shann
Subject: Re: Keyboard shortcut to toggle between Print View and Denemo window
Date: Sat, 06 Nov 2021 11:55:04 +0000
User-agent: Evolution 3.38.3-1

On Sat, 2021-11-06 at 12:40 +0200, Lib Lists wrote:
> Hello,
> 
> I'm trying to create a keyboard shortcut that would toggle (or open)
> the Print View and then go back to the Denemo editing window, but I
> cannot find a way to do that. I found 'Print Preview' in the Command
> Center, but I cannot find how to go back to the Denemo window.
> Similarly, I'm trying to create a shortcut that toggles between the
> Command Center and the Denemo window.

Well once the focus is not on the Denemo Display (aka Edit Window) the
Denemo shortcuts no longer apply so a command to switch back to the
Denemo Display couldn't be accessed from a shortcut except when already
on the Denemo Display.
So instead I've installed signal handlers on the Command Center, the
Print View and the Source View which all respond to the Esc key by
switching the focus back to the Denemo Display.

One very strange wrinkle though - the Print View does not respond to
this keypress the first time until it has responded to something else
first - pressing down arrow while on the Print View scrolls down, after
which pressing Esc switches back to the display.

Enjoy!

Richard

> Is there a way to achieve that (I'm trying to avoid using the mouse
> as
> much as possible)?
> Thank you for your help,
> Lib
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]