How to change or set a string variable in Tcl/tk to a specific color to be displayed via tk_messageBox Hi, Fairly new to Tcl so please excuse if silly question.... I have an entry widget that includes a -textvariable VMname that gets read in by the user's input. I then use tk_messageBox to output an error if a bad value is entered for VMname, including in the error message the value of VMname. My question, i... 24 Jun 2010 05:16
ANN: DiffUtil What: Utilities for comparing stuff. The working commands are diffFiles, for line by line comparison of files, and diffLists, for comparing elements of a list. It is basically an LCS diff algorithm implemented in C on top of Tcl's API. Where: http://github.com/pspjuth/DiffUtilTcl http://wiki.tcl.tk/26364 Ver... 23 Jun 2010 16:10
Doubt regarding passing arguments to expect script Hi, I am verynew to expect scripting. I want to pass a command from a perl script to my expect script. Expect script should simpy execute that command. But "cmd" in expect script is seen with a value "abc" instead of the original value. Pls help me so sample code : ----------------------- my_perl.pl -------... 24 Jun 2010 11:49
Expect/TCL Configuration Issue - Form POST submit not working Problem Statement: Whenever there are html form with many parameters then expect-cgi is not able to retrieve the parameter values. If I use tcl-cgi then parameter values are retrieve properly. Here is the summary of analysis done so far: 1) Expect and TCL version are as follows Expect version is 5.42.1 & TCL ve... 23 Jun 2010 00:49
Line oriented protocols vs. [gets] The question here is what defines a "line". In Tcl this is simple...or at least it seems simple. In a Tcl source file a line ends with <CR> or <LF> or <CR><LF>. In fact, if the last non-<CR>?<LF> sequence is a \, then the following <CR>?<LF> is removed. Of course it is only removed in the interpretation of the... 4 Jul 2010 05:47
lreplace behaviour change in tcl 8 Hi, I had some code working fine in tcl 7.6, when I tried to use latest 8.5 tcl version this was no more working. I figured out after some searching that this was related to a behaviour change of lreplace, I put together a sample to illustrate this. In 7.6 lreplace returns 'something' where in 8.5 it returns ... 22 Jun 2010 12:41
Problem with switch command On 22 Jun., 17:37, Keith <kilowattra...(a)gmail.com> wrote: Switch is hanging when I don't have a match and want it to use default. For example sometimes $systype is already M81S and I don't want switch to do anything except just put out a command like puts, but tcl 8.4/8.5 just hangs. Hi Keith, sorry for... 22 Jun 2010 12:41
dectect font size change in mega widget Hello List, Create a font with size 8: font create Custom -size 8 And use it in a widget, for example the BWidget NoteBook or the tablelist widget: NoteBook -font Custom Now change the font size: font configure Custom -size 17 All standard widgets automatically change size. But those composite wi... 22 Jun 2010 05:00
ISO: ideas for creating a more consistent user experience wthcopy and paste in Tk On 6/21/2010 12:26 PM, Larry W. Virden wrote: The copy and pastes in all these cases works fine if the user points to another Tk application and pastes into an appropriate widget. The problem exists only when trying to perform the paste in a non-Tk application. Unfortunately, that use case is a pretty c... 21 Jun 2010 13:33
ISO: ideas for creating a more consistent user experience wth copy and paste in Tk Platform: Tcl/Tk scripts running on a SPARC Solaris machine, displaying via X through Hummingbird Exceed onto a Microsoft Windows XP desktop. Example application sets up a simple entry widget and packs it. package require Tk entry .t pack .t User then types text into the widget, selects the text via mous... 21 Jun 2010 15:47 |