summaryrefslogtreecommitdiffstats
path: root/library/tk.tcl
Commit message (Collapse)AuthorAgeFilesLines
* * library/tk.tcl (RestoreFocusGrab): handle the case where thehobbs2002-07-251-3/+7
| | | | | | FocusGrab info is not set. [Bug #553283] FossilOrigin-Name: b07eac118d01e0d9b7bde29a2569a6c7edbe81e1
* Added "magic ampersand" approach for translated strings in standard dialogs.a_kovalenko2002-06-101-1/+111
| | | | | | | All translations were modified to work with "magic ampersand". Russian translations added. FossilOrigin-Name: f34dcf01ddf22dc24ff6457fca33d8e39ad2c134
* * A little namespace cleanup on Daniel Steffen'sdgp2002-05-201-16/+21
| | | | | | latest revisions to avoid defining new global commands. FossilOrigin-Name: fb357b06078b8b2c40bcbb4540a3e17506b9b329
* * mac/tkMacInit.c:das2002-05-201-11/+22
| | | | | | | | | * library/console.tcl: * library/tk.tcl: fix tk.tcl not sourcing library files that define bindings at startup on mac. (independent of tk library files being in resources or on auto_path) FossilOrigin-Name: 31190a2dda4aff4b73976e5e95bf0c3caf161077
* new feature, make dependence on msgcat soft, [539309]bagnonm2002-04-291-33/+27
| | | FossilOrigin-Name: 21bd767606dc25d686705fb734424298a8611515
* namespacing ::tk message catalogs, bug [546333]bagnonm2002-04-261-6/+6
| | | FossilOrigin-Name: 51b1ef6e023904decb5381a565b37ac820ef8b7e
* new feature request, 539309 make dependence on msgcat "soft"bagnonm2002-04-161-3/+30
| | | | | | | msgcat procedures as used in tk defined in case the package is not available. FossilOrigin-Name: 5dc2a76065bcb9f59a23e563fcddbb25338891eb
* Fixed panedwindow binding bugs and added demos for it too.dkf2002-02-221-3/+3
| | | FossilOrigin-Name: 6cb4e627e7b512fab014d466d3f49e12fd61784a
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-231-2/+2
| | | | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435660) see ChangeLog for details FossilOrigin-Name: 72721350b6f21354b5149babeafdb2304ece1e2e
* Minor improvements to undo (demo,docs&bindings)dkf2001-11-151-1/+2
| | | FossilOrigin-Name: 564aa3355ab35f41dfb85023b6618bba69f371d2
* added TIP#26 text widget undo/redo functionalityhobbs2001-11-131-1/+7
| | | FossilOrigin-Name: 5265df93d207cec0cfc2940a152e030a2f848bd0
* 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. FossilOrigin-Name: 3c0c681d8883f0843b9dcb3f402c2773f6a438a7
* * 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. FossilOrigin-Name: 3993717faaae94fc303c678c9c3637465ce2c0a4
* * 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. FossilOrigin-Name: db467392ac831602b3e585e2a51c17a173fa02eb
* * 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] FossilOrigin-Name: 05a38c5145b5cee5292833a6c49635e82a64227c
* threw catch around tk useinputmethods call for safe interpshobbs2000-10-311-3/+4
| | | FossilOrigin-Name: f1ad146384445bbd9af14d7748f387e2b8312c72
* * 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. FossilOrigin-Name: c177e1c913da27ec3265fb61c74dacfbf8cc1538
* 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. FossilOrigin-Name: eb8ebc726eb281925b6961193cd6b7526a5fe122
* * 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. FossilOrigin-Name: 299558846cdddbcdf4211b57d925fd8996d70155
* * 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]. FossilOrigin-Name: fba5538c67f2c40b36cf85e267a90136a5a80bbd
* * 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 FossilOrigin-Name: 73da332473d5aadcb1fa8f6a108a1947d501e87e
* * 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 FossilOrigin-Name: 8f7cbc1d2d96c6bcb39077da34bb659e49477384
* * 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]. FossilOrigin-Name: 507a9fe0e822d879c18e4d215b8bb2275ed0aad0
* * library/tk.tcl: wrapped check for tcl_platform(os) around infohobbs2000-02-081-9/+9
| | | | | | exists because it won't in safe interpreters FossilOrigin-Name: a9cb74b7832ba63e25ea302ec4d5c8f18b934ef4
* * 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. FossilOrigin-Name: e4acfbf7b7a5763e7d7b107414f973405208a318
* * 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). FossilOrigin-Name: 46df12c5832f68d5636924b115d3ea8c37407346
* * 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) FossilOrigin-Name: 6233d1f26b0f7aeb6a061ea518942e71f7f2ca13
* * 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 FossilOrigin-Name: 428a104b0f24457e94efe4fe717535a30aaf0e86
* * library/tk.tcl: fixed missing $w in ::tk::PlaceWindowhobbs1999-11-301-2/+19
| | | FossilOrigin-Name: 9ffa2a8b1a314010a601f6bd00adda15248bc373
* * 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 FossilOrigin-Name: 21de21752ffde474338a379bb09367d06c05fc12
* 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. FossilOrigin-Name: 0d267eb835a566c144fae8e05ddbbc61f8451f1c
* 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 FossilOrigin-Name: 09a6499cb99c0cb6c16ea5a2e6076132489b9b8f
* *** empty log message ***hobbs1999-08-131-6/+6
| | | FossilOrigin-Name: 7739d4e17fdc07813bb7f38e05999627a914f9dc
* 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] FossilOrigin-Name: fc0e0bc2832c490a23f5fe66314a17957bbb8d74
* Changed to Tk 8.2b1welch1999-06-251-3/+3
| | | FossilOrigin-Name: 308db5557afbc64d546838a86d6d0a598b03675b
* * Merged 8.1 branch into the main trunkstanton1999-04-161-25/+61
| | | FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
* Updated the version to 8.0.5.rjohnson1999-01-041-1/+2
| | | FossilOrigin-Name: df068ffcac953ae67f9a3fddbed1b166eb669c93
* Removed lintwelch1998-11-121-8/+8
| | | FossilOrigin-Name: e9574c334997c8ed3a327ababcfa287b29197a13
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
| | | FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
* Created a <<PasteSelection>> virtual event that replaces <ButtonRelease-2>surles1998-08-031-0/+3
| | | FossilOrigin-Name: 79998c99f14ef9413c46e93db5b7f812f1e2c6d4
* plugin updateswelch1998-06-271-3/+3
| | | FossilOrigin-Name: a31d73e5fbaa868008186067e2535e2f9c3140a0
* Initial revisionrjohnson1998-04-011-0/+189
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4