Lots of doc updates. The recent Tab and TabGroup changes
This commit is contained in:
parent
39fdf072a4
commit
28c7c35ac0
4 changed files with 825 additions and 145 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/python3
|
||||
version = __version__ = "4.2.0.3 Unreleased"
|
||||
version = __version__ = "4.2.0.4 Unreleased"
|
||||
|
||||
|
||||
# 888888ba .d88888b oo dP .88888. dP dP dP
|
||||
|
@ -968,21 +968,6 @@ class Combo(Element):
|
|||
elif visible is True:
|
||||
self.TKCombo.pack()
|
||||
|
||||
|
||||
def GetSelectedItemsIndexes(self):
|
||||
"""
|
||||
Get the list of chosen items and return them as a list of indexes (offsets within the list).
|
||||
Do NOT use them method as an alternative from reading the values returned to you in your call to
|
||||
`Window.Read()`. All input elements should have their values read using the window.Read call, not methods
|
||||
like this one.
|
||||
|
||||
:return: List[int] List of indexes of currently selected items
|
||||
"""
|
||||
if not self.TKStringVar:
|
||||
return []
|
||||
return [self.TKCombo.current(),] # for tkinter this will always be just 1 item
|
||||
|
||||
|
||||
def Get(self):
|
||||
try:
|
||||
if self.TKCombo.current() == -1: # if the current value was not in the original list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue