January 19th 2020
Get the id of a view associated with a panel
the standard custom layer context pointer
the id of the panel to query
the type of access requirements that the view must satisfy
the id of the view associated with the panel, if the panel exists and is a 'leaf' panel in the panel layout, zero otherwise
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.