News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
multiple menu bar issue
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
multiple menu bar issue

I don't know if this is a problem with FLTK or the murgaLua bindings, but there seems to be a problem when using multiple menubars and the menubar:add() function. Even when creating a different menubar for separate windows, any attempt to include menu items to the second menubar with add(item) seems to cause trouble for both menu bars. The second menu bar receives nothing, and the first menu bar seems to fail in receiving subsequent commands.

As a test I had a main window menu bar that would successfully recieve commands to enable or disable certain menu items when that was the only menu bar. When adding a new window with a new menu bar, that new menubar would not display its added items and the first menubar would not enable/disable its items.

I tried this both before and after first_window:show() with the same results.

08-03-2007 11:54 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
multiple menu bar issue - mikshaw - 08-03-2007 11:54 AM
RE: multiple menu bar issue - mikshaw - 08-18-2007, 01:45 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: