Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Properties Author(s) References
Base class for GtkProgressBar
gtkProgressSetShowText(object, show.text)
gtkProgressSetTextAlignment(object, x.align, y.align)
gtkProgressSetFormatString(object, format)
gtkProgressSetAdjustment(object, adjustment)
gtkProgressSetPercentage(object, percentage)
gtkProgressSetValue(object, value)
gtkProgressGetValue(object)
gtkProgressSetActivityMode(object, activity.mode)
gtkProgressGetCurrentText(object)
gtkProgressGetTextFromValue(object, value)
gtkProgressGetCurrentPercentage(object)
gtkProgressGetPercentageFromValue(object, value)
gtkProgressConfigure(object, value, min, max)
1 2 3 4 5 6 | GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkProgress
+----GtkProgressBar
|
GtkProgress implements
AtkImplementorIface and GtkBuildable
.
A GtkProgress
is the abstract base class used to derive
a GtkProgressBar
which provides a visual representation of
the progress of a long running operation.
GtkProgress
The GtkProgress
struct contains private data only.
and should be accessed using the functions below.
activity-mode
[logical : Read / Write]If TRUE, the GtkProgress is in activity mode, meaning that it signals something is happening, but not how much of the activity is finished. This is used when you're doing something but don't know how long it will take. Default value: FALSE
show-text
[logical : Read / Write]Whether the progress is shown as text. Default value: FALSE
text-xalign
[numeric : Read / Write]The horizontal text alignment, from 0 (left) to 1 (right). Reversed for RTL layouts. Allowed values: [0,1] Default value: 0.5
text-yalign
[numeric : Read / Write]The vertical text alignment, from 0 (top) to 1 (bottom). Allowed values: [0,1] Default value: 0.5
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkProgress.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.