On Fri, Oct 29, 2021 at 10:47 PM James Zollinger <mzo...@gmail.com> wrote:

> Thank you both for the thoughtful answers. I will take a look at the
> quickscript you sent, Laurent. The mac keyboard shortcut is a great
> feature. Makes me wonder about buying a mac again after quite a few years.
> (I use debian as my daily driver, at least for development.)


Apparently it should be possible to do the same thing for Debian, depending
on your window manager, with some caveats:
https://askubuntu.com/questions/107849/can-i-assign-custom-keyboard-shortcuts-for-menu-items-in-applications


> If anyone out there knows how to deal with context menus programmatically,
> please share.
>

The code of the debug-tool should be changed to make these reachable from
the outside with a define/public. Somewhere around here:
https://github.com/racket/drracket/blob/b74dc3bc65b4843db0c2b381161fa9e8d85d230d/drracket/gui-debugger/debug-tool.rkt#L375
but it's a little intricate because a set of specialized menu items are
created after right-clicking when in debug mode.

Another possibility would be to simulate the mouse clicks, but that seems
rather hacky and error-prone.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaGiZ%2BbZirkyrtTScbVg5EK4reJw-JtoK3%2BTh5%3DCW7SiDQ%40mail.gmail.com.

Reply via email to