Right, openAtMouse expects a qooxdoo event but you're listening to a
native event. Try this instead:
ace.on("guttermousedown", function(e){
if (e.getButton() == 2) {
//menu code goes here
menu.openAtPoint({
left: e.clientX,
top: e.clientY
});
}
});
On 10.04.2013 10:20, 689137 wrote:
> Daniel,
>
> Thank you for your reply!
> It does work with the button example in the qooxdoo playground, but gives me
> the following error when I try using it with the Ace editor gutter:
>
> Error: TypeError: event.getDocumentLeft is not a function
> Source File:
> file:///home/ivan/prb/qooxdoo-2.0.1-sdk/framework/source/class/qx/ui/core/MPlacement.js
> Line: 404
>
> Any suggestion on this one?
>
> Much obliged,
> Ivan.
>
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/The-menu-instance-needs-a-configured-opener-widget-tp7583199p7583204.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel