[Gambas-user] Shortcuts in hidden menus will not work
    Benoit Minisini 
    gambas at ...1...
       
    Sat Oct  4 18:34:20 CEST 2008
    
    
  
On vendredi 26 septembre 2008, Patrik Karlsson wrote:
> Hi, Im making a program where I can toggle the menus visibility via CTRL+M.
> The shortcuts in the menues does not work if the menus are not visible. I
> have solved this by making a popup menu, but is there nother way?
>
AFAIK, there is not concept of hidden menu in QT. So hiding a menu really 
internally destroys it, and so the shortcut.
> Also, is there a quicker way to toggle the menu bar in one single command?
> Now I am hiding/showing the top most menues one at a time.
>
Good idea. It is just a matter of adding a method to the Window class. I will 
note that on the TODO list for Gambas 3.
Regards,
-- 
Benoit Minisini
    
    
More information about the User
mailing list