Display A Set Value in spinbox I'm trying to use a spinbox to set a value that is retrieved from a string, the problem is that the spinbox value is not set to what the variable is: $ton(dly) = "INF" set dly {0 1 2 5 10 30 INF} spinbox $t.h.l -values $dly -textvariable ton(dly) -state readonly -width 4 -wrap 1 but the spinbox only di... 6 Feb 2010 11:51
Musings while learning Tcl by parsing XML with tDOM I'm only 2/3's the glutton for punishment that subject line implies. My learning style is "hands on". If not efficient, it is comfortable. Two questions: 1. Anyone know of a tDOM and/or XML tutorial which is more focused on reading/parsing an XML file than its creation. My problem is simplified somewhat as ... 11 Feb 2010 09:23
stdin vs console HI, I am using don libe's term which opens linux shell as terminal. It uses expect_background to post the characters into tk window. However, I want to redirect stdin contents into seperate file to track the list of commands issued by user. Can anybody suggest me how to do this? ... 4 Feb 2010 13:25
How to let an "entry" show its last characters? Hi! In my gui I use "entry" to specify certain file names, in combination with tk_get_OpenFile. The files can be stored 7 directories deep. As a consequence, the text showing in the entry always shows the first say 25 characters of the path, which is generally the same path for all files I want to select. I woul... 4 Feb 2010 05:33
interpreter startup in a new thread Hi, I'm using a workaround to address the following problem in my project called "libmsgque" with a tcl extension support "tclmsgque" The question is: Is an "official" solution available for the missing "Main" problem ? mfg Andreas Otto http://nhi1.berlios.de/theLink/tclmsgque/group__tc... 4 Feb 2010 05:33
Hello world and expectk Here is the code: --------------------------------------- button .b -text "Hello world" -command exit pack .b ------------------------------------ If called as "wish hello.tcl" it executes as expected. if called as "expect hello.tcl" it errors off on the button command. Fair enough. if called as "expectk... 5 Feb 2010 08:17
How to align elements and how to en-/dis-able them conditionally? Hi! I have progress, and still some challenges... Below, you'll find an example piece of code demonstrating my problems. It is a simple gui for specification of an option for using meteo-data from a given file, which may contain wind at 1 or at 2 heights. Problem 1: How can I join columns 2 and 3 of row 2 int... 4 Feb 2010 04:27
How disable a collection of stuff in 1 go? Hi! I have a development version of a gui that runs ahead of operational functionality of the programs that are activated by the gui. Therefore I would like to temporarily set certain portions of the gui to "-state disabled". It works when I e.g. add the flag "-state disabled" to a "checkbutton". The gui is orga... 3 Feb 2010 10:32
Mac OS clipboard help I want to get the path of a file that has been copied (it's in the clipboard). In linux I'm doing [selection get -type UTF8_STRING -selection CLIPBOARD] and I get file:///some/path But I can't do it in Mac OS. Can anyone help me? Thanks ... 3 Feb 2010 19:40
not all variables bound For some reason this code is failing with the error "not all variables bound" oraparse $cursor "UPDATE my_table SET col1=:col1, col2=:col2 where my_dev = 'xyz' orabindexec $cursor :col1 1 :col2 2 what am I doing wrong? Need help on this asap. It is so simple and yet will not work! ... 2 Feb 2010 21:58 |