(target: GObject)
| 239 | } |
| 240 | |
| 241 | public addBeforeMe(target: GObject): void { |
| 242 | if (!this._parent) { |
| 243 | throw new Error('parent not set'); |
| 244 | } |
| 245 | |
| 246 | const index = this._parent.getChildIndex(this); |
| 247 | this._parent.addChildAt(target, index); |
| 248 | } |
| 249 | |
| 250 | /** |
| 251 | * Add target after this object |
nothing calls this directly
no test coverage detected