accelerator keys for (right-click) menu only work after menu has been through a show-all

2016-11-25 Thread Dan Hitt
Hi All, I'm writing a little app, and i put a right click menu in it. The menu is created early on, but i only show it (do a show-all on it) when button 3 (right click) is pressed. The items in the menu have accelerator keys. The problem is that although the accelerator keys work after the firs

Re: accelerator keys for (right-click) menu only work after menu has been through a show-all

2016-11-25 Thread Dan Hitt
So Martin Horauer pointed out the solution to me, in private mail thanks Martin!! I'm recounting his solution here in case somebody else hits this problem and is searching the net for something and gets to this thread. He gave me a link to a site http://zetcode.com/gui/gtk2/menusandtoolbars/