[Scilab-users] Scilab 6.1 - Possible GUI Bug
Chin Luh Tan
chinluh.tan at bytecode-asia.com
Wed Feb 26 06:13:15 CET 2020
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.tan at 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 at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200226/95987a71/attachment.htm>
More information about the users
mailing list