Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語

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

Aide Scilab >> Interface graphique > waitbar

waitbar

Draw a waitbar

Calling Sequence

winId=waitbar(x)
winId=waitbar(x,mes)
winId=waitbar(mes)
waitbar(x,winId)
waitbar(mes,winId)
waitbar(x,mes,winId)

Arguments

x

real, fraction to display.

mes

string, message to display.

winId

integer greater than 0, window identificator.

Description

waitbar(x) create a new waitbar displaying a fraction x, return window identificator.

waitbar(x,mes) create a new waitbar displaying a fraction x and message mes, return window identificator.

waitbar(mes) create a new waitbar displaying a fraction 0 and message mes, return window identificator.

waitbar(x,mes) create a new waitbar displaying a fraction 0 and message mes, return window identificator.

waitbar(x,winId), waitbar(mes,winId) and waitbar(x,mes,winId) update waitbar with window identificator winId.

Examples

winId=waitbar('This is an example');
realtimeinit(0.3);
for j=0:0.1:1,
  realtime(3*j);
  waitbar(j,winId);
end
winclose(winId);

Authors

Jaime Urzua

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:11:02 CEST 2011