I have a Panelgroup that contains several PtPanes:
I want to have access to the Panes that are currently realized within the PanelGroup.
I tried to get them with PtWidgetChildBack and then getting its brothers with PtWidgetBrotherInFront. This doesn’t work.
I then tried to traverse the Widget Tree with PtWidgetFamily and then determine the widget type by PtWidgetClass.
That works, but it also returns me every Pane that is being used within a Pane.
I can’t use the currently-selected-index of the PanelGroup because some panes could be unrealized.
How can I get all realized Panes of the Panelgroup?