Added uiParentDestroy(). Now to implement.
This commit is contained in:
parent
81f475000f
commit
87296762b0
|
@ -10,7 +10,10 @@ void *Internal;
|
||||||
This pointer is used internally by libui. Do not attempt to alter it or access/alter its data.
|
This pointer is used internally by libui. Do not attempt to alter it or access/alter its data.
|
||||||
|
|
||||||
## func Destroy()
|
## func Destroy()
|
||||||
TODO
|
```c
|
||||||
|
void uiParentDestroy(uiParent *p);
|
||||||
|
```
|
||||||
|
Destroys the uiParent. This also destroys the main child, if any. This is called by `uiWindowDestroy()` and uiTab's/uiGroup's `uiControlDestroy()`.
|
||||||
|
|
||||||
## func Handle()
|
## func Handle()
|
||||||
```c
|
```c
|
||||||
|
|
2
ui.idl
2
ui.idl
|
@ -59,7 +59,7 @@ interface Control {
|
||||||
|
|
||||||
interface Parent {
|
interface Parent {
|
||||||
field Internal *void;
|
field Internal *void;
|
||||||
// TODO destroy
|
func Destroy(void);
|
||||||
// TODO object destruction debug handler
|
// TODO object destruction debug handler
|
||||||
func Handle(void) uintptr_t;
|
func Handle(void) uintptr_t;
|
||||||
func SetMainControl(c *Control);
|
func SetMainControl(c *Control);
|
||||||
|
|
Loading…
Reference in New Issue