| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
| |
FossilOrigin-Name: 9e435f7ca4294560e613f18c4a6fb2f6a1404377
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: aab4f8f0ade0fbed2d69b0a7c5316cf05eba894c
|
|
|
| |
FossilOrigin-Name: 0808e4897ac276a1c7b2f3c195c50624a84def2f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: 375354145259dc80ebd6b9e71d049edc3000944e
|
|
|
| |
FossilOrigin-Name: 7b7c6a5fa81642cb17decf2e36cd09575a3a52b9
|
|
|
|
|
|
|
| |
* generic/tkListbox.c: Changed resource class for disabledforeground
to "DisabledForeground".
FossilOrigin-Name: d57bc1ec6968e5b45206a4934294428217008261
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: a19d0bbf22658890f96264d9fea43a2494dfb897
|
|
|
|
|
|
|
|
| |
FontId.3, GetFont.3, canvas.n, font.n, options.n, text.n:
Documentation fix: Replaced references to XFontStruct *
and Tk_FontStruct with Tk_Font.
FossilOrigin-Name: b10e56c17f4c9710567b36d1ba7616710168243c
|
|
|
|
|
|
|
|
| |
* 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]
FossilOrigin-Name: 1cca0349011bc8a9169da39c00eb52e44e47047e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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].
FossilOrigin-Name: 6d6e691ec619d1ee337f77b3c504d9d8f89a1db6
|
|
|
| |
FossilOrigin-Name: 36b079bba30ced31b939cca590856be90da908f8
|
|
|
| |
FossilOrigin-Name: a5024a76ec2989d4ce9e3914831f37aa29a2124d
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: bb4f9a3fce8768d2d0368928ffb3757799d390cc
|
|
|
|
|
|
|
|
|
| |
* doc/canvas.n:
* doc/entry.n:
* doc/listbox.n:
* doc/photo.n: doc fix-ups [Bug: 5396]
FossilOrigin-Name: e23fd264a70b0653e7196a4af827f9b259f7de7b
|
|
|
|
|
|
|
|
| |
* tests/bell.test:
* generic/tkCmds.c (Tk_BellObjCmd): added -nice option to
optionally avoid resetting screen saver [Bug: 4279]
FossilOrigin-Name: cca6c123ec0e97991467c71bdc843f002529ce04
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: d9e1274dcc5725b4ea72f2b214ee4e6763d688b9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: 107c0be19713ca6aedb57383ae53c62d430c9280
|
|
|
|
|
|
|
|
|
|
| |
* 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].
FossilOrigin-Name: 53c2f9bf908f0ca358175e6b6220862cb1376f2a
|
|
|
|
|
|
|
|
|
|
| |
* 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".
FossilOrigin-Name: e5e8f13ef0db99cadf54a47aed90fa44daed5435
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: 1e58446d8a212f90f788f6cd0965f9cbb2d1e606
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: 965b15d89edbe399990f79d5b0592c72ffd00a42
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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].
FossilOrigin-Name: 4194a8ac77bf8dfeaa5e9522117ac35c829e9897
|
|
|
|
|
|
| |
* doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].
FossilOrigin-Name: 9e0e0636bbf7fa03db8e502fc0ae6e8916359f29
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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].
FossilOrigin-Name: d4fa111a2e97b8543481844415151da90918b6e9
|
|
|
| |
FossilOrigin-Name: da948942fcd9d0d861022aa6acd24afb6f9706d9
|
|
|
|
|
|
|
|
| |
* unix/mkLinks:
* doc/GetScroll.3: Added information about Tk_GetScrollInfoObj
[Bug: 1866].
FossilOrigin-Name: b3b84342024a05edc5adf925223dbe8b4cb5a7b1
|
|
|
|
|
|
| |
* doc/Grab.3: Man page for Tk_Grab and Tk_Ungrab [Bug: 1868, 1889]
FossilOrigin-Name: 3b6c90d18badf1765410f3bb9450a4b9bdd0314e
|
|
|
|
|
|
| |
* doc/MainWin.3: Added entry for Tk_GetNumMainWindows [Bug: 1865].
FossilOrigin-Name: a94ff369fe2bf7cf3910cf4e51f5ecd7a4baf642
|
|
|
|
|
|
| |
* doc/GetHINSTANCE.3: Man page for Tk_GetHINSTANCE [Bug: 1862].
FossilOrigin-Name: c5e5b562c221b3390a7be5c2e2d6fbce6b5b7a36
|
|
|
|
|
|
| |
* doc/GetHWND.3: Man page for Tk_GetHWND [Bug: 1863].
FossilOrigin-Name: f058bd2bda349cad635a46fb149c3434b2b61018
|
|
|
|
|
|
| |
* doc/HWNDToWindow.3: Man page for Tk_HWNDToWindow [Bug: 1869].
FossilOrigin-Name: 53aea9a8351661c322a0cb4e96417afe3833bac2
|
|
|
|
|
|
| |
* doc/AddOption.3: Man page for Tk_AddOption [Bug: 1854]
FossilOrigin-Name: ea338fd986c2889afbcab80d2ce14d1c255e02dc
|
|
|
|
|
| |
(Tk_MacGetOpenFile): Add empty bodies for the
"-initialfile" and "-defaultextension" options.
* mac/tkMacDialog.c (NavServicesGetFile): Only cons the result up into
a list if multiple is true.
* mac/tkMacMenus.c (SourceDialog): Use the "tk_getOpenFile" instead of hand-coding
the dialog with StandardGetFile. This way we get the Navigation dialogs for
free.
* doc/getOpenFile.n: Document the -multiple and -message flags which are only
implemented on the Mac. Also note that the -title works on the Mac with
Nav Services installed.
FossilOrigin-Name: 94894720f3e5ba4140104523b125afa23b691842
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/mkLinks: Removed docs for Tk_IsViewable.
* win/tkWinDialog.c: Removed calls to Tk_IsViewable.
* generic/tkUtil.c:
* generic/tkStubInit.c:
* generic/tkDecls.h:
* generic/tkCmds.c:
* generic/tk.decls: Removed Tk_IsViewable function (it was not
actually needed).
FossilOrigin-Name: e6573914e2482a3c4a9f0cdfc307d2412ee6c8ee
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
before creating MessageBox and ChooseColor dialogs; this prevents
the application from locking when the parent is withdrawn and the
message box is created. In these cases, the window will be
created without a parent.
* unix/mkLinks: Added WinViewable.3.
* tests/msgbox.test: Added tests for patch from [Bug: 4997].
* library/msgbox.tcl:
* library/dialog.tcl: Applied patch from [Bug: 4997]; detaches
dialog window from parent if parent is not viewable.
* library/bgerror.tcl: Removed workaround from [Bug: 4370]; this
is superceeded by patches to dialog.tcl.
* generic/tkCmds.c: Changed WinfoObjCmd to use Tk_IsViewable
function to determine visibility of windows instead of inlining
the code.
* generic/tkStubInit.c:
* generic/tkDecls.h:
* generic/tk.decls: Added Tk_IsViewable declaration.
FossilOrigin-Name: a39bc3c5994e6804227b828aa86f058d123d81d4
|
|
|
|
|
|
|
|
|
|
|
| |
checkbuttons/radiobuttons in menubars on different platforms --
some systems do not draw indicators for check/radiobuttons in
menubars.
* library/menu.tcl: Corrected behavior of
checkbuttons/commands/radiobuttons in menubars [Bug: 630].
FossilOrigin-Name: 7ad7282b7c94889893457dfe9bee751c6f1e1d90
|
|
|
| |
FossilOrigin-Name: 8effb6496ddb3f4da48ae95653f6ee65ce008d71
|
|
|
|
|
|
|
|
|
| |
changes made in 8.3.0 (but old style would still work as well).
[Bug: 4252]
* doc/entry.n: improved docs discussing caveats and gotchas when
mixing textvar with widget validation
FossilOrigin-Name: 30d40ed949384d1d284c9c8ef5113614add5f57b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.decls:
* generic/tk.h: moved new public functions created in dash patch
to the stubs interface [Bug: 4062]
* generic/tk.h:
* doc/CrtImgType.3:
* doc/CrtPhImgFmt.3:
* generic/tk.h:
* generic/tkImgGIF.c:
* generic/tkImgPhoto.c:
* generic/tkStubImg.c (new file):
* generic/tkTest.c:
* unix/Makefile.in:
* win/Makefile.in:
* win/makefile.vc: improved support for moving from the old style
image C API to the new obj'ified one with new Tk_InitImageArgs
command and stub'ing of image code. See docs for how to make the
transition. [Bug: 4060]
FossilOrigin-Name: dbe34fe5efcb725442acc347dcb728ad8e30493c
|
|
|
|
|
|
| |
-count when images/windows are embedded
FossilOrigin-Name: 029b6655942cc865ed4354a8f162c0541d99b4ac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
processing of transparent images.
* generic/tkImgGIF.c: Improved GIF decoder for ~60% speed
increase. Added some comments on how to further improve the
implementation, time permitting.
* doc/photo.n: Added a description of what the -data string can
contain (base64 or binary data).
FossilOrigin-Name: 45f50a399cc39791c94eff4ee1f7e8e0c1448766
|
|
|
|
|
|
|
| |
* doc/text.n: clarified mark gravity definition and usage of
``word'' in binding definitions. [Bug: 2004 2277 1388]
FossilOrigin-Name: ee72d68f70bb3461677a2a14e6a45435c2801db7
|
|
|
|
|
|
|
|
| |
* generic/tkBind.c: prevented core with event -warp on Windows
when window wasn't mapped [Bug: 4004] and added docs stating
the requirement for mapped windows.
FossilOrigin-Name: fb9bde2cbdcfd0fa07d3545b3346256c9cb54f5f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/winWm.test:
* tests/unixWm.test:
* mac/tkMacWm.c:
* unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377]
* win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077],
fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338]
and fixed mapping of transient window [Bug: 572]
Also, for all wm's, extended 'wm state' command to allow setting
of the state, and added official support of 'zoomed' state on Win.
FossilOrigin-Name: f08186308f27d63cd8c3bf464841cafe6a7a3aa6
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkText.c:
* generic/tkText.h:
* generic/tkTextBTree.c:
* generic/tkTextDisp.c:
* generic/tkTextTag.c: removed the -state option for text tags,
and reoriented it around -elide, as -state disabled was never
implemented, and -state hidden is better as -elide.
FossilOrigin-Name: 2d0345f6c1062523a702446018fef2943e47e26b
|
|
|
| |
FossilOrigin-Name: 92b759d21e093a84dc9b79315d29ef0b04e25c82
|
|
|
|
|
|
| |
* doc/listbox.n: fixed formatting problem
FossilOrigin-Name: f75ee8c4931d56cd4919a3c6d8aa6a11219fb563
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tkWinCursor.c: added support for Windows cursors to
TkGetCursorByName (.ani, .cur) using -cursor @<filename>
(Ascher) [Bug: 1350]
* doc/listbox.n: added doc for <<ListboxSelect>> [Bug: 3500]
* doc/getOpenFile.n: removed note that -initialfile didn't work
for tk_getOpenFile
FossilOrigin-Name: bcce99ac84c974fa9f5c12686acb24dd9ad837fd
|