Libui: A method: uiWindowGetChild(uiWindow *w); ??

Created on 25 May 2016  路  4Comments  路  Source: andlabs/libui

Can't seem to find such a method in the library. It could return an array of child windows, widgets etc.

Most helpful comment

Ideally this could be a method on uiControl, to allow fetching the children of _any_ control. This would improve memory management.

All 4 comments

Ideally this could be a method on uiControl, to allow fetching the children of _any_ control. This would improve memory management.

Probably uiControlForAllChildren() with a custom callback, to avoid memory allocations...

Some sort of structure to allow iteration of children might be useful as well (or it could be done by that function).

Merged with #309.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mohammed-altmimi picture mohammed-altmimi  路  5Comments

justasmalinauskas picture justasmalinauskas  路  5Comments

PaulBGD picture PaulBGD  路  11Comments

andlabs picture andlabs  路  15Comments

parro-it picture parro-it  路  6Comments