Tk Library Source Code

Timeline
Login

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

94 check-ins using file modules/tablelist/scripts/utils/scaleutil.tcl or modules/scrollutil/scripts/utils/scaleutil.tcl version ea099c819f

2023-03-17
10:04
ChangeLog for tablelist: Updated for version 6.21. check-in: ac3bae76a9 user: csaba tags: trunk
2023-01-06
16:52
fix: mishandling of locking when center is not defined yet check-in: 8ec6486cee user: aku tags: trunk
16:51
fix: comment typo check-in: ff3eda55dd user: aku tags: trunk
16:50
fix: mishandling of unnamed things check-in: 6f121fc7e7 user: aku tags: trunk
2023-01-05
21:36
chore: remove scratch notes check-in: 9cfe1417de user: aku tags: trunk
21:25
demo point clustering, cluster points in map display chore: updated demo apps affected by API changes in the point mem store constructor feat: reworked default cluster style of map point display, enabled showing the cluster size, when present feat: reworked point mem store to perform point clustering (on construction) note: store/display interaction - The display does not know about clusters versus points, except in styling. The store does __zoom-level dependent__ visibility checking, and knows for each level which clusters and locations are relevant. This removes the need for any kind of complex compression logic in the display. From its point of view it has a simple set of points to show, like all the other displays just show sets of tracks, etc. For the other stores it just happens that the set of items to show is not dependent on the zoom level, and compression/simpification is per item, instead of across them note: No clustering ahead of time. The clustering is a simple greedy algorithm. Likely O(n**2). No boost through data structures for spatial indexing (rtree, ...). No boost through making use of the zoom hierarchy (i.e. no clustering the clusters from the previous deeper zoom level, always from the raw points). Overall good enough for demoing the principles. For higher perf write a new store and supporting apps making use of ahead-of-time construction, hierarchical optimization, spatial indices, etc. check-in: ee753081e0 user: aku tags: trunk
2023-01-03
21:36
map demo layers: checkbuttons for selective display; added point display check-in: 7360564fe5 user: aku tags: trunk
20:13
fix typo of config option in rectangle editor check-in: bcac690c98 user: aku tags: trunk
19:15
fix issue introduced by commit [4883607147]. the fix for late processing of construction options moved them to early, and got then undone by the default settings for the data and create callbacks :( moved things again check-in: 6d87728bc7 user: aku tags: trunk
2022-12-15
20:21
Added missing README explaining the basic behaviours of the map demo applications check-in: a4a3dd03b7 user: aku tags: trunk
19:06
Integrated branch `canvas-edit-and-map` providing updates to the `canvas::edit::*` packages, and a new set of `map::*` packages demonstrating display of tiled maps with additional elements (areas, tracks (paths), boxes, and points) Regenerated docs (crosshair, tklib updates) check-in: 76668aeace user: aku tags: trunk
19:01
crosshair - Ticket [def37f133e] - Fix missing save of crosshair state when hiding. Version bumped to 1.2.1 With thanks to [email protected] for the report. Closed-Leaf check-in: f749f0c077 user: aku tags: canvas-edit-and-map
2022-12-14
21:41
more map work feat: basic point/feature display - no clustering chore: whitespace trimming check-in: 5b58f0634e user: aku tags: canvas-edit-and-map
21:40
fix: late processing of construction options check-in: 4883607147 user: aku tags: canvas-edit-and-map
2022-12-13
19:55
more map work fix: box reader result tweak: whitespace feat: draft multi-layer display check-in: e9b320561d user: aku tags: canvas-edit-and-map
2022-12-09
21:44
feat: continued work on map ... area, track support (display, entry, read, write, demo apps) ... "proper" geo file formats, in a sense, very raw reader/writer functions (validating readers) more example data (areas, tracks) to feed the demo apps beware: requires commit 6a73e00660 (branch: map-slippy-api-redone) of tcllib, or younger check-in: 9d2c991cf6 user: aku tags: canvas-edit-and-map
2022-12-08
22:10
feat: new module `map`, map related wuidgets and types, plus demo apps currently foundation + storage/entry/display of geo boxes Dependencies: `map::slippy` and `canvas::*` packages TODO: Support for select action on active element in map check-in: 09c7bc606e user: aku tags: canvas-edit-and-map
2022-12-06
20:12
# canvas::edit |Package | |New version |Notes| |--- |--- |---: |---| |points |EF,I,B |0.3 |Reworked internals, fixed bugs, extended set of options| |polyline |EF,B |0.2 |Ditto| |rectangle |n/a |0.1 |__NEW__| |circle |n/a |0.1 |__NEW__| Generally updated/wrote documentation, and regenerated the embedded forms ## canvas::edit::points Details - Enable post-creation (re)configuration of -create-cmd. This enables the insertion and chaining of custom processing by behaviours build on top of this one. - Default data command to give vertex moves a proper default behaviour (unconditionally accept). - New `-active-cmd` callback reporting when the mouse is entering/leaving a point (marker), and which. Enables the driving the dependent displays (like selecting in a table showing the points). - New options `-add-remove-point`, and `-drag-point` to customize the events used to trigger add/remove/drag of points. - Fixed missing list initialization in `clear`. - Fixed missing translation of point coordinates from viewport relative to canvas absolute. - Moved highlight handling into the canvas itself, by means of -activeXXX options. Dropped dependency on the `canvas::highlight` package. ## canvas::edit::polyline Details - Exposed configuration options of the underlying point editor as line editor options. - Added highlighting for the line segments of the polyline. Done by means of -activeXXX options in the canvas itself. - New option `-closed` to enable mode for editing a closed polyline, i.e. a polygon. - New option `-convex` to enable a polygon editing sub-mode forcing the polygon to be convex. - Fixed quadratic behaviour when clearing a line of many segments, by temporarily disabling complex processing in the point removal callback from the underlying point editor. I.e. not doing segment removal. - Completely reworked the user interaction for point insertion. - For closed lines, i.e. loops, insert points when clicking on an existing line segment. Note: Before we have a triangle (3 points) points are simply attached at the end of the line. - For open lines, insert a point when clicking on an existing line segment, xor extend the line at the nearest endpoint when the new point is not on a line segment. - Fixed mishandling of the `-create-cmd` where users would be able to break the polyline behaviours by customizing marker creation. ## canvas::edit::rectangle Details - Behavior for editing a rectangle in a canvas. - Generally the same options and behaviours like `edit::polyline`, modified to suit the different geometry. ## canvas::edit::circle Details - Behavior for editing a circle in a canvas. - Generally the same options and behaviours like `edit::polyline`, modified to suit the different geometry. check-in: b9573ab3d4 user: aku tags: canvas-edit-and-map
2022-10-24
15:09
* Released Scrollutil 1.17. check-in: e043913634 user: csaba tags: trunk
15:07
* Released Tablelist 6.20. check-in: be3044490c user: csaba tags: trunk
2022-10-22
15:38
* ChangeLog for tablelist: Updated. check-in: 10ad3e8f36 user: csaba tags: trunk
15:37
* CHANGES.txt: Renamed themepatch::(un)patchTheme to * scripts/tablelistUtil.tcl: themepatch::(un)patch. check-in: 3232deb361 user: csaba tags: trunk
15:36
* ChangeLog for scrollutil: Updated. check-in: 5f503edb2c user: csaba tags: trunk
15:35
* CHANGES.txt: Renamed * scripts/utils/themepatch.tcl: themepatch::(un)patchTheme * doc/scrollutil.html: to themepatch::(un)patch. * ../../examples/scrollutil/styleUtil.tcl: check-in: b90d99865c user: csaba tags: trunk
2022-10-21
19:23
* ChangeLog for scrollutil: Updated. check-in: 8a0bc2c42d user: csaba tags: trunk
19:22
* doc/ScrollableFrmDemo2.png: Updated screenshot. check-in: 7d9b781eab user: csaba tags: trunk
19:14
* ChangeLog for tablelist: Updated. check-in: ddba278b7e user: csaba tags: trunk
19:13
* scripts/tclIndex: Newly generated. check-in: 6bcdaafd32 user: csaba tags: trunk
19:12
* scripts/tablelistWidget.tcl: Added the "dumptostring" and "loadfromstring" subcommands. check-in: b68fbc0f9f user: csaba tags: trunk
19:11
* scripts/tablelistUtil.tcl: Redisplaying a column is no longer suppressed if the column is hidden; restricted the workaround for a crash on Mac OS X/11+ to the affected Tk releases 8.6.11, 8.6.12, and 8.7a5; added support for the case that the "default" theme was modified by invoking the "themepatch::patchTheme" command of the themepatch package (bundled with Scrollutil). check-in: 14e96886fe user: csaba tags: trunk
19:11
* scripts/tablelistBind.tcl: The argument of the "tablelist::getTablelistColumn" command now may also be the path name of a Tk core or tile checkbutton embedded into a header label; improvements related to moving a column interactively, especially on Mac OS X/11+. check-in: 05177292bf user: csaba tags: trunk
19:10
* CHANGES.txt: Updated to reflect the changes. * doc/*.html: check-in: 6f9273078f user: csaba tags: trunk
19:09
* *.tcl: Bumped the version number to 6.20. * COPYRIGHT.txt: * README.txt: * ../../examples/tablelist/*.tcl: check-in: ef3375dd3e user: csaba tags: trunk
14:24
* ChangeLog for scrollutil: Updated. check-in: d039a246c6 user: csaba tags: trunk
14:23
* scripts/utils/themepatch.tcl: When patching a theme, protect the layouts of the other themes. check-in: e78d50f140 user: csaba tags: trunk
2022-10-20
10:17
* ChangeLog for scrollutil: Updated. check-in: fa0149226b user: csaba tags: trunk
10:17
* CHANGES.txt: Renamed the clampatch * scripts/utils/themepatch.tcl: package to themepatch and * scripts/utils/pkgIndex.tcl: extended it by support for * doc/scrollutil.html: the "default" theme. * ../../examples/scrollutil/styleUtil.tcl: check-in: cabfe819d9 user: csaba tags: trunk
10:14
* scrollutilCommon.tcl: Don't load the clampatch package. check-in: 9bd058d01c user: csaba tags: trunk
2022-10-17
12:40
* ChangeLog for scrollutil: Updated. check-in: c5edd8bbe6 user: csaba tags: trunk
12:39
* scripts/utils/clampatch.tcl: Minor improvements. check-in: cb2328b32e user: csaba tags: trunk
2022-10-16
17:40
* ChangeLog for scrollutil: Updated. check-in: 7067312966 user: csaba tags: trunk
17:38
* scripts/utils/clampatch.tcl: Improved the look of the selected * doc/TablelistConfig.png: ttk::checkbutton widgets of the patched "clam" theme. check-in: 2d7cb01c42 user: csaba tags: trunk
2022-10-14
17:27
* ChangeLog for scrollutil: Updated. check-in: daea9928b3 user: csaba tags: trunk
17:25
* ../../examples/scrollutil/*.tcl: The demo scripts "ScrolledNotebookDemo.tcl", "PlainNotebookDemo.tcl", and "PagesManDemo.tcl" now demonstrate the usage of the new "tabattrib", "hastabattrib", and "unsettabattrib" scrollednotebook and plainnotebook subcommands; minor changes in the files "*FrmContent.tcl". check-in: b2655bc0ef user: csaba tags: trunk
17:24
* doc/TablelistConfig.png: Updated screenshot. check-in: 75005a334e user: csaba tags: trunk
17:22
* scripts/utils/clampatch.tcl: Made the look and behavior of the * scripts/utils/pkgIndex.tcl: ttk::checkbutton and ttk::radiobutton widgets of the patched "clam" theme more fancy. check-in: 3019c5f047 user: csaba tags: trunk
17:21
* scripts/tclIndex: Newly generated. check-in: 34e05629cf user: csaba tags: trunk
17:20
* scripts/*.tcl: Added the "notebookpath" subcommand to the scrollednotebook widget; added the "attrib", "hasattrib", and "unsetattrib" subcommands to the scrollarea, scrollsync, scrollableframe, scrollednotebook, plainnotebook, and pagesman widgets; added the "tabattrib", "hastabattrib", and "unsettabattrib" subcommands to the scrollednotebook and plainnotebook widgets; added the "pageattrib", "haspageattrib", and "unsetpageattrib" subcommands to the pagesman widget. check-in: cf86ea07be user: csaba tags: trunk
17:18
* CHANGES.txt: Updated to reflect the changes. * doc/*.html: check-in: e482376b3a user: csaba tags: trunk
17:17
* *.tcl: Bumped the version number to 1.17. * COPYRIGHT.txt: * README.txt: check-in: 841743b681 user: csaba tags: trunk
2022-10-08
14:34
canvas - edit::points - EF - Default style (item type, (highlight) color, radius) now configurable via options - Bindings separated for highlight, dragging, and editing, individually controllable - New methods to - Remove markers - Move markers (absolute, relative) - Retrieve the current marker - Modified `add` to return the marker tag, for use by removal and move methods Version bumped to 0.2 Documentation regenerated check-in: 472fb4585f user: aku tags: trunk
14:02
canvas - sqmap - fix comment typo check-in: d02203c38e user: aku tags: trunk
2022-08-22
16:23
* tooltip.man: Documented the "-tab" option and added an example for it; extended the description of the "configure" subcommand; several further improvements; bumped the version number to 1.6. check-in: a4d1e99aba user: csaba tags: trunk
16:23
* tooltip.tcl: Added support for ttk::notebook tabs; several further improvements; bumped the version number to 1.6. check-in: ee75fba92a user: csaba tags: trunk
16:22
* pkgIndex.tcl: Bumped the tooltip version number to 1.6. check-in: 70a73dc94a user: csaba tags: trunk
16:21
* ChangeLog for tooltip: Updated. check-in: aa7d9a4cd9 user: csaba tags: trunk
2022-08-12
09:40
* Released Mentry 3.16. check-in: aa615b27d6 user: csaba tags: trunk
09:38
* Released Wcb 3.8. check-in: 50b7275057 user: csaba tags: trunk
2022-08-04
17:06
* CHANGES.txt: Updated to reflect the changes. * doc/*.html: check-in: 39c1130659 user: csaba tags: trunk
17:04
* doc/wcbRef.html: Updated to the version included in Wcb 3.8. check-in: 6033e12050 user: csaba tags: trunk
17:04
* *.tcl: Bumped the version number to 3.16. * COPYRIGHT.txt: * README.txt: check-in: 97d9cbacf8 user: csaba tags: trunk
17:02
* ChangeLog for mentry: Updated. check-in: 3414ef631c user: csaba tags: trunk
17:01
* scripts/*.tcl: Updated the copyright information. * ../../examples/wcb/*.tcl: check-in: 6f31e5c384 user: csaba tags: trunk
17:00
* doc/*.html: The new name of the original widget command is now also referred to as "proxy command"; bumped the version number to 3.8. check-in: 2f0d2ac391 user: csaba tags: trunk
16:59
* CHANGES.txt: Updated to reflect the changes. check-in: 96ab832859 user: csaba tags: trunk
16:58
* *.tcl: Bumped the version number to 3.8; updated the * COPYRIGHT.txt: copyright information. * README.txt: check-in: 38bae8c37a user: csaba tags: trunk
16:57
* ChangeLog for wcb: Updated. check-in: dd48cf2e8d user: csaba tags: trunk
2022-08-03
11:01
* mentry_tile.tcl: Corrected the copyright information. check-in: 880ff37bf7 user: csaba tags: trunk
2022-07-14
15:44
* Released Scrollutil 1.16. check-in: b9a575471c user: csaba tags: trunk
13:54
* doc/scrollutil.html: Minor correction. check-in: 32b15f8ceb user: csaba tags: trunk
13:53
* ChangeLog for scrollutil: Updated. check-in: 2c11017bcb user: csaba tags: trunk
2022-06-27
16:06
* doc/TablelistConfig.png: Updated screenshot. check-in: 61ab2042d4 user: csaba tags: trunk
15:54
* scripts/utils/clampatch.tcl: Significantly improved the look and * scripts/utils/pkgIndex.tcl: behavior of the ttk::checkbutton and ttk::radiobutton widgets of the patched "clam" theme. check-in: c5615f0d27 user: csaba tags: trunk
15:53
* scripts/tclIndex: Newly generated. check-in: c22634a397 user: csaba tags: trunk
15:53
* scripts/scrollednotebook.tcl: The ttk::notebook contained in a scrollednotebook widget now automatically fills the entire width of the scrollednotebook, regardless of the number of tabs; eliminated three potential endless loops and fixed a few bugs related to the arrow buttons. check-in: 59389e35df user: csaba tags: trunk
15:52
* scripts/scrollableframe.tcl: Added the "autofillx" and "autofilly" scrollableframe subcommands. check-in: 91e94acd88 user: csaba tags: trunk
15:51
* CHANGES.txt: Updated to reflect the changes. * doc/*.html: check-in: fb3cfaa68f user: csaba tags: trunk
15:50
* *.tcl: Bumped the version number to 1.16. * COPYRIGHT.txt: * README.txt: check-in: 8af33e7798 user: csaba tags: trunk
15:49
* ChangeLog for scrollutil: Updated. check-in: 9d92ec43bc user: csaba tags: trunk
2022-05-30
11:16
* Released Scrollutil 1.15. check-in: 6f867566af user: csaba tags: trunk
11:15
* Released Tablelist 6.19. check-in: c131845f97 user: csaba tags: trunk
08:48
* ../../examples/scrollutil/*.tcl: Many improvements, especially in "PagesManDemo.tcl" and the helper script "styleUtil.tcl", which is source'd in all demo scripts. check-in: 9431125a63 user: csaba tags: trunk
08:47
* doc/ScrollableFrmDemo2.png: Updated screenshots. * doc/ScrolledNotebookDemo.png: check-in: ddeb831716 user: csaba tags: trunk
08:46
* scripts/utils/pkgIndex.tcl: Made the detection of the desktop * scripts/utils/scaleutil.tcl: environment when calculating the scaling percentage corresponding to the display's DPI scaling level on X11 more reliable; removed the TEntry scaling for "vista" and "xpnative". check-in: 6ccf66fc95 user: csaba tags: trunk
08:45
* scripts/tclIndex: Newly generated. check-in: 1eb74cd40d user: csaba tags: trunk
08:44
* scripts/wheelEvent.tcl: Corrected a typo in the implementation of the scrollutil::addMouseWheelSupport command. check-in: 1e0f6311c6 user: csaba tags: trunk
08:42
* scripts/scrollableframe.tcl: Minor improvements. * scripts/scrollarea.tcl: check-in: d7ffb3794c user: csaba tags: trunk
08:42
* scripts/scrollednotebook.tcl: The scrollednotebook widget now provides two arrow buttons placed on demand in the top-left and top- right or bottom-left and bottom-right corners (depending on the notebook's style), and correctly interprets the x coordinate within an index of the form "@x,y" or passed to the "identify" subcommand as being relative to the scrollednotebook widget (rather than the ttk::notebook contained in the latter). check-in: 4c25737e3b user: csaba tags: trunk
08:41
* scripts/plainnotebook.tcl: Implemented the navigation between the selectable tabs via the mouse wheel, as well as with the keys "Down", "Up", "Control-Tab", and "Control-Shift-Tab". check-in: 600adfae00 user: csaba tags: trunk
08:40
* scripts/notebookImages.tcl: Added scrollutil::createLeftArrowImage and scrollutil::createRightArrowImage. check-in: dec144c992 user: csaba tags: trunk
08:40
* CHANGES.txt: Updated to reflect the changes. * doc/*.html: check-in: b3589e466a user: csaba tags: trunk
08:39
* *.tcl: Bumped the version number to 1.15. * COPYRIGHT.txt: * README.txt: check-in: e56f1bf33e user: csaba tags: trunk
08:38
* ChangLog for scrollutil: Updated. check-in: 5930917d8d user: csaba tags: trunk
08:36
* scripts/utils/pkgIndex.tcl: Made the detection of the desktop * scripts/utils/scaleutil.tcl: environment when calculating the scaling percentage corresponding to the display's DPI scaling level on X11 more reliable; removed the TEntry scaling for "vista" and "xpnative". check-in: 7c684176fd user: csaba tags: trunk