> You may not be able to attach a Tooltip to a cell, but you might try > attaching it to the table, then before the tooltip gets displayed > determine what cell the cursor is over and using a lookup array, > stuff the correct information into the Tooltip. It might be a little > kludgy, but it might work.
Looking through the code this should be possible. The last mouse event has its details stored in static members of qx.event.type.MouseEvent with a call in qx.event.handler.EventHandler._onmouseevent_post to: qx.event.type.MouseEvent.storeEventState(vEventObject); It would be possible to derive a tooltip class from qx.ui.popup.ToolTip which overrode _beforeAppear and used the current mouse coordinates (qx.event.type.MouseEvent.getClientX() etc) to ask the widget what the label and icon should be for the tooltip, maybe via an event interface. Then assign that tooltip to the table and handle the event in the table widget, getting information from the cache by default to show the full text of a table entry. That could be overridden of course. Hugh ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
