| PHAT Reference Manual |
|---|
PhatHFanSlider;
GtkWidget* phat_hfan_slider_new (GtkAdjustment *adjustment);
GtkWidget* phat_hfan_slider_new_with_range (double value,
double lower,
double upper,
double step);
PhatHFanSlider is a wrapper class for the abstract base PhatFanSlider class. After creating a PhatHFanSlider, you should interact with it using the PhatFanSlider functions.
typedef struct _PhatHFanSlider PhatHFanSlider;
The PhatHFanSlider-struct struct contains private data only, and should be accessed using the functions below.
GtkWidget* phat_hfan_slider_new (GtkAdjustment *adjustment);
Creates a new PhatHFanSlider.
adjustment : | the GtkAdjustment that the new slider will use |
| Returns : | a newly created PhatHFanSlider |
GtkWidget* phat_hfan_slider_new_with_range (double value,
double lower,
double upper,
double step);Creates a new PhatHFanSlider. 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 PhatHFanSlider |
| <<< PhatFanSlider | PhatVFanSlider >>> |