> home > Custom Layer Boundary API

panel_get_parent

January 19th 2020
Get the parent panel of a panel

Signature

C++
Panel_ID
panel_get_parent(Application_Links* app,
                 Panel_ID panel_id);

Parameters

app

the standard custom layer context pointer

panel_id

the id of the panel to query

Return

the id of the panel that is the parent of the given panel, if the given panel exists and is not root, otherwise zero