Docs on XPCE keybinding events?

I’ve scoured the XPCE user guide and multiple other sources for information on this but I can’t find really any information on handling keyboard events, keyboard bindings. I know I’m supposed to add a recogniser somewhere but it’s really not clear how to do it and there aren’t enough examples in the user guide. I’d love to help enrich some of these examples. I really dislike using a mouse. Please help!

xpce is in a bit of a zombie state … It is minimally maintained and used for the Prolog development tools, but that is about it. Docs are very old and the doc sources require quite a bit of work to even compile. For keys, there are two levels: class recogniser that processes individual events and class key_binding that provides Emacs-inspired parsing of multi-key events. Use ?- manpce. for the manual. Use the class browser and search the code in xpce/prolog/lib for examples.

1 Like

Thank you very much! I didn’t think to check manpce which in hindsight is the best source of info. I’ll remember that going forward. I’ll give it a shot later and see if I can find a solution to keybindings using that.