class tkinter.ttk.Widget
identify(x, y)
Returns the name of the element at position x y, or the empty string if the point does not lie within any element. x and y are pixel coordinates relative to the widget.
instate(statespec, callback=None, *args, **kw)
Test the widget’s state. If a callback is not specified, returns True if the widget state matches statespec and False otherwise. If callback is specified then it is called with args if widget state matches statespec.
state(stat