lookimetrics.blogg.se

Tkinter icursor
Tkinter icursor








When you want validation, you must explicitly state which mode you wish to use. Specifies the mode in which validation should operate: "none", "focus", "focusin", "focusout", "key", or "all". If the entry is "disabled", the value may not be changed, no insertion cursor will be displayed, the contents will not be selectable, and the entry may be displayed in a different color, depending on the values of the disabledforeground and disabledbackground options. If the entry 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. Specifies one of three states for the entry: "normal", "disabled", or "readonly". If characters in the entry are selected and copied elsewhere, the information copied will be what is displayed, not the true contents of the entry. This is useful, for example, if the entry is to be used to enter a password. Instead, each character in the entry's value will be displayed as the first character in the value of this option, such as "*". If this option is specified, then the true contents of the entry are not displayed in the window.

tkinter icursor

If this option is the empty string, the normal background color is used. Specifies the background color to use when the entry is readonly. See VALIDATION below for more information. The best use of this option is to set it to bell. Setting it to "" disables this feature (the default).

tkinter icursor

Specifies a script to eval when validatecommand returns 0. If this option is the empty string, the normal foreground color is used.

tkinter icursor

Specifies the foreground color to use when the entry is disabled. Specifies the background color to use when the entry is disabled. Entry(parent ,**options ) STANDARD OPTIONS










Tkinter icursor