Background color for a ttk:treeview column I have several columns in my treeview. It's a bit hard to read the data in the table because there's nothing separating the columns. I was thinking about painting the background of every odd column in a different color. But I don't mind any other suggestion. For example, I'm also fine with somehow printing a thin l... 11 Apr 2010 10:06
Tcl_InvalidateStringRep(objPtr) causes later crash in TclCreateLiteral stsoe wrote: Hi all, I am using tcl8.5.6 and have run into an issue when my extension is calling Tcl_InvalidateStringRep with a shared Tcl_Obj that happens to be stored in Tcl's literal table. When Tcl later looks up in the literal table for an object that matches the string rep of the earlier i... 7 Apr 2010 22:30
Tcl_InvalidateStringRep(objPtr) causes later crash in TclCreateLiteral Hi all, I am using tcl8.5.6 and have run into an issue when my extension is calling Tcl_InvalidateStringRep with a shared Tcl_Obj that happens to be stored in Tcl's literal table. When Tcl later looks up in the literal table for an object that matches the string rep of the earlier invalidated object, it can ha... 8 Apr 2010 03:58
ANNOUNCE: Gnocl Release 0.9.95 The Gnocl development team are pleased to announce the release of Version 0.9.95. Over the past few months a wide range significant enhancements and additions have been made to the range of resources available. Perhaps the most significant of all these changes has been the inclusion of the ability to load both Buil... 7 Apr 2010 18:00
grabbing xmlrpc server response to be parsed via tdom hi... I'm trying to add xmlrpc posting to <a href="http:// baldwinsoftware.com/xpost.html">Xpostulate</a> (which currently uses flat post method for LiveJournal and clones thereof), not only to work better with LJ clones (dreamwidth, insanejournal, etc.), but also to get wordpress crossposting worked in (since tha... 7 Apr 2010 13:29
String value of Tcl_ListObjIndex Hi all, I'm trying to extract the string values of a Tcl list in C code and am having some difficulty. Tcl_GetString doesn't seem to work here: Tcl_Obj *data = NULL; Tcl_Obj *indexptr = NULL; for (i = 0; i < 10; i++) { status = Tcl_ListObjIndex(interp, mylist, i, &indexptr); data ... 7 Apr 2010 02:25
New version of the Tcl/Tk GUI builder PureTkGUI : v0.10.0 Hi all ! I am very pleased to announce that PureTkGUI v0.10.0 is finally out. This release brings you an advanced recursive cut/copy/paste feature, which is very important during GUI design operations as it really speeds things up. Other features have been added, such as tearoff menus for widget creation which mak... 23 Apr 2010 20:51
msgcat: message catalogue file for default language {} I use message cataloges a bit different than prevued: In the source code there is no final text but only tags like: -text [mc errboxFatalExit] All real text is in message catalogue files. It would be useful to have a default text independent from the current language setting. This might be set using the empty... 6 Apr 2010 11:53
float special numbers Hello everybody. I have a nagging problem with handling an "infinite" results: set test [ expr -inf ] ;# works ok set test [ expr +inf ] ;# errors out why the difference? if {$test == -inf} {puts infinite} ,# works too format "_% 8.2f_" 122.33 --> _ 122.33_ format "_% 8.2f_" $test ;# works ade... 6 Apr 2010 15:18
rename: delete proc inside itself I want to run a proc only once. It came to my mind to do that: proc ::runonce args { # some processing puts $args # delete myself rename ::runonce :: } Test with TCL8.5.8: % runonce ABC ABC % runonce ABC invalid command name "runonce" Is this generally allowed ? Thank you, Harald ... 6 Apr 2010 11:53 |