1 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 // Copyright (C) 2013 - Samuel GOUGEON
4 // Copyright (C) 2012 - 2016 - Scilab Enterprises
6 // This file is hereby licensed under the terms of the GNU GPL v2.0,
7 // pursuant to article 5.3.4 of the CeCILL v.2.1.
8 // This file was originally licensed under the terms of the CeCILL v2.1,
9 // and continues to be available under such terms.
10 // For more information, see the COPYING file which you should have received
11 // along with this program.
13 function atomsResize()
15 if ~isempty(get("HomeListbox")) then
16 // Load Atoms Internals lib if it's not already loaded
17 if ~exists("atomsinternalslib") then
18 load("SCI/modules/atoms/macros/atoms_internals/lib");
21 HomeElements = atomsGetHomeListboxElts();
22 if ~isempty(get("HomeListbox")) then
23 set("HomeListbox", "String", HomeElements("items_str"));
24 set("HomeListbox", "UserData", HomeElements("items_mat"));