ctext peer widget Hi all, I have a question about using text peer widgets with ctext (from TKLib). I'm not sure how to create a peer widget that is a ctext widget - if I start by creating a ctext widget, and use it to create a peer, the resulting widget is a plain text widget. Here is an example to reproduce the problem (using Ac... 1 Jul 2010 07:45
Line truncation when interacting with Team Foundation client commandline I have just written a small program drives a Team Foundation client using the command-line interface. For example: eval exec tf history /noprompt $file The problem I'm having is that all the output is truncated to 79 characters. If I issue the command in a cygwin terminal or DOS prompt the output is not tru... 30 Jun 2010 13:06
differences in font metrics ... Hello, While exercising with fonts using the Tk C API , I noted something I don't understand : tkmafonte = Tk_GetFont(interp, tkwin, "-adobe-courier-bold-r- normal--24-240-75-75-m-150-iso10646-1"); Tk_GetFontMetrics(tkmafonte,&fm); wdt = Tk_TextWidth(tkmafonte,"X",1); printf("Tk : ascent ascent %... 29 Jun 2010 14:04
font with tk C API Hello ! I'm trying to write a new widget using the Tk C API. For the moment, I'm training with the API. I encounter a problem with fonts. To set a font in a GC, I tried two things : - proper Tk : (according to man pages) Tk_Font tkfont; Font myfont; tkfont = Tk_GetFont(squarePtr->interp, tkwin... 29 Jun 2010 08:31
String to integer conversion in expect script Hi, Is there any inbuild functions to convert a string to an integer in expect scripts..? ---- i have a string version with value "2108".. i want to find the older version ie 2108 -1 = 2107 and store it in another string old_version.. pls help me... ... 29 Jun 2010 03:04
IMAP4 package Hi TCLers, there was a dicussion about tcl-based imap protocol client and why it's not in the tcllib. I've extended the imap4.tcl code from Salvatore Sanfilippo to provide a tcl package, I've added some todos from him, implemented the IMAP LIST command and wrote a tcldoc manpage. As I don't have the time t... 29 Jun 2010 14:04
ANNOUNCE: Multi-column listbox and tree widget package Tablelist 5.1 Thank you Csaba. You are caring so well about the brilliant package. Regards, Harald ... 28 Jun 2010 03:00
ANNOUNCE: Multi-column listbox and tree widget package Tablelist5.1 This is to announce version 5.1 of the multi-column listbox and tree widget package Tablelist. What is new in Tablelist 5.1? ----------------------------- This is a bugfix-only release. The corrected files in the "scripts" directory are "tablelistBind.tcl", "tablelistSort.tcl", "tablelistUtil.tcl", and "tabl... 27 Jun 2010 09:32
Segmentation fault while using TclXML 3.2 package on fc12 Hi everyone, Recently I download TclXML 3.2 package on Fedora Core 12 and tried to run my tcl script which usually works in older versions of FC. But, I received a segmentation fault error, and I don't know what to do about it. Appreciate your help. Below is some lines at the start and the end of the backtrace l... 29 Jun 2010 00:54
Using A Variable Throughout My Application Hi All, I want to define a path name eg: path "/home/name/webs/photos" in a package and use this throughout my application. Not sure exactly how to do this? Grateful for any assistance. Best, ... 28 Jun 2010 09:29 |