summaryrefslogtreecommitdiffstats
path: root/library/tk.tcl
Commit message (Collapse)AuthorAgeFilesLines
* Merged changes from feature branch dgp-privates-into-namespace,dgp2001-08-011-57/+59
| | | | | implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace.
* * library/console.tcl:hobbs2001-07-031-1/+33
| | | | | | | | | | | | | | | | | | | | | * library/entry.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: added private ::tk::GetSelection command to handle requesting selection. This is to support requesting UTF8_STRING before generic STRING on Unix. Changed Text, Spinbox, Entry and Console to use this command. * tests/select.test: * generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler): on Unix, a UTF8_STRING handler will be created when the user requests a STRING handler (in addition to the STRING handler). This provides implicit support for the new UTF8_STRING selection target. * unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added support for UTF8_STRING target. [RFE #418653, Patch #433283] * generic/tkInt.h: added utf8Atom to TkDisplay structure.
* * tests/safe.test: added note about correcting failures inhobbs2001-03-311-6/+3
| | | | | | safe.test. * library/tk.tcl: moved package require msgcat inside if case to not be used in safe interps.
* * library/tk.tcl: put a catch around adding <hpBackTab> to thehobbs2001-03-301-2/+5
| | | | | <<PrevWindow>> virtual event as it doesn't seem to work on all HP systems. [Bug #411669]
* threw catch around tk useinputmethods call for safe interpshobbs2000-10-311-3/+4
|
* * tests/tk.test:hobbs2000-10-311-1/+5
| | | | | | | | * doc/tk.n: updated to reflect default on status of useinputmethods. * library/tk.tcl: tk useinputmethods is set to 1 by default. This enables Kanji and dead-char input by default. Intro'd in 1999-12-16 with default off to avoid some problems with older X servers that would slow down widget creation over time.
* When a dialog box (ex: tk_messageBox) pops up whiledrh2000-09-301-2/+4
| | | | | another application is holding the grab, the "grab" command fails and the dialog box is inoperative. "catch" the "grab" to prevent this.
* * tests/filebox.test: Adjusted tests to accomodate -multiple.ericm2000-06-301-2/+4
| | | | | | | | | | | * library/xmfbox.tcl: Adjusted arguments list construction such that -multiple is not presented as an option for tk_getSaveFile. * library/tk.tcl: Added test for safe interpreter status before attempting to load message catalogs (which is impossible in a standard safe interpreter). This means that SafeTk will not have localized dialogs, unless a means is found for loading the message catalog files.
* * library/msgs/de.msg: German message catalog.ericm2000-06-301-1/+3
| | | | | | | | | | | | | | | | | | | | * library/msgs/en.msg: English message catalog. * library/msgs/es.msg: Spanish message catalog. * library/msgs/fr.msg: French message catalog. * unix/Makefile.in: * unix/configure.in: * library/tk.tcl: * library/clrpick.tcl: * library/choosedir.tcl: * library/console.tcl: * library/msgbox.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: * library/bgerror.tcl: Applied patches from Laurent Duperval to provide localization of Tk dialogs. [RFE: 2671].
* * doc/spinbox.n: (new file) docs for spinbox widgethobbs2000-05-291-1/+2
| | | | | | | | | | | * 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
* * README:hobbs2000-05-031-3/+3
| | | | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * mac/README: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/aclocal.m4: * win/configure.in: * win/makefile.vc: updated patchlevel to 8.4a1
* * tests/filebox.test:ericm2000-03-241-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * tests/choosedir.test: Updated tests. * library/xmfbox.tcl: Updated to stash data array in ::tk::dialog::file namespace instead of in global namespace. * library/tkfbox.tcl: Extended some functions to support creation of a choosedir dialog, to allow greater code reuse between the two dialogs. Moved tkFDialog* functions into a namespace (::tk::dialog::file). Because these are private Tk functions (and should thus not be used directly by users), this should not impact anybody (the tk_getOpenFile and tk_getSaveFile commands still exist at the global scope). * library/tk.tcl: * library/tclIndex: Updated function names for tkFDialog* functions and choosedir functions. * library/choosedir.tcl: New and improved implementation of tk_chooseDirectory dialog. Based on tk_getOpenFile dialog. * library/listbox.tcl: (tkListboxCancel) Added a check for empty string value for tkPriv(listboxPrev). Without this check, it's possible to get a stack trace under certain conditions. [Bug: 4373].
* * library/tk.tcl: wrapped check for tcl_platform(os) around infohobbs2000-02-081-9/+9
| | | | exists because it won't in safe interpreters
* * library/tk.tcl:ericm2000-02-011-2/+2
| | | | | | | | * library/tclIndex: * library/choosedir.tcl: Moved choosedir functions into the ::tk::dialog::chooseDir namespace instead of a toplevel ::tkChooseDirectory namespace. Additional cleanup on the chooseDir dialog.
* * doc/getOpenFile.n:ericm2000-01-271-1/+6
| | | | | | | | | | | * doc/chooseDirectory.n: Man page/cross links for tk_chooseDirectory (bug #1786). * library/tk.tcl: * library/tclIndex: Added hooks for tk_chooseDirectory. (bug #1786) * library/choosedir.tcl: tk_chooseDirectory implementation for Unix/Mac (bug #1786).
* * library/tk.tcl: Created a virtual event <<PrevWindow>> forericm2000-01-201-2/+16
| | | | | reverse tab traversals, with one default binding <Shift-Tab>, and OS specific bindings for Linux, HP-UX, and IRIX. (bug #3163)
* * library/msgbox.tcl: added color icons for tk_messageBox on Unixhobbs1999-12-031-5/+19
| | | | | and Mac when tk_strictMotif isn't set. (Hipp) * library/tk.tcl: added window bounds checking to ::tk::PlaceWindow
* * library/tk.tcl: fixed missing $w in ::tk::PlaceWindowhobbs1999-11-301-2/+19
|
* * library/clrpick.tcl:hobbs1999-11-241-1/+81
| | | | | | | | | * library/msgbox.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: fixed dialogs to center over -parent, added utility functions ::tk::PlaceWindow, ::tk::SetFocusGrab, ::tk::RestoreFocusGrab to tk.tcl to help
* 1999-09-24 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-10-011-3/+3
| | | | | | | | | | | | | * */README: * win/makefile.vc: * */configure.in: * generic/tk.h: * library/tk.tcl: up'd to 8.3a1 * unix/Makefile.in: changed 'mkdir' to 'mkdir -p' * library/dialog.tcl: changed {Times 18} to {Times 12} for dialog font.
* 1999-09-01 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-021-33/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* *** empty log message ***hobbs1999-08-131-6/+6
|
* 1999-08-10 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-101-3/+3
| | | | | | | * library/clrpick.tcl: * library/console.tcl: * library/tk.tcl: fixed code where abbreviations where used in calling widget methods (confuses iWidgets) [Bug: 2422]
* Changed to Tk 8.2b1welch1999-06-251-3/+3
|
* * Merged 8.1 branch into the main trunkstanton1999-04-161-25/+61
|
* Updated the version to 8.0.5.rjohnson1999-01-041-1/+2
|
* Removed lintwelch1998-11-121-8/+8
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Created a <<PasteSelection>> virtual event that replaces <ButtonRelease-2>surles1998-08-031-0/+3
|
* plugin updateswelch1998-06-271-3/+3
|
* Initial revisionrjohnson1998-04-011-0/+189