Alexander Steitz wrote:
>
> Is this internal event a mouse event?
>
Yes. I can give it. This listener function must show message with point's
name on the screen.
YMaps.Events.observe(placemark, placemark.Events.MouseEnter, function
() {
with (contractor.Application) {
var row = manager.findRow(mapSetting.point[this.parent][0]);
var tableModel = manager.tablePoints.getTableModel();
var name = tableModel.getValue(1, row);
var label = manager.prompting.getChildren();
var map = qx.bom.Label.getTextSize(name, font);
// In this place I must have mouse coordinate
manager.prompting.moveTo(x, y);
manager.prompting.setWidth(map.width + 30);
label[0].setValue(name);
manager.prompting.show();
}
});
Alexander Steitz wrote:
>
> If so you can use the coordinates given from this native event and use
> the "placeToPoint" method of the "qx.ui.tooltip.Tooltip" class.
>
Sorry, I have v1.2 Qooxdoo documentation. It has no this method of the
"qx.ui.tooltip.Tooltip" class.
What Qooxdoo version do You mean?
Alexander Steitz wrote:
>
> Another solution would be to add a second listener to the target element
> using the "addListener" method of the "qx.event.Registration" class. There
> can be multiple listener to a DOM element without a problem.
>
Can You write an example? Sorry, I don't know how to do it.
Regards, Ratibor
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/How-to-have-got-a-mouse-coordinate-into-the-other-listener-tp5646319p5657954.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel