[scilab-Users] Trees in Scilab > 5.1.1

Samuel Gougeon Samuel.Gougeon at univ-lemans.fr
Wed Nov 4 19:50:22 CET 2009


----- Message d'origine -----
De : Sylvestre Ledru
Date : 03/11/2009 21:25:
> .../...
> Le mardi 03 novembre 2009 à 21:21 +0100, Samuel Gougeon a écrit :
>   
>> Hi,
>>
>> .../...
>> * About functions names : 
>> IMO, capitalising the N in createNode() etc is a very good idea, 
>> to make functions names more readable.
>> Unfortunately, this is very exceptional in Scilab (so we have
>> for instance getinstalledlookandfeels(), that looks not so pleasant
>> than if it would have been getInstalledLookAndFeels() ).
>> So, we should expect displayTree() instead of displaytree().
>> Or, as a worse but more regular naming, createnode() instead of
>> createNode(), etc.
>>     
> It is true that we have a lack of consistency on the naming of the
> function. We try as much as possible to avoid such issues for now.
>   
Thank you for your related report.
>> * About CreateTree() : This is the "branching function".
>> It would be usefull to add a second argument (scalar boolean) 
>> for specifying whether the branched node should by default 
>> be developped (so displaying the downstream tree) or not.
>>     
> Yes, that sounds reasonable (idem for foldTree). A SEP would be nice
> here.
>   
OK. I have a bunch of new SEPs in mind. So, one more. Just lack of time.
>> * About displaytree() :
>> returns an undocumented value, that looks simply the tree's
>> handle passed in argument. Unfortunately, 
>>   - no handle is returned for the window displaying the tree.
>>   - winlist() does not list the new window
>>   - it is possible neither to modify (naming, sizing, locating, 
>>     foreground & background-colorizing etc) nor to delete the 
>>     window with a script (or even by hand (except resizing and
>>     positionning))
>>     
> Could you submit a bug report on the undocumented value ?
>   
OK. Just done as http://bugzilla.scilab.org/show_bug.cgi?id=5192

> .../...
> Please note that a SEP about the tree was be sent on February:
> http://lists.scilab.org/cgi-bin/ezmlm-browse?list=dev&cmd=showmsg&msgnum=1228
>   
Sorry, i missed it. I subscribed to the dev@ on 14/4/09 > 12/2/09 
(submission date),
and i missed it in the archive of SEPs 
http://gitweb.scilab.org/?p=scilab;a=tree;f=SEP;

Regards
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20091104/e2bbe93b/attachment.htm>


More information about the users mailing list