search buttons in viewpoart
-
Re: For You: Searching a Viewport
thank you showing way i can search for lables in viewport is there a way i can search for different button or panels in viewpoart
-
ScriptedViewport.getChildComponents()
-
A viewport can only contain a single component. So you'll need to add a panel to it and put your other components inside the panel. Then follow what Lindon said but change ScriptedViewport for Panel.
-
@d-healey can i have a example to what i need to change
-
-
-
Ah I just realised you posted a link to a snippet in your first post. That snippet is filtering items in the viewport's list - it's not filtering "labels". What you want would require a fresh approach, I'm not sure you could reuse much of that snippet, you'd probably be better starting from scratch.
-
@d-healey thank you