Details
struct GtkProgress
The GtkProgress struct contains private data only.
and should be accessed using the functions below.
gtk_progress_set_show_text ()
Warning |
gtk_progress_set_show_text is deprecated and should not be used in newly-written code.
|
Controls whether progress text is shown.
gtk_progress_set_text_alignment ()
Warning |
gtk_progress_set_text_alignment is deprecated and should not be used in newly-written code.
|
Controls the alignment of the text within the progress bar area.
gtk_progress_set_format_string ()
void gtk_progress_set_format_string (GtkProgress *progress,
const gchar *format); |
Warning |
gtk_progress_set_format_string is deprecated and should not be used in newly-written code.
|
Sets a format string used to display text indicating the
current progress. 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.
gtk_progress_set_adjustment ()
Warning |
gtk_progress_set_adjustment is deprecated and should not be used in newly-written code.
|
Associates a GtkAdjustment with the GtkProgress. A GtkAdjustment
is used to represent the upper and lower bounds and the step interval
of the underlying value for which progress is shown.
gtk_progress_set_percentage ()
Warning |
gtk_progress_set_percentage is deprecated and should not be used in newly-written code.
|
Sets the current percentage completion for the GtkProgress.
gtk_progress_set_value ()
Warning |
gtk_progress_set_value is deprecated and should not be used in newly-written code.
|
Sets the value within the GtkProgress to an absolute value.
The value must be within the valid range of values for the
underlying GtkAdjustment.
gtk_progress_get_value ()
Warning |
gtk_progress_get_value is deprecated and should not be used in newly-written code.
|
Returns the current progress complete value.
gtk_progress_set_activity_mode ()
Warning |
gtk_progress_set_activity_mode is deprecated and should not be used in newly-written code.
|
A GtkProgress can be in one of two different modes: percentage
mode (the default) and activity mode. In activity mode, the
progress is simply indicated as activity rather than as a percentage
complete.
gtk_progress_get_current_text ()
Warning |
gtk_progress_get_current_text is deprecated and should not be used in newly-written code.
|
Returns the current text associated with the GtkProgress. This
text is the based on the underlying format string after any substitutions
are made.
gtk_progress_get_text_from_value ()
Warning |
gtk_progress_get_text_from_value is deprecated and should not be used in newly-written code.
|
Returns the text indicating the progress based on the supplied value.
The current value for the GtkProgress remains unchanged.
gtk_progress_get_current_percentage ()
Warning |
gtk_progress_get_current_percentage is deprecated and should not be used in newly-written code.
|
Returns the current progress as a percentage.
gtk_progress_get_percentage_from_value ()
Warning |
gtk_progress_get_percentage_from_value is deprecated and should not be used in newly-written code.
|
Returns the progress as a percentage calculated from the supplied
absolute progress value.
gtk_progress_configure ()
Warning |
gtk_progress_configure is deprecated and should not be used in newly-written code.
|
Allows the configuration of the minimum, maximum, and current values for
the GtkProgress.