Return the current chosen value showing in spinbox. This value will be the same as what was provided as list of choices. If list items are ints, then the item returned will be an int (not a string) :return: The currently visible entry :rtype: (Any)
(self)
| 3599 | |
| 3600 | |
| 3601 | def get(self): |
| 3602 | """ |
| 3603 | Return the current chosen value showing in spinbox. |
| 3604 | This value will be the same as what was provided as list of choices. If list items are ints, then the |
| 3605 | item returned will be an int (not a string) |
| 3606 | |
| 3607 | :return: The currently visible entry |
| 3608 | :rtype: (Any) |
| 3609 | """ |
| 3610 | value = self.TKStringVar.get() |
| 3611 | for v in self.Values: |
| 3612 | if str(v) == value: |
| 3613 | value = v |
| 3614 | break |
| 3615 | return value |
| 3616 | |
| 3617 | Get = get |
| 3618 | Update = update |
no outgoing calls
no test coverage detected