> home > Custom Layer Boundary API

panel_get_child

January 19th 2020
Get one of the children of a split panel

Signature

C++
Panel_ID
panel_get_child(Application_Links* app,
                Panel_ID panel_id,
                Side which_child);

Parameters

app

the standard custom layer context pointer

panel_id

the id of the panel to query

which_child

the selector for which of the children to acquire, 'min' children are the children on the top or left, and 'max' children are the children on the bottom or right, depending on the dimension of the split

Return

the id of the requested child of the given panel, if the given panel exists and is a split, otherwise zero