On 05/02/2012 08:37 PM, Matt Cavins wrote:
> Have you tried setting the mode to "one" so that only one item is
> selected at any given time?
>
> If this does not help can you provide more info on what you are trying
> to accomplish with this? it sounds like you want a click event to fire a
> dropdown menu, which would be easier using a menubutton.
I have a grid of widgets, which, among other things, are selectable via
a virtual.selection, which works fine. I need the mode to be multi and
drag = true.
Then I have a context menu for each widget, which also works fine.
// Right now I'm doing this:
var menu = new qx.ui.menu.Menu()
var button = new qx.ui.menu.Button("check");
menu.add(button);
widget.setContextMenu(menu);
// which works fine
It's just that the virtual.selection allows to select with left click,
which is a bit confusing for the way the rest of the widget/grid
behaves. That is what I meant by "messing things up".
If it's not possible, that's fine. Though I do believe there is a use
case for left mouse only selections, while right is left for other tasks
- unlike the typical file explorer behavior.
Cheers,
Simon
--
simonsmicrophone.com
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel