1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 #ifndef UIC_OBJECT_H
30 #define UIC_OBJECT_H
31
32 #include "../ui/toolkit.h"
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 void uic_object_destroy(UiObject *obj);
39
40 UiObject* uic_object_new(UiObject *toplevel,
UIWIDGET widget);
41 UiObject* uic_ctx_object_new(UiContext *ctx,
UIWIDGET widget);
42 void uic_obj_add(UiObject *toplevel, UiObject *ctobj);
43 UiObject* uic_current_obj(UiObject *toplevel);
44
45 UiContainer* uic_get_current_container(UiObject *obj);
46
47 void uic_object_push_container(UiObject *toplevel, UiContainerX *newcontainer);
48 void uic_object_pop_container(UiObject *toplevel);
49
50
51
52 #ifdef __cplusplus
53 }
54 #endif
55
56 #endif
57
58