January 19th 2020
Get the id of a panel associated with a view
the standard custom layer context pointer
the id of the view to query
the id of the panel associated with the view, if the view exists, 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.