Spinbox - TCL/Tk 8.4 - Ruby 1.8.2

Discussion in 'Ruby' started by Bill Welch, Jan 20, 2006.

  1. Bill Welch

    Bill Welch Guest

    spinbox was not supported in ruby 1.8.2 'cause it uses tcl/tk 8.3 which
    does not have spinbox.

    I got Tk spinboxes to work via a kludge. I stole a copy of tcl 8.4 and
    tk 8.4 from Python 2.4 and laid them onto Ruby 1.8.2.

    add the tcl8.4 folder and tk8.4 folders from python into the ruby lib
    folder (you can leave the original tcl 8.3 and tk 8.3 alone)

    put a copy of the tcl84.dll and tk84.dll from python into the ruby bin
    folder.

    rename your old copies of tcl83.dll and tk83.dll just in case

    rename the new tcl84.dll and tk84.dll to 83 and now tk 8.4 works with
    ruby
     
    Bill Welch, Jan 20, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tony Eva
    Replies:
    1
    Views:
    482
    Jeff Epler
    Nov 9, 2003
  2. Askari

    Spinbox (Tkinter module)

    Askari, Apr 4, 2004, in forum: Python
    Replies:
    0
    Views:
    656
    Askari
    Apr 4, 2004
  3. Bill Welch

    spinbox bombs

    Bill Welch, Jan 19, 2006, in forum: Ruby
    Replies:
    4
    Views:
    136
    Gerald Murray
    Jan 20, 2006
  4. Mumia W.

    Inline::Tcl vs. Inline::Tcl

    Mumia W., Aug 23, 2006, in forum: Perl Misc
    Replies:
    0
    Views:
    143
    Mumia W.
    Aug 23, 2006
  5. Mark Summerfield

    ttk.Spinbox missing?

    Mark Summerfield, Jun 6, 2012, in forum: Python
    Replies:
    0
    Views:
    306
    Mark Summerfield
    Jun 6, 2012
Loading...

Share This Page