Details
GnomeCalculatorMode
typedef enum {
GNOME_CALCULATOR_DEG,
GNOME_CALCULATOR_RAD,
GNOME_CALCULATOR_GRAD
} GnomeCalculatorMode; |
gnome_calculator_new()
GtkWidget* gnome_calculator_new (void); |
Creates a calculator widget, a window with all the common buttons and
functions found on a standard pocket calculator.
gnome_calculator_clear()
Resets the calculator back to zero. If reset is TRUE, results
stored in memory and the calculator mode are cleared also.
gnome_calculator_set()
Sets the value stored in the calculator's result buffer to the given
result.
gnome_calculator_get_result()
#define gnome_calculator_get_result(gc) |