| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
calls: The former are just thin wrappers around the latter.
|
| |
|
|\
| |
| | |
Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
|
| |
| |
| |
| | |
metrics handling from trunk
|
| |\
| | |
| | |
| | | |
make various other tables const
(all backported from Tk 8.6)
|
| | |
| | |
| | |
| | | |
make various other tables CONST
(All backported from Tk 8.6)
|
| | | |
|
| | |
| | |
| | |
| | | |
around other functions, to call the wrapped function directly.
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
| | |
| | |
| | |
| | | |
Fix 2 minor gcc warnings in tkWinTest.c
|
| | |
| | |
| | |
| | | |
the button was deleted. [Bug #824479]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tkButton.c (TkButtonWorldChanged): of compound *buttons
* mac/tkMacButton.c (TkpDisplayButton): to correctly display
* macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg,
* unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator,
* win/tkWinButton.c (TkpDisplayButton): etc. *buttons will
now only stipple the image, unless no disabledfg is given, in which
case it will stipple the whole button.
|
| | |
| | |
| | |
| | |
| | | |
Fix various gcc warnings, all backported from Tk 8.6
VC6++ does not have SPI_SETKEYBOARDCUES
|
| | |
| | |
| | |
| | | |
equals -tristatevalue
|
| | |
| | |
| | |
| | |
| | |
| | | |
in const memory. With some changes to win32
and macosx, preventing direct writes to
read-only memory.
|
| | |
| | |
| | |
| | |
| | |
| | | |
make sure that TkpCmapStressed is exported
clean up unused Tk_CreatePhotoOption
Make more internal arrays "const"
|
| | |
| | |
| | |
| | |
| | | |
make tkpButtonProcs CONST
fix gcc warnings: missing initializer
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
If a checkbutton offvalue is the same as the tristate value we
should use the off state in preference. (andrey gusev)
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
const tables, so those will be
put by the C-compiler in the
TEXT segment in stead of the
DATA segment. This makes those
table sharable in shared libraries.
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| |
| |
| |
| | |
fix bug #1627732
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* doc/radiobutton.n: Tristate Checkbutton and Radiobuttons
* generic/tkButton.c:
* generic/tkButton.h:
* library/demos/check.tcl:
* library/demos/radio.tcl:
* macosx/tkMacOSXButton.c:
* macosx/tkMacOSXDefault.h:
* tests/button.test:
* unix/tkUnixButton.c:
* unix/tkUnixDefault.h:
* win/tkWinButton.c:
* win/tkWinDefault.h:
|
| |
| |
| |
| | |
the button was deleted. [Bug #824479]
|
|/
|
|
|
|
|
|
|
|
| |
* generic/tkButton.c (TkButtonWorldChanged): of compound *buttons
* mac/tkMacButton.c (TkpDisplayButton): to correctly display
* macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg,
* unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator,
* win/tkWinButton.c (TkpDisplayButton): etc. *buttons will
now only stipple the image, unless no disabledfg is given, in which
case it will stipple the whole button.
|
|
|
|
|
| |
to the disabledGc of buttons when compound != none. The drawing
appears to be incorrect across platforms still. [Bug #477740]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updating Tk to use Tcl 8.4's fully CONST-ified
interface, and fully CONSTifying Tk at the
same time.
This patch includes purging Tk of its last
direct access to interp->result. [Bug 589853]
The substantial changes include copying
event sequence strings into Tcl_DStrings
in tkBind.c, and copying [text] indices into
Tcl_DStrings because parsing them involved
overwriting them. If this causes performance
trouble, that can be resolved by further
converting them to Tcl_Obj's.
The #defines USE_NON_CONST and USE_COMPAT_CONST
have the same effect for Tk as they do for Tcl.
(They actually change tcl.h)
|
|
|
|
|
| |
checkbutton and radiobutton to allow those widgets to have a
MS-Office look and feel.
|
|
|
|
| |
if the -variable was created by the radiobutton. [Bug #548765]
|
|
|
|
| |
Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644].
|
|
|
|
|
| |
argument of Tcl_GetIndexFromObj(Struct) from (char **) to
(CONST char **). [TIP 27] [Patch 504705]
|
|
|
|
| |
called while the *button/label is being deleted. [Bug #490051]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
evaluation of widgets.
* generic/tkButton.c (ButtonCreate):
* generic/tkFrame.c (CreateFrame):
* generic/tkMenubutton.c (Tk_MenubuttonObjCmd):
* generic/tkPlace.c (Tk_PlaceObjCmd):
* generic/tkScale.c (Tk_ScaleObjCmd):
* generic/tkMessage.c (Tk_MessageObjCmd):
* generic/tkEntry.c (Tk_EntryObjCmd, Tk_SpinboxObjCmd):
* generic/tkSquare.c (SquareObjCmd): redid the handling of
optionTables in widgets to allow them to be imported into other
namespaces. [Bug #456632]
|
|
|
|
|
|
|
|
|
| |
TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs,
adding a size field to Tk_ClassProcs to allow for future
expansion, and renaming the geometryProc to worldChangedProc,
which is more in keeping with the actual use of the callback.
See ChangeLog for details.
|
|
|
|
|
|
| |
option, so that when there is a textvariable and an image, and
-compound is not none, the button will display both the
textvariable and the image.
|
|
|
|
| |
it was not correct.
|
|
|
|
| |
incr/decr of new value object, in case they are equal.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|