Kent Olsson schrieb:
I think it is illogical when it is necessary both to add the menus
QxMenu to the this.getClientWindow().getClientDocument() one by one. I
think it would be nicer to add the QxMenuBar, where all the menus have
been added to before.

another misunderstanding. You "assign" the menus to any menubarbutton or menubutton, but you don't "add" them. Afterwards you need to add the menus to the top level widget (most times the client document) of your application. I don't see there this is illogical.

Sebastian



What do you say Sebastian? Can it be redirected then this step is not
needed:

doc.add(fileM, editM, viewM, actionM, toolsM, searchM, helpM);
menuMB.add(actionMBB, mailMBB, editMBB, viewMBB, actionMBB, toolsMBB, 
searchMBB, helpMBB);

instead you can do:

menuMB.add(actionMBB, mailMBB, editMBB, viewMBB, actionMBB, toolsMBB, 
searchMBB, helpMBB);
doc.add(menuMB);

which would be more logical.

Kent



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to