#include <gnome.h> struct GnomeProcBar; #define GNOME_PROC_BAR__CLASS (klass) |
|
The GnomeProcBar widget is used to display load graphs like cpu usage, memory and swap load. It is for instance used in the cpumemusage applet and in GTop.
#define GNOME_PROC_BAR__CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_proc_bar_get_type (), GnomeProcBarClass) |
klass : |
|
Creates a new Gnome Process Bar.
label : | Either NULL or a GtkWidget that will be shown at the left side of the process bar. |
n : | Number of items. |
colors : | Pointer to an array of n GdkColor elements. |
cb : | Callback function to update the process bar. |
Returns : | the newly created GnomeProcBar widget. |
void gnome_proc_bar_set_values (GnomeProcBar *pb, unsigned |
pb : | |
Param2 : |
void gnome_proc_bar_set_orient (GnomeProcBar *pb, |
pb : | |
vertical : |
void gnome_proc_bar_start (GnomeProcBar *pb, |
pb : | |
gtime : | |
data : |
void gnome_proc_bar_update (GnomeProcBar *pb, |
pb : | |
colors : |