OS X - can't change button color My toy sudoku solver: http://www.beezmo.com/scratch/sudoku/newsudoku.tcl works as expected on Windows and Linux machines. I just tried it under OS X in a VM with ActiveTcl 8.5.8.1 installed. It runs, but the button color of the "CHECK" button doesn't change, either when the code runs or when trying to chang... 9 Feb 2010 20:48
command for last answer Alexandre Ferrieux <alexandre.ferrieux(a)gmail.com> wrote: For those interested in that feature, I just wrote patch 2927535, ... https://sourceforge.net/tracker/?func=detail&aid=2927535&group_id=10894&atid=310894 It's a while since this announcement, and a second (much better) patch was added by Alex early Janu... 9 Feb 2010 08:21
text widget : get -displaychars Hello ! The "<text> get -displaychars" manual page says :"If the -displaychars option is given, then, within each range, only those characters which are not elided will be returned. ". Take the following script : set a [string repeat "[string repeat "0123456789" 10]\n" 10] pack [text .t -wrap none -width 10 -... 9 Feb 2010 06:10
How to read a number from a line? This is so basic, but I can't find it on the Wiki/in the manuals. Sorry! I added a progress-bar to my gui. The length of the dark part is controlled by a variable named "myprogress", which runs from 0 (just started) to 100 (run completed). The external program is started by pressing a "start"-button on the gu... 9 Feb 2010 08:21
Problem in mixing namespace separator and widget path # 1. Problem in mixing namespace separator in widget path proc Proc_test {} { toplevel .:: ttk::combobox .::.cb0 -values [list 1 2 3 4 5 6 7 8 9 10 11 12 13 14] pack .::.cb0 -expand 1 } # Don't work. # because combobox command is named "ttk::combobox::.::.cb0" instead of # .::.cb0 a... 9 Feb 2010 04:00
high cpu with wish running this code I get full cpu usage: package require Tk ttk::label .l0 -text "Details:" -anchor center grid .l0 -sticky w ttk::button .create -text {Create folder} pack .create -side bottom -fill x vwait forever is this a bug? ... 9 Feb 2010 05:05
Button size weirdness Hello all, Ahem, ... This is so basic, that I must be prepared to be embarrassed by the explanation. Well, so be it: It appears that I am unable to generate a Tk button whose actual size is the same as the size indicated by the options -width and -height. That is, under Linux I can't; under Windows: no pr... 10 Feb 2010 06:40
Tcl-URL! - weekly Tcl news and links (Feb 5) QOTW: "[M]egawidgets are harder than they look; getting focus handling right is usually the prime problem." - Donal K. Fellows Thanks to Arjen Markus for his weekly summary of Wiki activity: As you may noted, it is now even simpler to create a new page on the Wiki: just press the link "Create new page". ... 7 Feb 2010 10:52
Unable to open/read/process all of 242KB file. My tcl script is failing to open/read/process all of a file past a certain point. After examining the output and comparing in a text editor I see that the script is displaying about 213 lines, 1222 words, and 8875 bytes (as per the gnu wc utility) before the operation stops and I'm back at the shell prompt. Wh... 7 Feb 2010 16:27
2nd RFD: comp.lang.tcl.announce moderated (remove) REQUEST FOR DISCUSSION (RFD) moderated group comp.lang.tcl.announce This is a formal Request for Discussion (RFD) to remove moderated newsgroup comp.lang.tcl.announce. RATIONALE: Probe posts to this group resulted in bounces. <comp-lang-tcl-announce(a)moderators.isc.org>: host ... 6 Feb 2010 18:31 |