ui/gtk/entry.h

changeset 145
853685152c1d
child 272
1a30bf64cb22
equal deleted inserted replaced
144:29d98cff4f56 145:853685152c1d
1 /*
2 * To change this license header, choose License Headers in Project Properties.
3 * To change this template file, choose Tools | Templates
4 * and open the template in the editor.
5 */
6
7 /*
8 * File: entry.h
9 * Author: olaf
10 *
11 * Created on 11. November 2017, 13:38
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 /* ENTRY_H */
45

mercurial