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 #import "Container.h"
30
31 @protocol TabView
32
33 - (NSView<Container>*) createTab:(
int)index title:(NSString*)title;
34 - (
void) selectTab:(
int)index;
35 - (
void) removeTab:(
int)index;
36 - (UiObject*) addTab:(
int)index title:(NSString*)title;
37
38 @end
39
40 @interface UiTopTabView : NSTabView<TabView, Container>
41
42 @property UiObject *obj;
43 @property UiSubContainerType subcontainer;
44 @property
int padding;
45 @property
int spacing;
46 @property
int columnspacing;
47 @property
int rowspacing;
48 @property ui_callback onchange;
49 @property
void *onchangedata;
50 @property UiVar *var;
51
52 - (id)init:(UiObject*)obj args:(UiTabViewArgs*)args;
53
54 @end
55
56 int64_t ui_nstabview_get(UiInteger *i);
57 void ui_nstabview_set(UiInteger *i,
int64_t value);
58