|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--gtk.Object | +--gtk.Widget | +--gtk.ProgressBar
Defined in jsgtk_min.js
Constructor Summary | |
gtk.ProgressBar()
A widget which indicates progress visually. |
Method Summary | |
void
|
_resizeHeight(<integer> height)
_resizeHeight() method : Resize the height of widget's dom object and height |
void
|
_resizeWidth(width)
_resizeWidth() method : Resize the width of widget's dom object and width |
Object
|
getFraction()
|
Object
|
getOrientation(orientation)
Returns the current progress bar orientation. |
Float
|
getPulseStep()
Returns the pulse step set with the set_pulse_step() |
String
|
getText()
Returns the text superimposed on the progress bar. |
void
|
pulse()
Nudges the progressbar to indicate that some progress has been made, but you don't know how much. |
void
|
resize(width, height)
|
void
|
resizeHeightComposite(height)
|
void
|
resizeWidthComposite(width)
|
void
|
setFraction(<Float> fraction)
Causes the progress bar to "fill in" the portion of the bar specified by fraction. |
void
|
setOrientation(orientation)
Switches the progress bar to a different orientation as specified by the value of orientation |
void
|
setPulseStep(<Float> fraction)
Sets the portion (specified by fraction) of the total progress bar length to move the bouncing block for each call to the pulse() method. |
void
|
setText(<String> text)
Superimposes the text specified by text on the progress bar |
Methods inherited from class gtk.Widget |
setBoldTitle, getNode, show, hide, activate, setActivateSignal, getActivateSignal, setSizeRequest, setSize, setWidth, getWidth, setHeight, getHeight, getSizeRequest, sizeRequest, getSize, getMinWidthComposite, getMinHeightComposite, resetHeightComposite, resetWidthComposite
|
Constructor Detail |
gtk.ProgressBar()
Method Detail |
void _resizeHeight(<integer> height)
height
- : the new of height of widget
void _resizeWidth(width)
height
- : the new of height of widget
Object getFraction()
Object getOrientation(orientation)
Float getPulseStep()
String getText()
void pulse()
void resize(width, height)
void resizeHeightComposite(height)
void resizeWidthComposite(width)
void setFraction(<Float> fraction)
fraction
- The fraction of the task that's been completed
void setOrientation(orientation)
The
- orientation of the progress bar
void setPulseStep(<Float> fraction)
fraction
- A value between 0.0 and 1.0
void setText(<String> text)
text
- A UTF-8 string
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |