![]() |
![]() |
![]() |
GTK Instrumentation Widgets Reference Manual | ![]() |
---|---|---|---|---|
#include <giwthermo.h> enum GiwThermoMousePolicy; GiwThermo; GtkWidget* giw_thermo_new (GtkAdjustment *adjustment); GtkWidget* giw_thermo_new_with_adjustment (gdouble value, gdouble lower, gdouble upper); void giw_thermo_set_value (GiwThermo *thermo, gdouble value); gdouble giw_thermo_get_value (GiwThermo *thermo); GtkAdjustment* giw_thermo_get_adjustment (GiwThermo *thermo); void giw_thermo_set_adjustment (GiwThermo *thermo, GtkAdjustment *adjustment); void giw_thermo_set_legends_digits (GiwThermo *thermo, gint digits); void giw_thermo_show_legends (GiwThermo *thermo, guchar option); void giw_thermo_set_mouse_policy (GiwThermo *thermo, GiwThermoMousePolicy policy); void giw_thermo_set_major_ticks_number (GiwThermo *thermo, gint number); void giw_thermo_set_minor_ticks_number (GiwThermo *thermo, gint number);
typedef enum{ GIW_THERMO_MOUSE_DISABLED, GIW_THERMO_MOUSE_AUTOMATICALLY, GIW_THERMO_MOUSE_DELAYED }GiwThermoMousePolicy;
GtkWidget* giw_thermo_new_with_adjustment (gdouble value, gdouble lower, gdouble upper);
value : |
|
lower : |
|
upper : |
|
Returns : |
void giw_thermo_set_value (GiwThermo *thermo, gdouble value);
thermo : |
|
value : |
GtkAdjustment* giw_thermo_get_adjustment (GiwThermo *thermo);
thermo : |
|
Returns : |
void giw_thermo_set_adjustment (GiwThermo *thermo, GtkAdjustment *adjustment);
thermo : |
|
adjustment : |
void giw_thermo_set_legends_digits (GiwThermo *thermo, gint digits);
thermo : |
|
digits : |
void giw_thermo_show_legends (GiwThermo *thermo, guchar option);
thermo : |
|
option : |
void giw_thermo_set_mouse_policy (GiwThermo *thermo, GiwThermoMousePolicy policy);
thermo : |
|
policy : |
void giw_thermo_set_major_ticks_number (GiwThermo *thermo, gint number);
thermo : |
|
number : |