Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - English


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:
Mon Jun 17 17:49:17 CEST 2024