| PHAT Reference Manual |
|---|
PhatVFanSlider;
GtkWidget* phat_vfan_slider_new (GtkAdjustment *adjustment);
GtkWidget* phat_vfan_slider_new_with_range (double value,
double lower,
double upper,
double step);
PhatVFanSlider is a wrapper class for the abstract base PhatFanSlider class. After creating a PhatVFanSlider, you should interact with it using the PhatFanSlider functions.
typedef struct _PhatVFanSlider PhatVFanSlider;
The PhatVFanSlider-struct struct contains private data only, and should be accessed using the functions below.
GtkWidget* phat_vfan_slider_new (GtkAdjustment *adjustment);
Creates a new PhatVFanSlider.
adjustment : | the GtkAdjustment that the new slider will use |
| Returns : | a newly created PhatVFanSlider |
GtkWidget* phat_vfan_slider_new_with_range (double value,
double lower,
double upper,
double step);Creates a new PhatVFanSlider. The slider will create a new GtkAdjustment
from value, lower, and upper. If these parameters represent a bogus
configuration, the program will terminate.
value : | the initial value the new slider should have |
lower : | the lowest value the new slider will allow |
upper : | the highest value the new slider will allow |
step : | increment added or subtracted when sliding |
| Returns : | a newly created PhatVFanSlider |
| <<< PhatHFanSlider | PhatSliderButton >>> |