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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to