Sujet : Re: are canvas coordinates limited to 32k
De : user1108 (at) *nospam* newsgrouper.org.invalid (Olivier)
Groupes : comp.lang.tclDate : 14. Apr 2025, 13:54:46
Autres entêtes
Message-ID : <1744635286-1108@newsgrouper.org>
References : 1
User-Agent : Newsgrouper/0.7.2
et99 <
et99@rocketship1.me> posted:
Virtuallist should be a good candidate with 2**30 elements displayed as a breeze
https://wiki.tcl-lang.org/page/VirtuallistIt is based on a canvas and display only a part of the elements according to request.
the Hugelist is maybe better formatted to what you need ?
Olivier.
I've been experimenting with placing widgets inside a canvas. When I tried to test it's performance on lots of widgets (in a column) I am seeing the last few widgets not being displayed when the code does
[winfo reqheight $content]
where content is a frame and the value returned is over 32768 (actually starts failing just shy of that value).
This naturally leads me to suspect there's a 16 bit issue here.
I'm testing on windows 10, with 8.6 and 9.0 and get the same results.
>