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



_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to