Merge pull request #1796 from PySimpleGUI/Dev-latest
Renamed GetCurrentIndex to GetCurrentlySelectedTabIndex
This commit is contained in:
commit
cad420723c
|
@ -3578,7 +3578,7 @@ class TabGroup(Element):
|
|||
print('Exception Selecting Tab {}'.format(e))
|
||||
|
||||
|
||||
def GetCurrentIndex(self):
|
||||
def GetCurrentlySelectedTabIndex(self):
|
||||
"""
|
||||
Returns the "index" of the currently selected tab in this TabGroup. Indexes start at 0. Returns None if there is an error.
|
||||
|
||||
|
|
|
@ -2267,7 +2267,7 @@ class TabGroup(Element):
|
|||
except:
|
||||
pass
|
||||
|
||||
def GetCurrentIndex(self):
|
||||
def GetCurrentlySelectedTabIndex(self):
|
||||
try:
|
||||
index = self.QT_QTabWidget.currentIndex()
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue