Scilab 5.5.2
- Справка Scilab
- GUI
- Borders
- Layouts
- uitree
- about
- addmenu
- clipboard
- close
- Console properties
- createWindow
- delmenu
- exportUI
- figure
- findobj
- gcbo
- getcallbackobject
- getinstalledlookandfeels
- getlookandfeel
- getvalue
- Interactive Editor
- loadGui
- messagebox
- printfigure
- printsetupbox
- progressionbar
- root_properties
- saveGui
- setlookandfeel
- setmenu
- toolbar
- toprint
- tree_show
- uicontextmenu
- uicontrol
- uicontrol properties
- uigetcolor
- uigetdir
- uigetfile
- uigetfont
- uimenu
- uimenu properties
- uiputfile
- unsetmenu
- usecanvas
- waitbar
- x_choices
- x_choose
- x_choose_modeless
- x_dialog
- x_matrix
- x_mdialog
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
close
close a figure or a window
Arguments
- h
integer Handle or window identification of the window to close.
Description
This routine close a tksci figure (toplevel window). If a handle (resp. window identification) is given, the figure (resp. window) corresponding to this handle (resp. window identification) is closed. Otherwise, the current (active) figure is closed.
Examples
h=figure(); // creates figure number 1. uicontrol( h, 'style','text', ... 'string','scilab is great', ... 'position',[50 70 100 100], ... 'fontsize',15); // put a clever text in figure 1 figure(); // create figure 2 uicontrol( 'style','text', ... 'string','Really great', 'position',[50 70 100 100], 'fontsize',15); // put a text in figure 2 close(); // close the current graphic window (ie fig. 2) close(h); // close figure 1 wid1=progressionbar("Message"); // create a progression bar close(wid1); // close this window
See Also
Report an issue | ||
<< clipboard | GUI | Console properties >> |