MCPcopy
hub / github.com/PySimpleGUI/PySimpleGUI / find_currently_active_tab_key

Method find_currently_active_tab_key

PySimpleGUI/PySimpleGUI.py:7708–7720  ·  view source on GitHub ↗

Returns the key for the currently active tab in this TabGroup :return: Returns the key or None of no key found :rtype: key | None

(self)

Source from the content-addressed store, hash-verified

7706
7707
7708 def find_currently_active_tab_key(self):
7709 """
7710 Returns the key for the currently active tab in this TabGroup
7711 :return: Returns the key or None of no key found
7712 :rtype: key | None
7713 """
7714 try:
7715 current_index = self.TKNotebook.index('current')
7716 key = self.tab_index_to_key.get(current_index, None)
7717 except:
7718 key = None
7719
7720 return key
7721
7722 def get(self):
7723 """

Callers 1

_BuildResultsForSubformFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected