Several methods within ttk require a
that specifies a particular widget state or combination
of states. This argument may be any of the following:
A single state name such as
ttk.Button widget is in this state,
for example, when the mouse cursor is over the button
and mouse button 1 is down.
A single state name preceded with an exclamation
!); this matches the widget
state only when that state is off.
For example, a
'!pressed' specifies a widget that is not
currently being pressed.
A sequence of state names, or state names preceded by
'!'. Such a
matches only when
all of its components match. For example, a
('!disabled', 'focus') matches a
widget only when that widget is not disabled and it