In your grid statement try using -sticky
grid .netlist -in . -row 1 -column 1 -sticky news
I use this and every button in that column has the same width regardless of the text length of the buttons. The 'news' stretches it out to fill the space allotted for the column (at least that's what I...
Thanks for the suggestion. I solved the problem by running the script on the machine I was trying to ssh to. Made things much easier in the long run.
Bob
I am trying to use ssh to run a program and do not know how to do it. What I am trying to accomplish is to print output from myprogram as it is being posted rather than all at once after myprogram completes. I have this working without the 'exec ssh lx1' portion, but need to be able to access...
I am trying to run a tcl/tk program without having the GUI frames pop up (no wm statements). I am trying to call several proc's but I get an error saying "invalid command name printit", or whatever I have named the proc. I am running on a Linux system.
Below is some sample code that gave the...
I am trying to copy many files using a command similar to this
exec cp $FILE_DIR/file* $File_DIR2
but the * is not evaluated as meaning all files beginning with
file. What do I need to do to get it to evaluate correctly?
I have tried using eval on it before using exec and haven't had luck...
How can I make the labels in buttons shrink when the frame is reduced in size? I have successfully gotten the frames and buttons themselves to shrink but the labels keep the same font size and are not readable due to extending past the edge of the button.
Thanks in advance...
Bob
I should have been clearer in my question. All my characters get printed it's
just that the tk_messageBox puts line breaks at around 40 characters. I would
like to have 80 characters per line.
I am using version 8.3.2 on a Linux box.
Thanks for the help and sorry for the confusion
Bob
I have several long lines of text that tk_messageBox cuts at around 40 characters. I
would like to extend the length to around 80 characters and have had no luck in doing
so. I have also tried tk_dialog but couldn't get it to print longer lines either. I need to
have a button on the bottom...
I am trying to determine which date is oldest and am having problems with the
clock scan command (or don't fully understand it!). My code is as follows:
set a [clock scan $date_a]
set b [clock scan $date_b]
Where date_a is a past date and date_b is in the future. The return value for the...
I have 6 graphics that I want to put onto a canvas (thumbnails of original images).
I want to create this canvas when I press a button. After this canvas is
created I want to be able to zoom in on any of the 6 smaller images by
clicking a mouse button (bring to the top the original large...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.