1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2012 - Scilab Enterprises - Vincent COUVERT
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- Non-regression test for bug 11685 -->
9 // <-- TEST WITH GRAPHIC -->
10 // <-- INTERACTIVE TEST -->
12 // <-- Bugzilla URL -->
13 // http://bugzilla.scilab.org/11685
15 // <-- Short Description -->
16 // gcbo variable was not defined when executing functions set
17 // as "closerequestfcn" and "resizefcn" properties.
28 f.resizefcn = "resizeMe";
29 f.closerequestfcn = "closeMe";
31 // Resize the figure & check that gcbo is displayed in the console
33 // Click on the top-right cross of the figure to close it
34 // - check that gcbo is displayed in the console
35 // - check that the figure is closed