Focusing on a tab in a tab container

Godot Version

4.3

Question

how do you set focus on a tab for a tab container. I tried setting it on the container within, but through testing thats not the actual tab. having it print the actual thing it needs to focus on just prints “@TabBar@2:<TabBar#37060871564>”

Ive figured it out using:

tab_container.get_tab_bar().grab_focus()

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.