* Remove a child * 移除子对象
(child: GObject, bDispose: boolean = false)
| 111 | * 移除子对象 |
| 112 | */ |
| 113 | public removeChild(child: GObject, bDispose: boolean = false): GObject { |
| 114 | const index = this._children.indexOf(child); |
| 115 | if (index !== -1) { |
| 116 | return this.removeChildAt(index, bDispose); |
| 117 | } |
| 118 | return child; |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Remove child at index |
no test coverage detected