Returns the Element that currently has focus as reported by tkinter. If no element is found None is returned! :return: An Element if one has been found with focus or None if no element found :rtype: Element | None
(self)
| 11011 | Elem = find_element # NEW for 2019! More laziness... Another shortcut |
| 11012 | |
| 11013 | def find_element_with_focus(self): |
| 11014 | """ |
| 11015 | Returns the Element that currently has focus as reported by tkinter. If no element is found None is returned! |
| 11016 | :return: An Element if one has been found with focus or None if no element found |
| 11017 | :rtype: Element | None |
| 11018 | """ |
| 11019 | element = _FindElementWithFocusInSubForm(self) |
| 11020 | return element |
| 11021 | |
| 11022 | def widget_to_element(self, widget): |
| 11023 | """ |
no test coverage detected