state

Specifies one of three states for the button:

  • normal
  • active
  • disabled.

In normal state the button is displayed using the #:foreground and #:background options.

The active state is typically used when the pointer is over the button. In active state the button is displayed using the #:activeforeground and #:activebackground options.

Disabled state means that the button should be insensitive: the default bindings will refuse to activate the widget and will ignore mouse button presses. In this state the #:disabledforeground and #:background options determine how the button is displayed.


© Author | Home | Sitemap