<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div><span>Hi,</span></div><div id="yui_3_16_0_ym19_1_1464869335653_14056"><span><br></span></div><div id="yui_3_16_0_ym19_1_1464869335653_14057"><span id="yui_3_16_0_ym19_1_1464869335653_14154">Thankyou for inputs,</span></div><div id="yui_3_16_0_ym19_1_1464869335653_14058"><span><br></span></div><div id="yui_3_16_0_ym19_1_1464869335653_14046" dir="ltr"><span id="yui_3_16_0_ym19_1_1464869335653_14155">I have blogged my results :</span><a href="http://batcode17.blogspot.in/2016/06/tooltips.html" id="yui_3_16_0_ym19_1_1464869335653_14044">http://batcode17.blogspot.in/2016/06/tooltips.html</a></div><div id="yui_3_16_0_ym19_1_1464869335653_14046" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1464869335653_14046" dir="ltr">Please suggest if its upto the expectation or what modifications should I make.</div><div id="yui_3_16_0_ym19_1_1464869335653_14046" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1464869335653_14046" dir="ltr">Thanking You</div><div id="yui_3_16_0_ym19_1_1464869335653_14046" dir="ltr">Rishubh</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Thursday, 2 June 2016 11:58 PM, Samuel Gougeon <sgougeon@free.fr> wrote:<br></font></div>  <br><br> <div class="y_msg_container">Hello,<br clear="none"><br clear="none">Thanks Rishubh for your proposal.<br clear="none"><br clear="none">Le 02/06/2016 15:56, Clément David a écrit :<br clear="none">> Hi Rish,<br clear="none">><br clear="none">> I guess the simpler proposal is the better, from a user point of view :<br clear="none">><br clear="none">>> 1)  "no value" : no tooltip is displayed<br clear="none">> Simply use the empty matrix scilab symbol [] for empty or none representation.<br clear="none">><br clear="none">> ```scilab<br clear="none">> o = uicontrol("table", ...);<br clear="none">> o.tooltips = []<br clear="none">.<br clear="none">.tooltips expecting a string, IMO "" would even be clearer than <br clear="none">providing a constant and less specific type [].<br clear="none">But both could be supported.<br clear="none"><br clear="none">>> 2)  "values" (special flag): The value of each cell is tooltiped when overflying it.<br clear="none">>> This mode is required to ensure that the contents of too narrow cells can be fully seen without<br clear="none">>> editing the cell.<br clear="none">.<br clear="none">Definitively yes. This proposal will be able to automatically update <br clear="none">.tooltips when modifying .data.<br clear="none">Exactly what is needed, and the best way to avoid discrepancies.<br clear="none"><br clear="none">> This is a corner-case that can be easily implemented in a generic way. To display all the values as<br clear="none">> tooltips, implement something like :<br clear="none">><br clear="none">> ```scilab<br clear="none">> o = uicontrol("table", ...);<br clear="none">> o.tooltips = o.data;<br clear="none">><br clear="none">> ```<br clear="none">><br clear="none">>> 3)  "TT":  where TT is a matrix of strings of .strings size: When overflying the cell(i,j), the<br clear="none">>> tooltip's content is the        TT(i,j) content + \n + the cell(i,j) content.<br clear="none">> Again this seems to be complex and hard to understand by the end user. Using a string matrix will<br clear="none">> allow a simple definition of what a tooltip is. Ignore the empty string "" to let the user undefine<br clear="none">> a tooltip for a specific cell ; othewise any string value might be used as a tooltip.<br clear="none">Yes, finally i rather agree with this. The first idea was to have a <br clear="none">"cumulated" mode (entries + comment) as the default.<br clear="none">But being able to set only a comment would be better. If we want to <br clear="none">display entries as well,<br clear="none">doing a element-wise .tooltips = comment + .data will be very simple, <br clear="none">and more customizable:<br clear="none">if we want entries in heading lines instead of trailing ones, .tooltips <br clear="none">= .data + comments will do i.<br clear="none">><br clear="none">> ```scilab<br clear="none">> o = uicontrol("table", ...);<br clear="none">> o.tooltips = ["tooltip for (1,1)" "tooltip for (1,2)" "tooltip for (1,3)"<br clear="none">>                "tooltip for (2,1)" "tooltip for (2,2)" ""]<br clear="none">><br clear="none">> ```<br clear="none">><br clear="none">> Thanks for any remarks,<br clear="none">I was somewhat wondering about the way the heading line and column will <br clear="none">be declared when needed,<br clear="none">and then where (in .data($,:) and .data(:,$), to be rendered in (1,:) <br clear="none">and (:,1)). But finally, even them could<br clear="none">need some tooltips. No reason to exclude tooltips for them.<br clear="none"><br clear="none"><br clear="none">Hoping to read other comments soon,<br clear="none"><br clear="none">Samuel<div class="yqt4979461581" id="yqtfd04242"><br clear="none"><br clear="none">_______________________________________________<br clear="none">dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:dev@lists.scilab.org" href="mailto:dev@lists.scilab.org">dev@lists.scilab.org</a><br clear="none"><a shape="rect" href="http://lists.scilab.org/mailman/listinfo/dev" target="_blank">http://lists.scilab.org/mailman/listinfo/dev</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>