1 module libwasm.bindings.TreeColumn;
2 
3 import libwasm.types;
4 
5 import memutils.ct: tuple;
6 import libwasm.bindings.Element;
7 import libwasm.bindings.TreeColumns;
8 
9 @safe:
10 nothrow:
11 
12 struct TreeColumn {
13   nothrow:
14   JsHandle handle;
15   alias handle this;
16   this(Handle h) {
17     this.handle = JsHandle(h);
18   }
19   auto element()() {
20     return Element(Object_Getter__Handle(this.handle, "element"));
21   }
22   auto columns()() {
23     return recastOpt!(TreeColumns)(Object_Getter__OptionalHandle(this.handle, "columns"));
24   }
25   int x()() {
26     return Object_Getter__int(this.handle, "x");
27   }
28   int width()() {
29     return Object_Getter__int(this.handle, "width");
30   }
31   string id()() {
32     return Object_Getter__string(this.handle, "id");
33   }
34   int index()() {
35     return Object_Getter__int(this.handle, "index");
36   }
37   bool primary()() {
38     return Object_Getter__bool(this.handle, "primary");
39   }
40   bool cycler()() {
41     return Object_Getter__bool(this.handle, "cycler");
42   }
43   bool editable()() {
44     return Object_Getter__bool(this.handle, "editable");
45   }
46   enum short TYPE_TEXT = 1;
47   enum short TYPE_CHECKBOX = 2;
48   enum short TYPE_PASSWORD = 3;
49   short type()() {
50     return Serialize_Object_VarArgCall!short(this.handle, "type", "", tuple());
51   }
52   auto getNext()() {
53     return recastOpt!(TreeColumn)(Object_Getter__OptionalHandle(this.handle, "getNext"));
54   }
55   auto getPrevious()() {
56     return recastOpt!(TreeColumn)(Object_Getter__OptionalHandle(this.handle, "getPrevious"));
57   }
58   auto previousColumn()() {
59     return recastOpt!(TreeColumn)(Object_Getter__OptionalHandle(this.handle, "previousColumn"));
60   }
61   void invalidate()() {
62     Object_Call__void(this.handle, "invalidate");
63   }
64 }
65 
66