Re: are canvas coordinates limited to 32k

Liste des GroupesRevenir à cl tcl 
Sujet : Re: are canvas coordinates limited to 32k
De : user1108 (at) *nospam* newsgrouper.org.invalid (Olivier)
Groupes : comp.lang.tcl
Date : 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/Virtuallist

It 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.
 
>

Date Sujet#  Auteur
14 Apr 25 * are canvas coordinates limited to 32k11et99
14 Apr 25 +* Re: are canvas coordinates limited to 32k5Harald Oehlmann
14 Apr 25 i`* Re: are canvas coordinates limited to 32k4Harald Oehlmann
14 Apr 25 i `* Re: are canvas coordinates limited to 32k3et99
14 Apr 25 i  `* Re: are canvas coordinates limited to 32k2Harald Oehlmann
15 Apr 25 i   `- Re: are canvas coordinates limited to 32k1et99
14 Apr 25 +* Re: are canvas coordinates limited to 32k4Olivier
15 Apr 25 i`* Re: are canvas coordinates limited to 32k3et99
16 Apr 25 i `* Re: are canvas coordinates limited to 32k2Christian Gollwitzer
19 Apr 25 i  `- Re: are canvas coordinates limited to 32k1et99
14 Apr 25 `- Re: are canvas coordinates limited to 32k1Emiliano

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal