[Docs] Update docs.
Author: Chaobin Zhang git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -18,6 +18,10 @@
|
|||||||
// QT only, display current completed percentage (text default format "%p%")
|
// QT only, display current completed percentage (text default format "%p%")
|
||||||
#define wxGA_TEXT 0x0040
|
#define wxGA_TEXT 0x0040
|
||||||
|
|
||||||
|
// Available since Windows 7 only. With this style, the value of guage will
|
||||||
|
// reflect on the taskbar button.
|
||||||
|
#define wxGA_PROGRESS 0x0010
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@class wxGauge
|
@class wxGauge
|
||||||
|
|
||||||
|
@@ -347,23 +347,29 @@ public:
|
|||||||
Constructs the wxAppProgressIndicator.
|
Constructs the wxAppProgressIndicator.
|
||||||
|
|
||||||
@param parent
|
@param parent
|
||||||
The parent window of wxAppProgressIndicator.
|
The parent window handle of wxAppProgressIndicator. Note that the
|
||||||
|
window should has taskbar button showing.
|
||||||
@param maxValue
|
@param maxValue
|
||||||
*/
|
*/
|
||||||
wxAppProgressIndicator(wxTopLevelWindow *parent, int maxValue);
|
wxAppProgressIndicator(WXWidget parent, int maxValue);
|
||||||
virtual ~wxAppProgressIndicator();
|
virtual ~wxAppProgressIndicator();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Updates the progress in taskbar button of parent window.
|
Set the progress value in taskbar button of parent window.
|
||||||
|
|
||||||
@param value
|
@param value
|
||||||
The new value of the progress meter. It should be less than or equal
|
The new value of the progress meter. It should be less than or equal
|
||||||
to the maximum value given to the constructor.
|
to the range.
|
||||||
*/
|
*/
|
||||||
bool Update(int value);
|
void SetValue(int value);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Like Update() but makes the progress bar run in indeterminate mode.
|
Set the progress range in taskbar button of parent window.
|
||||||
|
*/
|
||||||
|
void SetRange(int range);
|
||||||
|
|
||||||
|
/**
|
||||||
|
Makes the progress bar run in indeterminate mode.
|
||||||
*/
|
*/
|
||||||
bool Pulse();
|
bool Pulse();
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user