I want to hide the menubar in my gtk+ text editor. Thought that would be a simple matter of gtk_widget_hide(menubar)
, but when I do that I loose all keyboard shortcuts. How do you hide the menubar and keep the accelerator functionality?
Hidden widgets do not respond to key events afaik.
A possible solution is to install a AcceleratorGroup for your whole application instead.
You could also try to hide all items of the menu-bar (untested).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With