Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.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 > waitbar

waitbar

Draw a waitbar

Calling Sequence

winH=waitbar(x)
winH=waitbar(x,mes)
winH=waitbar(mes)
waitbar(x,winH)
waitbar(mes,winH)
waitbar(x,mes,winH)

Arguments

x

real, fraction to display.

mes

string, message to display.

winH

Handle of the waitbar.

Description

waitbar(x) create a new waitbar displaying a fraction x, return handle of the waitbar.

waitbar(x,mes) create a new waitbar displaying a fraction x and message mes, return handle of the waitbar.

waitbar(mes) create a new waitbar displaying a fraction 0 and message mes, return handle of the waitbar.

waitbar(x,mes) create a new waitbar displaying a fraction 0 and message mes, return handle of the waitbar.

waitbar(x,winH), waitbar(mes,winH) and waitbar(x,mes,winH) update waitbar with handle winH.

Examples

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

See also

Report an issue
<< usecanvas GUI x_choices >>

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:
Fri Apr 11 14:19:41 CEST 2014