Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.0 - Русский

Change language to:
English - Français - 日本語 - Português -

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Справка Scilab >> GUI > createWindow

createWindow

create a window

Syntax

f = createWindow();

Description

This routine creates a graphic window with default properties :

  • dockable = "off"

  • default_axes = "off"

  • infobar_visible = "off"

  • toolbar_visible = "off"

  • menubar_visible = "off"

Examples

// Create a window
f = createWindow()
f.axes_size = [400 400];
uicontrol(f, "style", "pushbutton", "units", "normalized", "position", [0 0 0.5 0.5], "string", "Button", "horizontalalignment", "center");
uicontrol(f, "style", "text", "units", "normalized", "position", [0 0.5 0.5 0.5], "string", "Label", "horizontalalignment", "center");
uicontrol(f, "style", "radiobutton", "units", "normalized", "position", [0.5 0 0.5 0.5], "string", "Radiobutton", "horizontalalignment", "center", "groupname", "grouptest");
uicontrol(f, "style", "checkbox", "units", "normalized", "position", [0.5 0.5 0.5 0.5], "string", "Checkbox", "horizontalalignment", "center", "groupname", "grouptest");

See also

History

VersionDescription
5.5.0 Function createWindow introduced.
Report an issue
<< Console properties GUI exportUI >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 25 08:54:58 CET 2020