I have a tab in a tab that I want to use the grab_focus() method, but it never works. Here is an example of what I am doing:
keyboard_tab.grab_focus()
Please let me know if you have any questions!
Can't get focus on Tabs instead a tab
Asked Answered
I figured it out! Instead of trying to access the TabBar, just Access the container and access the tab_bar.
tab_container.get_tab_bar().grab_focus()
© 2022 - 2024 — McMap. All rights reserved.