state

Specifies one of three states for the spinbox:

  • normal
  • disabled
  • readonly.

If the spinbox is readonly, then the value may not be changed using widget commands and no insertion cursor will be displayed, even if the input focus is in the widget; the contents of the widget may still be selected.

If the spinbox is disabled, the value may not be changed, no insertion cursor will be displayed, the contents will not be selectable, and the spinbox may be displayed in a different color, depending on the values of the #:disabledforeground and #:disabledbackground options.


© Author | Home | Sitemap