[Scilab-Dev] Regarding tooltps in uitable

Samuel Gougeon sgougeon at free.fr
Fri Jun 17 20:23:00 CEST 2016


The follow-up of this thread is there on the GSOC mailing list:
http://mailinglists.scilab.org/Gsoc-Scilab-UI-Elements-tt4033780.html
SG

Le 09/06/2016 21:01, Rishubh Jain a écrit :
> Hi,
>
> I have uploaded a raw version of helper page 
> https://codereview.scilab.org/#/c/18231/, I wanted some suggestions. I 
> have elaborated what facilities the enable function provides. The rest 
> of the description of property is kept as it is and I will keep on 
> adding as I commit things.
>
> Also since I have not commited my tool-tips code yet I had yet another 
> idea which I would like to discuss.
>
> Presently one has to supply tool-tip value for each cell (even for 
> column header and row header) in single string/matrix form.
>
> -> 
> ut.tooltipstring=["Table","column1","column2","column3","row1","","","","row2"...];
>
>     here the table is of 4x3 matrix.
>
> I was wondering if it will be more convenient if I split it into three 
> different strings. May be like to provide the tool-tips  of just 
> column header
>
> -> ut.tooltipstring=["columnheader","column1","column2","column3"..];
>     Here columnheader will be a flag indicating that these values are 
> for column
>
> ->ut.tooltipstring="columnheader-values";
>     Here columnheader-values will indicate that for column header the 
> value of cell is the value of tooltip.
>
> Same goes for rowheader where in flag column is replaced by "row"
>
> User could also pass tooltip for the complete Table (including the 
> column header and row header)
>
> ->ut.tooltipstring=["Table","tooltip","tooltip"..]
>     Here Table will be a flag indicating that these values are for 
> complete Table
>
> ->ut.tooltipstring="Table-values";
>     Here Table-values will indicate that for each cell in the table 
> the value of cell is the value of tooltip.
>
> Similar functionality can be provided for the main table data 
> (excluding column header and row header ).
>
> ->ut.tooltipstring=["Main","tooltip1" "tooltip2"..]
>
> Will this be useful?
>
> Please give me your opinion on this idea as well as the helper page
>
> Thanking You
> Rishubh
>
> On Monday, 6 June 2016 1:40 PM, Rishubh Jain <rishubhjain at ymail.com> 
> wrote:
>
>
> Hi,
>
> Ya I will make sure the user can insert such symbols as strings 
> as-well, thankyou for the points
>
> Thanking You
> Rishubh
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20160617/c9de3b0a/attachment.htm>


More information about the dev mailing list