summaryrefslogtreecommitdiffstats
path: root/library/entry.tcl
Commit message (Collapse)AuthorAgeFilesLines
* * doc/spinbox.n: (new file) docs for spinbox widgethobbs2000-05-291-3/+3
| | | | | | | | | | | * generic/tkInt.h: added Tk_SpinboxObjCmd declaration * generic/tkEntry.c: added 'spinbox' widget - an extension of the entry widget type. * generic/tkWindow.c: added 'spinbox' to core Tk commands * library/spinbox.tcl: (new file) binding and helper procs for spinbox * library/tk.tcl: added spinbox.tcl to list of files to source * tests/entry.test: updated changed error messages * tests/spinbox.test: (new file) test suite for spinbox
* * library/entry.tcl: Adjusted Button-1 binding to set focus to theericm2000-05-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | entry when it is readonly or normal. * doc/entry.n: Added documentation for readonly state, -disabledforeground, -disabledbackground. * tests/entry.test: Added tests for readonly state. * generic/tkEntry.c: Added support for "readonly" state, and redefined "disabled" state. A disabled entry will display its text in a dimmed color and possibly with a different background, and will be completely unusable (no selection, no editing). A readonly entry will look like a normal entry, but it will not be editable; selection is still allowed. [RFE: 4239]. To support the new disabled state properly, "-disabledforeground" and "-disabledbackground" options were added. *** THIS IS A BACKWARDS INCOMPATIBLE BEHAVIOR CHANGE *** * win/tkWinDefault.h: * mac/tkMacDefault.h: * unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG, DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO.
* * library/entry.tcl:hobbs2000-01-061-2/+2
| | | | | | | | | | | | * library/focus.tcl: * library/listbox.tcl: * library/scale.tcl: * library/scrlbar.tcl: * library/tearoff.tcl: * library/text.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: fixed unprotected arg parsing through eval/after [Bug: 3943]
* * library/entry.tcl: fixed up tkEntrySeeInsert (Nemthi)hobbs1999-11-301-7/+2
|
* * library/entry.tcl: change tkEntrySeeInsert to avoid the usehobbs1999-10-301-5/+3
| | | | | | | of a while loop that could eat CPU tremendously. Behavior of moving the cursor at the right edge changes slightly (previously it tried to keep the cursor at the right edge, now it moves the cursor to a "central right" location - better IMHO).
* 1999-09-01 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-021-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | * library/msgbox.tcl: changed the behavior of tk_messageBox on Unix to be more Windows like in handling of <Return> and the default button * library/button.tcl: * library/clrpick.tcl: * library/comdlg.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/focus.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/palette.tcl: * library/safetk.tcl: * library/scale.tcl: * library/scrlbar.tcl: * library/tearoff.tcl: * library/text.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: updated commands to use [string] ops instead of expr equality operators
* 1999-08-09 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-091-5/+8
| | | | | | | | * library/button.tcl: cleaned up programming (config -> configure) and fixed Windows relief bug [Bug: 664] * library/entry.tcl: changed Entry C/C/P to not use global data (now uses tkPriv(data)) [Bug: 1475] * library/listbox.tcl: fixed extended mode script error [Bug: 866]
* * Merged 8.1 branch into the main trunkstanton1999-04-161-12/+24
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* <Insert> binding in entries was masking the virtual event <<Paste>> binding ↵stanton1998-08-051-2/+6
| | | | to Shift-Insert on Windows.
* Changed binding on <ButtonRelease-2> to be a binding on <<PasteSelection>>surles1998-08-031-6/+5
|
* plugin updateswelch1998-06-271-32/+32
|
* Initial revisionrjohnson1998-04-011-0/+607