Class Index | Cross Index | Namespace Index |
The base class for Gtk::ProgressBar.
Contained in: Gtk
Derived from:
Gtk::Widget
Derived by:
Gtk::ProgressBar
#include <gtk--/progress.h>
public function member index: |
||
signal void | act_mode_enter | (); |
void | configure | (gfloat value, gfloat min, gfloat max); |
Adjustment* | get_adjustment | () const; |
gfloat | get_current_percentage | () const; |
string | get_current_text | () const; |
gfloat | get_percentage_from_value | (gfloat value) const; |
string | get_text_from_value | (gfloat value) const; |
gfloat | get_value | () const; |
GtkProgress* | gtkobj | (); |
const GtkProgress* | gtkobj | () const; |
static bool | isA | (Object* object); |
signal void | paint | (); |
void | set_activity_mode | (bool activity_mode); |
void | set_adjustment | (Adjustment& adjustment); |
void | set_adjustment | (Adjustment* adjustment=0); |
void | set_format_string | (const string& format); |
void | set_percentage | (gfloat percentage); |
void | set_show_text | (bool show_text); |
void | set_text_alignment | (gfloat x_align, gfloat y_align); |
void | set_value | (gfloat value); |
signal void | update | (); |
virtual | ~Progress | (); |
protected function member index: |
||
virtual void | act_mode_enter_impl | (); |
virtual void | paint_impl | (); |
virtual void | update_impl | (); |
value: The current progress value.min: The minimum progress value.
max: The maximum progress value.
Returns: A number between 0.0 and 1.0 indicating the percentage complete.
This text is the based on the underlying format string after any substitutions are made.Returns: The text indicating the current progress.
value: An absolute progress value.Returns: a number between 0.0 and 1.0 indicating the percentage complete represented by value.
The current value for the Gtk::Progress remains unchanged.value: An absolute progress value to use when formatting the progress text.
Returns: A string indicating the progress.
Returns: The current progress complete value.
mode (the default) and activity mode. In activity mode, the progress is simply indicated as activity rather than as a percentage complete.activity_mode: A boolean, TRUE for activity mode.
A Gtk::Adjustment is used to represent the upper and lower bounds and the step interval of the underlying value for which progress is shown.adjustment: The Gtk::Adjustment to be associated with the Gtk::Progress.
format: A string used to display progress text. The string can contain the following substitution characters:%v - the current progress value.
%l - the lower bound for the progress value.
%u - the upper bound for the progress value.
%p - the current progress percentage.
percentage: The percentage complete which must be between 0.0 and 1.0.
show_text: A boolean indicating whether the progress text is shown.
x_align: A number between 0.0 and 1.0 indicating the horizontal alignment of the progress text within the Gtk::Progress.y_align: A number between 0.0 and 1.0 indicating the vertical alignment of the progress text within the Gtk::Progress.
The value must be within the valid range of values for the underlying Gtk::Adjustment.value: The value indicating the current completed amount.