Custom accelerators in PopoverMenu

Hi there,

in my application https://dune3d.org/, I use a PopoverMenu for the context menu:
window

For various reasons, such as allowing chorded keyboard shortcuts, I’ve rolled my own shortcut handling and I’m not using the one Gtk provides.

How do I get my own shortcuts into the menu? set_accels_for_action is out for me since it requires using Gtk’s accelerator handling.

In Gtk3 I could just pack another dim label into the GtkMenu and it looked pretty much just like the one Gtk puts in there.

Best Regards,

Lukas

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.