[Scilab-users] Scilab 6.1 - Possible GUI Bug

Samuel Gougeon sgougeon at free.fr
Wed Feb 26 18:44:15 CET 2020


Hello Chin Luh,

Le 26/02/2020 à 05:56, Chin Luh Tan a écrit :
> Hi,
>
> When trying to update guibuilder for Scilab 6.1, I notice that the 
> figure menu is not able to be remove with "delmenu" when the 
> "dockable" is set to "off".
>
> How to reproduce:
>
> Scenario 1: Menu "File" *will **not **be* removed
> --> f1 = figure("dockable", "off")
> --> delmenu(f1.figure_id, gettext("File"));


Bug confirmed. Work-around:

f1  =  figure("dockable",  "off");
get(0).showhiddenhandles  =  "on";
delete(f1.children($));
get(0).showhiddenhandles  =  "off"; Regards Samuel



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


More information about the users mailing list