view_get_panel
September 8th 2024
Get the id of a panel associated with a view
Signature
Panel_ID
view_get_panel(Application_Links* app,
View_ID view_id);
Parameters
app
the standard custom layer context pointer
view_id
the id of the view to query
Return
the id of the panel associated with the view, if the view exists, 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.