Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SloppyNick

    Nested Substitution in Tcl/Tk

    That worked, Bong. Thanks for the posts, Bong and prex1.
  2. SloppyNick

    Nested Substitution in Tcl/Tk

    No, that doesn't work. I get the error "Can't read 'chk': no such variable". Basically, if the spinbutton reads "1", then I want to be able to reference the variable named "chk1". I can get the string "chk1" by doing chk$value. However, to get the value stored by that variable, I would have to...
  3. SloppyNick

    Nested Substitution in Tcl/Tk

    I am trying to create a dynamic GUI in Tcl/Tk. I have a spinbox that the user can manipulate, and I have a number of checkbuttons that I want to be able to refer to dynamically. So, for example, in the spinbutton callback, $value refers to the value of the spinbutton. chk$value is the name of a...
  4. SloppyNick

    Trouble with .entry text refeshing

    I tried using update idletasks instead of update, and that gives me the behavior I was looking for, although it is a bit slower. Thanks for your help.
  5. SloppyNick

    Trouble with .entry text refeshing

    Excuse me, you are correct, I am using a text widget. When I call update in the Proc, I don't technically have an infinite loop, but I get an infinite loop error. I'm assuming that tcl is fooled into thinking there is an infinite loop because the fileevent is generating callbacks more quickly...
  6. SloppyNick

    Trouble with .entry text refeshing

    I am trying to write a virtual console that will allow the user to run programs from tcl/tk. The purpose is so the user can manupilate command-line parameters with check boxes so they don't have to retype them each time they want to change something. Here is my code: #!/usr/bin/wish # execlog -...

Part and Inventory Search

Back
Top