I tried catching the menu-widget using the populate-popup
signal callback and detatching the menu gtk_menu_detach(). Although the popup does not showup, I end up with a critical error
Gtk-CRITICAL **: 01:44:28.192: gtk_menu_popup_at_pointer: assertion 'GTK_IS_MENU (menu)' failed
How do I dissociate this menu from the mouse right-click action?
See
gtk, gtkentry
and
https://developer.gnome.org/gtk3/stable/gtk-migrating-checklist.html#checklist-popup-menu
So the basic idea is to catch the event and ask event handler to stop propagation of that event early.
Thank you Stefan. This worked
system
(system)
Closed
June 24, 2019, 1:39pm
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.