Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.ProgressBar

Class GTK2.ProgressBar

Description

A simple progress bar. Useful when you are doing things that take a long time. Try to always have an 'abort' button whenever it makes sence.  GTK2.ProgressBar()->set_fraction(0.1)

 GTK2.ProgressBar()->set_property("show_text", 1)->set_fraction(0.3)

 GTK2.ProgressBar()->set_fraction(0.6)

 GTK2.ProgressBar()->set_fraction(1.0)

Properties: int discrete-blocks int ellipsize float fraction int orientation PROGRESS_BOTTOM_TO_TOP , PROGRESS_CONTINUOUS , PROGRESS_DISCRETE , PROGRESS_LEFT_TO_RIGHT , PROGRESS_RIGHT_TO_LEFT and PROGRESS_TOP_TO_BOTTOM float pulse-step string text


Inherit Progress

inherit GTK2.Progress : Progress