How to “disconnect” an accelerator , key-press-event or mouse-press-event in a GTK+ Widget?
问题 Say I have a custom GTK+ widget obtained from a third party library. It has an accelerator, e.g it hides itself when I press 'h' or click it, and shows itself when I press 'h' again or double-click it. I want disable this particular functionality of the GTK+ widget. How can I do this without changing the source code of the Library and rebuilding it? Note: You can also give your solution in c++ , in fact it would be better that way because I am using C++ for my project. 回答1: I'm guessing now,