-
Notifications
You must be signed in to change notification settings - Fork 0
/
listgroups.go
125 lines (94 loc) · 2.61 KB
/
listgroups.go
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
//----------------------------------------
// 代码由GenlibVcl工具自动生成。
// Copyright © ying32. All Rights Reserved.
//
//----------------------------------------
package vcl
import (
. "gitee.com/ying32/govcl/vcl/api"
)
type TListGroups struct {
IObject
instance uintptr
}
func NewListGroups() *TListGroups {
l := new(TListGroups)
l.instance = ListGroups_Create()
return l
}
func ListGroupsFromInst(inst uintptr) *TListGroups {
l := new(TListGroups)
l.instance = inst
return l
}
func ListGroupsFromObj(obj IObject) *TListGroups {
l := new(TListGroups)
l.instance = CheckPtr(obj)
return l
}
func (l *TListGroups) Free() {
if l.instance != 0 {
ListGroups_Free(l.instance)
l.instance = 0
}
}
func (l *TListGroups) Instance() uintptr {
return l.instance
}
func (l *TListGroups) IsValid() bool {
return l.instance != 0
}
func (l *TListGroups) Add() *TListGroup {
return ListGroupFromInst(ListGroups_Add(l.instance))
}
func (l *TListGroups) Owner() *TControl {
return ControlFromInst(ListGroups_Owner(l.instance))
}
func (l *TListGroups) Assign(Source IObject) {
ListGroups_Assign(l.instance, CheckPtr(Source))
}
func (l *TListGroups) BeginUpdate() {
ListGroups_BeginUpdate(l.instance)
}
func (l *TListGroups) Clear() {
ListGroups_Clear(l.instance)
}
func (l *TListGroups) Delete(Index int32) {
ListGroups_Delete(l.instance, Index)
}
func (l *TListGroups) EndUpdate() {
ListGroups_EndUpdate(l.instance)
}
func (l *TListGroups) GetNamePath() string {
return ListGroups_GetNamePath(l.instance)
}
func (l *TListGroups) Insert(Index int32) *TCollectionItem {
return CollectionItemFromInst(ListGroups_Insert(l.instance, Index))
}
func (l *TListGroups) ClassName() string {
return ListGroups_ClassName(l.instance)
}
func (l *TListGroups) Equals(Obj IObject) bool {
return ListGroups_Equals(l.instance, CheckPtr(Obj))
}
func (l *TListGroups) GetHashCode() int32 {
return ListGroups_GetHashCode(l.instance)
}
func (l *TListGroups) ToString() string {
return ListGroups_ToString(l.instance)
}
func (l *TListGroups) Capacity() int32 {
return ListGroups_GetCapacity(l.instance)
}
func (l *TListGroups) SetCapacity(value int32) {
ListGroups_SetCapacity(l.instance, value)
}
func (l *TListGroups) Count() int32 {
return ListGroups_GetCount(l.instance)
}
func (l *TListGroups) Items(Index int32) *TListGroup {
return ListGroupFromInst(ListGroups_GetItems(l.instance, Index))
}
func (l *TListGroups) SetItems(Index int32, value *TListGroup) {
ListGroups_SetItems(l.instance, Index, CheckPtr(value))
}