summaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* * doc/colors.n: Corrected bogus documentation with respect toericm2001-06-221-13/+13
| | | | | several shades of blue, all of which were listed as RGB 0 0 0. [Bug #432104].
* * doc/selection.n:hobbs2001-06-042-3/+14
| | | | | | * doc/clipboard.n: added SEE ALSOs to cross-reference selection and clipboard, with extra note for clipboard command in selection docs. [Patch #422256]
* * doc/TkInitStubs.3:hobbs2001-05-221-6/+6
| | | | | | * generic/tk.h: * generic/tkStubLib.c: CONST'ified Tk_InitStubs to match CONST changes to Tcl_PkgRequireEx.
* implement TIP11, -compound option for menubutton widgettmh2001-05-211-1/+9
|
* Added documentation for console command. (Right source tree this time!)dkf2001-05-161-0/+142
|
* * doc/image.n: added warning about names chosen for images.hobbs2001-04-031-1/+5
|
* * doc/canvas.n: Noted ability to specify coords as a list in thehobbs2001-03-301-10/+28
| | | | docs. (techentin) [Patch #403660]
* * doc/photo.n: [Bug 132213] Added clarification on interpretationericm2001-02-131-3/+4
| | | | of ranges for "photoName data -from" subcommand.
* Asymmetric padding in "pack" and "grid" geometry managersdrh2001-02-122-4/+10
|
* 2001-01-02 Andreas Kupries <a.kupries@westend.com>andreas_kupries2001-01-021-2/+14
| | | | | * win/tkWinWm.c: * doc/wm.n: Applied patch #102833 (TIP #8).
* Minor improvement to documentation for entry widgets.dkf2000-12-121-2/+7
|
* Backed out previous change (except for test for bug.)dkf2000-11-281-7/+4
|
* Fixed bug #120819 by prohibiting images from starting with a period;dkf2000-11-231-4/+7
| | | | | | | | | I'm still not quite sure what exactly was going wrong in the bug, but I suspect the problem might have actually been due to the deletion of all images while in the midst of creating an image. The restriction is pretty light when it comes to existing code, since it previously caused a core dump due to an image typePtr field being set to random garbage, an indication of over-eager use of free()...
* Documentation for Tk_SetClassProcs.ericm2000-11-221-0/+91
|
* Added deprecation note from Bug #120944dkf2000-11-211-1/+10
|
* doc/event.n: added note that key events require window focus.hobbs2000-11-031-3/+4
|
* * tests/tk.test:hobbs2000-10-311-2/+2
| | | | | | | | * 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.
* * generic/tkCmds.c (Tk_WinfoObjCmd): Added check forericm2000-10-051-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | TK_ANONYMOUS_WINDOW flag in the [winfo children] subcommand; if set, the window will not be printed in the list of children. * doc/CrtWindow.3: Added entry for Tk_CreateAnonymousWindow. * generic/tkWindow.c (Tk_CreateAnonymousWindow): New API for creating anonymous windows. These windows are manipulable from C, but not from Tcl, because they have no pathname associated with them. They are used initially by widgets that do rubber-band resizing (panedwindow, multi-column listbox, etc.), and may be useful for other widgets as well (dropbox, combobox). (Tk_DestroyWindow): Added check for TK_ANONYMOUS_WINDOW flag when determining whether to generate a DestroyNotify event. * generic/tkStubInit.c: * generic/tkDecls.h: Regen'd from tk.decls. * generic/tk.decls: Added Tk_CreateAnonymousWindow declaration. * generic/tk.h: Added TK_ANONYMOUS_WINDOW flag for Tk_Window's.
* * doc/MaintGeom.3: Noted that Tk_MaintainGeometry handles directericm2000-10-051-2/+3
| | | | | | | | | | | | | | | | | descendants properly. * generic/tkGeometry.c (Tk_MaintainGeometry): Added a check for the case in which the slave window is a direct descendant of the master window. In this case, we need not set up the additional infrastructure normally provide by Tk_MaintainGeometry, because we can rely on the parent/child relationship to handle it for us implicitly. In this case, Tk_MaintainGeometry just calls directly to Tk_MoveResizeWindow. This allows geometry managers to simply always use Tk_MaintainGeometry to maintain geometry for slaves, and avoid doing the direct descendant check themselves. (Tk_UnmaintainGeometry): Added a matching check for the direct descendant case; in this case, Tk_UnmaintainGeometry simply returns immediately.
* * doc/SetOptions.3: Added note that restoreProc and freeProc mayericm2000-10-011-2/+4
| | | | | | | | be NULL. * generic/tkConfig.c (Tk_RestoreSavedOptions): For custom options, added test that the restoreProc is not NULL, to allow for custom options that don't care about supporting Tk_RestoreSavedOptions.
* * generic/tkTest.c: Fixed tests to use updated API.ericm2000-09-291-16/+23
| | | | | | | | | | | * doc/SetOptions.3: * generic/tk.h: * generic/tkConfig.c: Changed interface for Tk_CustomOptionSetProc and Tk_CustomOptionGetProc; these now take a pointer to the start of the widget record, and an integer offset to the slot for the option value, instead of just a pointer to the slot. This allows more sophisticated options to do interesting things based on other data in the widget record.
* * generic/tk.h: Added declaration of Tk_ObjCustomOption structure,ericm2000-09-171-2/+139
| | | | | | | | | | | | | | | | | | | | | | | used for TK_OPTION_CUSTOM, and typedef's of the functions Tk_CustomOptionSetProc, Tk_CustomOptionGetProc, Tk_CustomOptionRestoreProc, and Tk_CustomOptionFreeProc, used for TK_OPTION_CUSTOM. * doc/SetOptions.3: Added documentation of TK_OPTION_CUSTOM, and section "CUSTOM OPTION TYPES" explaining how to create and use custom options. * tests/config.test: Added tests for custom option type. * generic/tkTest.c: Added test support for TK_OPTION_CUSTOM to TestobjconfigObjCmd. Added CustomOption* functions to implement a test custom option. * generic/tkConfig.c: Added new option type TK_OPTION_CUSTOM, which allows the definition of custom option types by creating parsing, printing, freeing, and restoring procedures for a custom option. This is needed by the text and canvas widgets if they are to be fully objectified.
* * doc/Tk_Init.3:hobbs2000-09-073-9/+8
| | | | | * doc/bell.n: * doc/loadTk.n: minor doc cleanup
* * doc/HWNDToWindow.3:ericm2000-09-072-4/+4
| | | | | | | | | | | | | | | | * doc/GetHWND.3: Changed synopsis to indicate the tkPlatDecls.h should be included, not tk.h. * generic/tkPlatDecls.h: Removed #include <windows.h> for Windows, a better solution for now is to update the docs and have extension authors #include <tkPlatDecls.h>. * generic/tk.h: Removed '#include "tkPlatDecls.h"', as the incorrect inclusion order between windows.h/tkPlatDecls.h causes build conflicts on Windows. * generic/tkPlatDecls.h: Added #include <windows.h> for Windows, so that HWND, etc., are defined properly.
* * doc/canvas.n: fixed doc bug (ellson). [Bug: 6218]hobbs2000-09-071-2/+2
|
* * doc/toplevel.n:ericm2000-08-2516-113/+123
| | | | | | | | | | | | | | | | | | | * doc/spinbox.n: * doc/scrollbar.n: * doc/scale.n: * doc/menubutton.n: * doc/menu.n: * doc/listbox.n: * doc/entry.n: * doc/frame.n: * doc/message.n: * doc/checkbutton.n: * doc/radiobutton.n: * doc/button.n: * doc/label.n: * doc/canvas.n: * doc/text.n: Fixed Standard Options section to make best use of new tab settings in man.macros.
* * doc/SetOptions.3: added missing ')'.hobbs2000-08-151-2/+2
|
* * doc/SetOptions.3: Updated documentation to reflect support forericm2000-08-102-103/+119
| | | | | | | | | | | | | | | | | | TK_OPTION_NULL_OK for TK_OPTION_DOUBLE and TK_OPTION_PIXELS. * generic/tkConfig.c: Added for TK_OPTION_NULL_OK support for TK_OPTION_DOUBLE and TK_OPTION_PIXELS. * doc/place.n: Updated, reformatted manual entry. * tests/place.test: Added many tests. * generic/tkPlace.c (Tk_PlaceObjCmd): Updated to use Tk widget-option management facilities to manage place options (-x, -y, etc.), which simplifies the placer code. Added support for [place configure pathName] and [place configure pathName -option], similar to the behavior of the configure subcommand supported by widgets.
* corrected use of .SS macrohobbs2000-08-071-9/+14
|
* * doc/label.n: Added -disabledforeground to list of options [Bug: 6053].ericm2000-07-281-7/+7
| | | | | * generic/tkListbox.c: Changed resource class for disabledforeground to "DisabledForeground".
* * mac/tkMacDefault.h:ericm2000-07-281-6/+14
| | | | | | | | | | | | | | | | | * unix/tkUnixDefault.h: Added default values for listbox disabledforeground and state. * win/tkWinDefault.h: Changed default listbox background color to white and listbox selection borderwidth to 0, in keeping with the "Microsoft Windows User Experience"; added default values for listbox disabledforeground and listbox state. * doc/listbox.n: Added documentation for -state option. * generic/tkListbox.c: Added support for -state to listbox. [RFE: 6052]. * tests/listbox.test: Tests for listbox disabled state.
* CanvPsY.3, ConfigWidg.3, CrtImgType.3, CrtItemType.3,jenglish2000-07-2512-35/+38
| | | | | | FontId.3, GetFont.3, canvas.n, font.n, options.n, text.n: Documentation fix: Replaced references to XFontStruct * and Tk_FontStruct with Tk_Font.
* * doc/keysyms.n:ericm2000-06-302-4/+19
| | | | | | * doc/colors.n: Added extra .CE/.CS pairs to break up the large text block, so that the generated Windows help file could accomodate the manual entry. [Bug: 5862]
* * doc/getOpenFile.n: Updated with information about -multiple.ericm2000-06-231-3/+3
| | | | | | | | | | | * library/choosedir.tcl: Tweaked to handle modified tkIconList API's. * library/tkfbox.tcl: Preliminary implementation of multiple selection; based on patch from [RFE: 604]. Some of the tkIconList functions changed to support this and to make the dialog faster. * library/xmfbox.tcl: Added support for multiple selection, from patch in [RFE: 4999].
* Fixed formatting.ericm2000-06-051-6/+8
|
* * doc/CrtCmHdlr.3: new doc for ClientMessage handler procshobbs2000-06-031-0/+69
|
* * doc/spinbox.n: (new file) docs for spinbox widgethobbs2000-05-291-0/+582
| | | | | | | | | | | * 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
* * doc/radiobutton.n: Added documentation for -overrelief option.ericm2000-05-253-20/+53
| | | | | | | | | | | | | | | | | * doc/checkbutton.n: Added documentation for -overrelief option. * doc/label.n: Added documentation for -state option. * generic/tkButton.c: Added -overrelief option for checkbuttons, and radiobuttons. * library/button.tcl (tkButtonDown, macintosh version): Added protection against querying the -repeatdelay option from a widget that doesn't support it (ie, checkbuttons, radiobuttons, etc). Other platforms use a different binding script for checkbuttons and radiobuttons, so they don't have this issue. (tkCheckRadioEnter, windows version): Added code to handle -overrelief for check/radiobuttons on windows.
* * doc/bind.n:hobbs2000-05-235-42/+43
| | | | | | | * doc/canvas.n: * doc/entry.n: * doc/listbox.n: * doc/photo.n: doc fix-ups [Bug: 5396]
* * doc/bell.n:hobbs2000-05-171-6/+7
| | | | | | * tests/bell.test: * generic/tkCmds.c (Tk_BellObjCmd): added -nice option to optionally avoid resetting screen saver [Bug: 4279]
* * mac/tkMacDefault.h (DEF_ENTRY_READONLY_BG_COLOR,ericm2000-05-171-9/+15
| | | | | | | | | | | | | | | | | DEF_ENTRY_READONLY_BG_COLOR): * win/tkWinDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): * unix/tkUnixDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): Added default values for entry -readonlybackground option. * generic/tkEntry.c: Added -readonlybackground option, cleaned up excessive use of graphics contexts. * tests/entry.test: Added configuration test for -readonlybackground option. * doc/entry.n: Added documentation for -readonlybackground option.
* * doc/SetOptions.3: Added information about TK_OPTION_NULL_OK withericm2000-05-172-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TK_OPTION_RELIEF. * win/tkWinButton.c: Removed bits about TK_RELIEF_LINK. * tests/button.test: Added tests for -overrelief; removed tests for -relief link. * mac/tkMacButton.c: Removed bits about TK_RELIEF_LINK. * generic/tkOldConfig.c: Removed bits about TK_RELIEF_LINK. * generic/tkConfig.c: Removed bits about TK_RELIEF_LINK; added support for TK_OPTION_NULL_OK for TK_OPTION_RELIEF. * library/button.tcl: Added binding support for -overrelief. * generic/tk3d.c (Tk_GetRelief): Added branch for TK_RELIEF_NULL. * generic/tkButton.c: Added -overrelief option; removed Enter/Leave EventProc masks and handlers. * generic/tk.h: Added TK_RELIEF_NULL definition, removed TK_RELIEF_LINK. * mac/tkMacDefault.h (DEF_BUTTON_OVER_RELIEF): * win/tkWinDefault.h (DEF_BUTTON_OVER_RELIEF): * unix/tkUnixDefault.h (DEF_BUTTON_OVER_RELIEF): Added default value for the -overrelief option.
* * doc/image.n: Added documentation for [image inuse] command.ericm2000-05-151-1/+5
| | | | | | | | * tests/image.test: Added tests for [image inuse] command. * generic/tkImage.c (Tk_ImageObjCmd): Added [image inuse] command, which provides a means for programmers to determine if a given image is in use by any widgets. [RFE: 3327].
* * doc/clipboard.n: Added documentation for "clipboard get".ericm2000-05-141-1/+8
| | | | | | | | * generic/tkClipboard.c (Tk_ClipboardCmd): Added "clipboard get" subcommand [RFE: 4628]. * tests/clipboard.test: Updated to use "clipboard get" instead of "selection get -s CLIPBOARD".
* * library/entry.tcl: Adjusted Button-1 binding to set focus to theericm2000-05-141-11/+28
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* * unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry):ericm2000-05-131-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mac/tkMacButton.c (TkpDisplayButton, TkpComputeButtonGeometry): * win/tkWinButton.c (TkpDisplayButton, TkpComputeButtonGeometry): Added code for drawing compound buttons. * tests/button.test: Added configuration tests for -repeatdelay, -repeatinterval, -compound. * library/button.tcl: Added support for -repeatedelay, -repeatinterval options. * generic/tkOldConfig.c: Changed handling of link relief so that proper error messages are used. * generic/tkButton.h: Added -compound, -repeatdelay, -repeatinterval options. * generic/tkButton.c: Added event watchers for enter/leave events, for link relief support. * generic/tk3d.c: Changed handling of link relief so that proper error messages are used. * generic/tk.h: Changed values of TK_OPTION_LINK_OK/TK_CONFIG_LINK_OK for link relief support.
* * doc/button.n: Added documentation for link relief.ericm2000-05-101-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/button.test: Added tests for link relief for buttons. * generic/tk.h (TK_CONFIG_LINK_OK): Added definition of TK_RELIEF_LINK, TK_OPTION_LINK_OK and TK_CONFIG_LINK_OK. [RFE: 4348] * generic/tk3d.c: Added support for link relief. [RFE: 4348] * mac/tkMacButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): Added support for link relief. [RFE: 4348] * generic/tkOldConfig.c (Tk_ConfigureWidget): * generic/tkConfig.c (DoObjConfig): Added understanding of link relief, which is allowed only for widgets that have TK_OPTION_LINK_OK or TK_CONFIG_LINK_OK set for the "-relief" option. [RFE: 4348] * generic/tkButton.c: Added TK_OPTION_LINK_OK to "-relief" option for buttons. [RFE: 4348] * win/tkWinWm.c (EX_TRANSIENT_STYLE): Removed WS_EX_TOOLWINDOW style bit, so that transient windows have full-size titlebars (like the tk_getOpenFile dialog). * win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height requested for separator bars to be (linespace - (2*descent)) instead of just (linespace); this makes the separator occupy a more correct amount of vertical space. [Bug: 5303].
* * doc/Tk_Init.3: Added Tk_SafeInit information [Bug: 1884].ericm2000-04-282-7/+49
| | | | * doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].
* * doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].ericm2000-04-276-7/+1855
| | | | | | | | | | | | | | * doc/colors.n: Man page enumerating valid color names [RFE: 1645]. * doc/cursors.n: Man page enumerating valid cursor values [RFE: 1645]. * library/msgbox.tcl: Corrected Unix tk_messageBox implementation to make the first button the default when no default is specified [Bug: 2218]. * doc/messageBox.n: Updated documentation with regards to selection of default button when none is specified (now it will use the first button as the default in that case) [Bug: 2218].
* macro fixhobbs2000-04-251-2/+2
|