MoSync 3.3
Progress bar

Defines

#define MAW_PROGRESS_BAR_MAX   "max"
 Sets or gets the range of the progress bar to 0..max.
#define MAW_PROGRESS_BAR_PROGRESS   "progress"
 Set or gets the current progress to the specified value.
#define MAW_PROGRESS_BAR_INCREMENT_PROGRESS   "incrementProgress"
 Increase the progress bar's progress by the specified amount.

Detailed Description

The available widget properties for a MAW_PROGRESS_BAR. See Widget properties for more properties.


Define Documentation

#define MAW_PROGRESS_BAR_MAX   "max"

Sets or gets the range of the progress bar to 0..max.

Valid values
An positive integer that specifies the upper range of this progress bar.
Operations
Set and get.
Example
        maWidgetSetProperty(progressBarHandle, MAW_PROGRESS_BAR_MAX, "100");
#define MAW_PROGRESS_BAR_PROGRESS   "progress"

Set or gets the current progress to the specified value.

Valid values
An int that specifies the new progress, between 0 and max value. See MAW_PROGRESS_BAR_MAX.
Operations
Set and get.
Example
        maWidgetSetProperty(progressBarHandle, MAW_PROGRESS_BAR_PROGRESS, "10");
#define MAW_PROGRESS_BAR_INCREMENT_PROGRESS   "incrementProgress"

Increase the progress bar's progress by the specified amount.

Valid values
An int that specifies the amount by which the progress must be increased.
Operations
Set only.
Example
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines