#include
<giwthermo.h> 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, int digits); void giw_thermo_show_legends (GiwThermo *thermo, char 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); |
GObject +----GtkObject +----GtkWidget +----GiwThermo |
typedef struct
GiwThermo _GiwThermo |
GtkWidget* giw_thermo_new (void); |
GtkWidget* giw_thermo_new_with_adjustment (gdouble value, gdouble lower, gdouble upper); |
GtkAdjustment* giw_thermo_get_adjustment (GiwThermo *thermo); |
void giw_thermo_set_adjustment (GiwThermo *thermo, GtkAdjustment *adjustment); |
void giw_thermo_set_value (GiwThermo *thermo, gdouble value); |
gdouble giw_thermo_set_value (GiwThermo *thermo); |
void giw_thermo_set_legends_digits (GiwThermo *thermo, int digits); |
void giw_thermo_show_legends (GiwThermo *thermo, char option); |
void
giw_thermo_set_mouse_policy
(GiwThermo
*thermo, GiwThermoMousePolicy
policy); |
typedef enum{ GIW_THERMO_MOUSE_DISABLED, GIW_THERMO_MOUSE_AUTOMATICALLY, GIW_THERMO_MOUSE_DELAYED }GiwThermoMousePolicy; |
void giw_thermo_set_major_ticks_number (GiwThermo *thermo, gint number); |
void giw_thermo_set_minor_ticks_number (GiwThermo *thermo, gint number); |