Thanks. The 'pointerover' event is a good idea.
Unfortunately I need a context menu that activates on right click. When
I switched your example from getMenu() to getContextMenu() I get the
same behavior. http://tinyurl.com/llnsued
I thought that this code as I have in the previous playground sho
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);
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