sorry, the workaround does not work, the dockable value can only set during 
creation. 





---- On Wed, 26 Feb 2020 12:56:37 +0800 Chin Luh Tan 
<chinluh....@bytecode-asia.com> wrote ----


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"));







Scenario 2: Menu "File" will be removed

-->f1 = figure("dockable", "on")

-->delmenu(f1.figure_id, gettext("File"));





Current workaround: 

-->f1 = figure("dockable", "on")

-->delmenu(f1.figure_id, gettext("File"));

-->f1.dockable = "off";



thanks.



rgds,
CL



_______________________________________________ 
users mailing list 
users@lists.scilab.org 
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to