dlangui.widgets.progressbar

This module contains progress bar controls implementation.

ProgressBarWidget - progeress bar control

More...

Members

Classes

AbstractProgressBar
class AbstractProgressBar

Base for different progress bar controls

ProgressBarWidget
class ProgressBarWidget

Progress bar widget

Manifest constants

PROGRESS_ANIMATION_OFF
enum PROGRESS_ANIMATION_OFF;
Undocumented in source.
PROGRESS_HIDDEN
enum PROGRESS_HIDDEN;
Undocumented in source.
PROGRESS_INDETERMINATE
enum PROGRESS_INDETERMINATE;
Undocumented in source.
PROGRESS_MAX
enum PROGRESS_MAX;
Undocumented in source.

Detailed Description

Synopsis:

import dlangui.widgets.progressbar;

auto pb = new ProgressBarWidget();
// set progress
pb.progress = 300; // 0 .. 1000
// set animation interval
pb.animationInterval = 50; // 50 milliseconds

// for indeterminate state: set progress to PROGRESS_INDETERMINATE (-1)
pb.progress = PROGRESS_INDETERMINATE;

Meta

License

Boost License 1.0

Authors

Vadim Lopatin, coolreader.org@gmail.com