IupProgressBar
Definition: |
include pGUI.e
Ihandle ih = IupProgressBar(string attributes="", dword_seq args={}) |
|
Description: |
Creates a progress bar control. Shows a percent value that can be updated to simulate a progression.
For more information on the attributes and args parameters see IupSetAttributes. Returns: the identifier of the created element. |
|
pwa/p2js: | Supported, but see +x? markers on individual attributes and callbacks. | |
See Also: | IupGLProgressBar, IupGauge | |
Notes: |
It is similar of IupGauge, but uses native controls internally. Also does not have support for text inside the bar.
Some examples can be seen in demo\pGUI\sample.exw |
|
Attributes: | ||
BGCOLOR | [Windows Classic and Motif only] controls the background color. Default: the global attribute DLGBGCOLOR. | |
DASHED | (creation only in Windows) [Windows and GTK only] Changes the style of the progress bar for a dashed pattern. Default is "NO". | |
FGCOLOR |
[Windows Classic and Motif only] Controls the bar color. Default: the global attribute DLGFGCOLOR. |
|
MARQUEE | (creation) displays an undefined state. Default: NO. You can set the attribute after map but only to start or stop the animation. In Windows it will work only if using Visual Styles. | |
MAX? | (non inheritable) Contains the maximum value. Default is "1". The control display is not updated, must set VALUE attribute to update. | |
MIN? | (non inheritable) Contains the minimum value. Default is "0". The control display is not updated, must set VALUE attribute to update. | |
ORIENTATION? | (creation only) can be "VERTICAL" or "HORIZONTAL". Default: "HORIZONTAL". Horizontal goes from left to right, and vertical from bottom to top. | |
RASTERSIZE+ | The initial size is defined as "200x30". Set to NULL to allow the use of smaller values in the layout computation. | |
VALUE+ | (non inheritable) Contains a number between "MIN" and "MAX", controlling the current position. | |
also | ACTIVE, EXPAND?, FONT, NAME, SCREENPOSITION, POSITION, MINSIZE, MAXSIZE, WID, TIP, SIZE+, ZORDER, VISIBLE: also accepted. | |
Callbacks: | MAP_CB, UNMAP_CB, DESTROY_CB: common callbacks are supported. |