Hi,

you can define the menu on pointerover.
Furthermore you have to use MenuButton.

I tried to build an example: http://tinyurl.com/lc2yzez

__tl;tr;__
var button = new qx.ui.form.MenuButton("Button");
button.addListener("pointerover", function () {
  this.setMenu(getMenu());
});
doc.add(button);


Cheers Tobias


Am Montag, den 16.03.2015, 00:50 +0200 schrieb voger:
> I made few more experiments
> 
> nr. 1 http://tinyurl.com/k5rdl8o
> With this the menu appears always but only the first time it displays 
> under the widget. In subsequent appearances it displays in the cursor.
> What I am doing wrong here?
> 
> nr. 2 http://tinyurl.com/ljh92ms
> This is more consistent.
> 
> My goal is to make a dynamic context menu so it appears that I have to 
> define/change the menu earlier than the contextmenu event. I hope this 
> is the correct fix.
> 
> I am curious. Still the right click event it is not reported in Chrome 
> (no console.log()). In Firefox it gets captured and reported in Firebug.
> Is this a bug/inconsistency of browser or something I do wrong?
> 
> 
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to