First  |  Prev |  Next  |  Last
Pages: 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
A little list/dict bug?
Hi, Unexpected behaviour (for me at least!): % set a [list 1 b 1 c 2 a]; dict exists $a 1; set a 1 c 2 a % set tcl_patchLevel 8.5.8 "Looking at" a list as a dict seems to be modifying the list... Is this a bug? cheers, Ian ... 19 May 2010 19:21
different buttons
Hi TCLers, why {-width != -width}? pack [button .b -text Butn -width 10 -relief raised -bg red ] pack [menubutton .m -text Menu -width 10 -relief raised -bg green] These 2 commands create clearly differently sized "buttons". Any idea how to make them look equal/similar? % info patchlevel 8.5.8 T... 19 May 2010 17:07
Scrollable widget help
Greeting.. I'm trying to create a script thet generates a scrollable widget consisting of several canvases stacked on top of one another. I can't seem to get the scrollbar working properly; when I move the scrollbar the stacked canvases don't move in the viewing area. So clearly I haven't coupled the scrollb... 19 May 2010 23:46
TIPs 366 and 368
I'm trying to drum up support for TIPs <link href="http://purl.org/tcl/ tip/366.html">366</link> and <link href="http://purl.org/tcl/tip/ 368.html">368</link>. 366 deals with the size of menubutton indicators. If the right look for a particular app needs a menubutton that is a different size than the default, ... 18 May 2010 12:33
Problem with Thread package on Aqua
Hello Tclers, I am trying to use the Thread package on Aqua, without much success. The following code runs as expected on Linux/X11: package require Thread thread::create { package require Tk package require Thread ::thread::wait } On Aqua, the new thread's topleve... 17 May 2010 11:17
how to remove list elements at specific indices
Is there any command which helps remove the elements of a list with specified indices? lrem $list -indices {$indexlist} or lrem $list -indices {0 3 5 8} which reconstructs the list removing the elements at indices mentioned. lreplace, lindex works with the ranges but not helpful with discrete indices. Please ... 19 May 2010 10:25
Text entry dialog widget pre-made?
Is there a pre-made popup widget for having the user enter text? Along the lines of tk_messageBox and friends? I realize that this is a fairly basic programming exercise if there isn't one in the distribution, but it would be nice to have something ready to use that is standard (for 8.6?). Forgive me if this i... 17 May 2010 23:28
Getting the names of all directories
Hi there, I am wondering if there is a way to list the names (or getting the names into a list) of all directories under the current directory ? I am just trying to process all files under all directory under the current directory. Any help will be greatly appreciated. Regards S-Y. Chen ... 26 May 2010 15:48
'clock microseconds' broken on Windows
Hello out there, about a week ago there was a thread clock microseconds with resolution in milliseconds in which it was observed that 'clock microseconds' only returned a millisecond resolution (under Windows). The consensus at the end was that Tcl can only get what the underlying OS offers. To me this was ... 25 May 2010 12:24
Tcl-URL! - weekly Tcl news and links (May 14)
QOTW: "Tcl just co-ops the vast infrastructure of C." - tom.rmadilo, struggling to express how important it is to face such challenges as "How to interface with hardware, How to interface with the OS, How to interface with other applications, ..." http://groups.google.com/group/comp.lang.tcl/msg/c02fb0f50446c32... 14 May 2010 17:12
First  |  Prev |  Next  |  Last
Pages: 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40