* Get child at index * 获取指定位置的子对象
(index: number)
| 171 | * 获取指定位置的子对象 |
| 172 | */ |
| 173 | public getChildAt(index: number): GObject { |
| 174 | if (index < 0 || index >= this._children.length) { |
| 175 | throw new Error('Invalid child index: ' + index); |
| 176 | } |
| 177 | return this._children[index]; |
| 178 | } |
| 179 | |
| 180 | /** |
| 181 | * Get child by name |
no outgoing calls
no test coverage detected