panel_get_view
September 8th 2024
Get the id of a view associated with a panel
Signature
View_ID
panel_get_view(Application_Links* app,
Panel_ID panel_id,
Access_Flag access);
Parameters
app
the standard custom layer context pointer
panel_id
the id of the panel to query
access
the type of access requirements that the view must satisfy
Return
the id of the view associated with the panel, if the panel exists and is a 'leaf' panel in the panel layout, zero otherwise
Details
Associations between panels and views are not 'stable'. They often change whenever the layout of panels is adjusted. The results of this query should only be taken as correct for as long as no panels or views are opened or closed.