1
2
3
4
5
6
7
8
9
10
11
12
13
14 #ifndef ENTRY_H
15 #define ENTRY_H
16
17 #include "toolkit.h"
18 #include "../ui/entry.h"
19 #include "../common/context.h"
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 UIWIDGET ui_spinner_var(UiObject *obj,
double step,
int digits, UiVar *var, UiVarType type);
26 void ui_spinner_changed(GtkSpinButton *spinner, UiVarEventData *event);
27
28 int64_t ui_spinbutton_getint(UiInteger *i);
29 void ui_spinbutton_setint(UiInteger *i,
int64_t val);
30
31 double ui_spinbutton_getdouble(UiDouble *d);
32 void ui_spinbutton_setdouble(UiDouble *d,
double val);
33
34 double ui_spinbutton_getrangeval(UiRange *r);
35 void ui_spinbutton_setrangeval(UiRange *r,
double val);
36 void ui_spinbutton_setrange(UiRange *r,
double min,
double max);
37 void ui_spinbutton_setextent(UiRange *r,
double extent);
38
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif
45
46