<< Console properties Interface graphique exportUI >>

Scilab Help >> Interface graphique > createWindow

createWindow

create a window

Syntax

f = createWindow();

Description

This routine creates a graphic window with default properties :

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 Interface graphique exportUI >>