Closed
Bug 96376
Opened 24 years ago
Closed 23 years ago
Support tooltips in outliner
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
mozilla0.9.7
People
(Reporter: skasinathan, Assigned: hewitt)
References
Details
It would be good if we support tooltips in outliner. I'm pretty sure lots of
components can take advantage of this one.
Somehow, we should be able to have outliner detect that the mouse is hovering
over a cell, and call back into the application via some interface, passing it
some data that identifies the cell and asks for tooltip text to be displayed.
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.6
Comment 2•24 years ago
|
||
Either Ben has a bug like this already or he wontfixed it. I can't remember.
However this has been reported before.
Comment 3•24 years ago
|
||
varga@utcru.sk may own a dup bug on this.
jan had an approach, but hyatt wasn't keen on it.
Updated•23 years ago
|
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Assignee | ||
Comment 5•23 years ago
|
||
taking this one, as it will work as part of my titletips patch
Assignee: hyatt → hewitt
Status: ASSIGNED → NEW
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•23 years ago
|
||
fixed
To use tooltips in outliner, do something like this:
function showTooltip(aEvent, aTooltipNode)
{
var outliner = document.getElementById("outliner");
var bx = outliner.outlinerBoxObject;
var row = {}; var col = {}; var obj = {};
bx.getCellAt(aEvent.clientX, aEvent.clientY, row, col, obj);
aTooltipNode.label = "cell " + row.value + ", " + col.value;
}
...
<tooltip id="aTooltip" onpopupshowing="showTooltip(event, event.target);"/>
<outliner>
<outlinerbody tooltip="aTooltip"/>
</outliner>
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•