glui.children

This module defines the Children struct which will catch mutations to it made while drawing, and defines utils for operating on children.

Members

Aliases

Children
alias Children = GluiNode[]
Undocumented in source.

Functions

asConst
const(GluiNode[]) asConst(Children children)

Get the children list as const.

assertLocked
void assertLocked(Children children)
Undocumented in source. Be warned that the author may not have intended to support it.
childRef
GluiNode childRef(Children children, size_t index)

Get a reference to child within the parent.

forceMutable
GluiNode[] forceMutable(Children children)

Get a reference to the children list forcefully, ignoring the lock.

lock
void lock(Children children)
Undocumented in source. Be warned that the author may not have intended to support it.
unlock
void unlock(Children children)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Children
struct Children
Undocumented in source.

Meta