Bwidget Source Code
Check-in [31afcaf544]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Rudimentary French localisation, help not on on by default (compatibility), ChangeLog
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | patch-75101
Files: files | file ages | folders
SHA3-256: 31afcaf544477cac4c6125f7a91015d6c5e0e72ce6e65bac140a5e5302b2b5f3
User & Date: oehhar 2018-01-09 17:45:36.277
Context
2018-01-09
17:54
Merge fontchooser extensions: hex entry/display, help, title frames, user choice callback. Ticket [75101bf5ce] check-in: 5f374d671e user: oehhar tags: bwidget
17:45
Rudimentary French localisation, help not on on by default (compatibility), ChangeLog closed check-in: 31afcaf544 user: oehhar tags: patch-75101
2017-10-28
00:18
REVISIONS TO color.tcl

1. Remove option -variable 2. Remove variable _varName which held the value of option -variable 3. Use variable _unsavedSelection in place of $_varName when a value must be stored 4. Add option -command 5. Add variable _command which holds the value of option -command 6. Set the default value for option -help to 1 7. Add command _userCommand to evaluate $_command at stack level #0. _userCommand is called whenever the selected color changes, i.e. instead of setting $_varName. 8. To avoid issues with trace, fully qualify ::SelectColor::_unsavedSelection when its value is set or it is used in a trace command. 9. Use 8.4-compatible syntax for string indices in "string range" commands. 10. Amend SelectColor::_SetWithoutTrace so it sets the colors in the Color Selectors when the value in the entry widget changes.

PURPOSE Tracing the variable set by the "-variable" option is too awkward in practice, and so the "-variable" option has been replaced with "-command" which allows the caller to specify a command to be executed whenever the selected color changes.

The use of the -command option is now included in the demo.

The properties of DynamicHelp balloon help have been changed in the demo, to make the text easier to read.

The manual page has been updated to reflect the changes in color.tcl. check-in: 9f462bd2fa user: kjnash tags: patch-75101

Changes
Unified Diff Side-by-Side Diff Patch
Changes to ChangeLog.
Changes to color.tcl.
Changes to lang/da.rc.
Changes to lang/es.rc.
Changes to lang/fr.rc.
Changes to lang/hu.rc.
Changes to lang/pl.rc.