
Use this attribute to disable the Entry widget so that the user can't type anything into it. To make a "password" entry that echoes each character as an asterisk, set show="*". Normally, the characters that the user types appear in the entry. The foreground (text) color of selected text. The width of the border to use around selected text. The background color to use displaying selected text. Selects three-dimensional shading effects around the text entry. The background color to be displayed when the widget's state option is "readonly". The value can be LEFT (the default), CENTER, or RIGHT. This option controls how the text is justified when the text doesn't fill the widget's width. You can adjust this by setting insertwidth to any dimension. Default is 600 (milliseconds).īy default, the insertion cursor is 2 pixels wide. Similar to insertofftime, this attribute specifies how much time the cursor spends on per blink. If you use insertofftime=0, the insertion cursor won't blink at all.

You can set insertofftime to a value in milliseconds to specify how much time the insertion cursor spends off. If you do, make sure that the insertwidth attribute is at least twice that value.īy default, the insertion cursor blinks. 12)) by setting insertborderwidth to the dimension of the 3-d border. You can get the cursor with the RAISED relief effect (see Section 5.6, "Relief styles" (p. 9).īy default, the insertion cursor is a simple rectangle. To get a different color of insertion cursor, set insertbackground to any color see Section 5.3, "Colors" (p. 106).Ĭolor shown in the focus highlight when the widget has the focus.īy default, the insertion cursor (which shows the point within the text where new keyboard input will be inserted) is black. See Section 29, "Focus: routing keyboard input" (p. 10).Ĭolor of the focus highlight when the widget does not have focus. The font used for text entered in the widget by the user. To avoid this exportation, use exportselec-tion=0. For option values, see fg below.īy default, if you select text within an Entry widget, it is automatically exported to the clipboard. The foreground color to be displayed when the widget is in the DISABLED state. The background color to be displayed when the widget is in the DISABLED state. The cursor used when the mouse is within the entry widget see Section 5.8, "Cursors" (p. The width of the border around the entry area see Section 5.1, "Dimensions" (p. The background color inside the entry area. To create a new Entry widget in a root window or frame named parent: This constructor returns the new Entry widget. Such an index will specify the character at that horizontal mouse position. To simplify that process, you can use as an index a string of the form where n is the horizontal distance in pixels between the left edge of the Entry widget and the mouse.



