| PHAT Reference Manual | ||||
|---|---|---|---|---|
PhatVFanSliderPhatVFanSlider — a vertical fanslider widget for selecting a floating point value from a range |
PhatVFanSlider;
GtkWidget* phat_vfan_slider_new (GtkAdjustment *adjustment);
GtkWidget* phat_vfan_slider_new_with_range (double value,
double lower,
double upper,
double step);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----PhatFanSlider +----PhatVFanSlider
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 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 |