| Deutsch English Français Italiano |
|
<vtva5i$mngb$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: et99 <et99@rocketship1.me> Newsgroups: comp.lang.tcl Subject: Re: are canvas coordinates limited to 32k Date: Fri, 18 Apr 2025 21:51:59 -0700 Organization: A noiseless patient Spider Lines: 25 Message-ID: <vtva5i$mngb$1@dont-email.me> References: <vti0bi$dqa4$1@dont-email.me> <1744635286-1108@newsgrouper.org> <vtkd77$2hcc5$1@dont-email.me> <vtnk41$1kc53$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 19 Apr 2025 06:52:03 +0200 (CEST) Injection-Info: dont-email.me; posting-host="7ea2c3f538bb94c4c495d4c4ad6ea9a1"; logging-data="744971"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+f8yS+jqSP827b7pkYVz0" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:ixQKU2w3VtGemEj+okFYoG4FWvw= In-Reply-To: <vtnk41$1kc53$1@dont-email.me> Content-Language: en-US On 4/15/2025 11:52 PM, Christian Gollwitzer wrote: > Am 15.04.25 um 03:36 schrieb et99: >> Thanks for the suggestions. The purpose of my "little" project was to demonstrate that TCL/Tk was the best tool in a particular environment. The user needed a tool to do a csv column cut operation on a csv formatted text file, as an extension to a commercial text editor he was using. >> > > If I had to do it, I'd use tablelist. I've yet to find a use-case where you can't simply set an option to it to do what you want. > > Christian Thanks for that. I had a look at tablelist. I was quite impressed that I could change a demo to display over 50,000 lines and it didn't have the problem that examples using canvas had. I looked at the widget tree and found it was using a text widget for the container. My goal was to demo only using the core set of tk widgets. That's why I didn't want to rely on any packages. I wanted scrollable frames, so I snagged 80 lines of wiki code. But in the end I was able to create a spreadsheet like layout of modifiable cells, with just two small nested foreach loops of grid'd entry's, plus some csv split and reconstruct functions that I got the google gemini AI bot to write for me. Since the csv data comes in via stdin, I was able to demo: [split [read -nonewline stdin] \n] which is a nice tcl thing. Did I succeed? Only time will tell.