Sebastian Werner <info <at> sebastian-werner.net> writes:

> 
> Simon Bull schrieb:
> > Hi All,
> 
> Hi Simon,
> 
> that seems to be correct. You must execute a QxCommand instance yourself
 
> or define a key shortcut, otherwise also the event will not be fired. 

> Where do you connect the command to your application logic?


Hi Sebastian,

Yes, I am creating QxCommand instances and triggering them from numerous
places in my application logic using this:

var createWindowCommand = this.createNewWindowCommand(parent, menu, name);
var button = new QxMenuButton(name, icon, createWindowCommand);

createNewWindowCommand() is the method I posted previously.


The QxWindow creation works - I see new windows appear. The QxMenuCheckBox
creation works fine too - I can see new entries appearing in the UI's 
windows menu.

The only problem is that the addedEventListeners never fire.

Closing and minimising the windows works fine, but does not effect
the menuCheckboxes.  Checking|unchecking the menuCheckBoxes works fine,
but does not effect the windows.

Nothing is reported by the Firefox javascript console.

Any ideas?

Simon





-------------------------------------------------------
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