From: Isaac Toothyxdip Date: 2008-02-23T03:29:40+09:00 Subject: Re: Ruby/Tk lol i tried that but i did =+ 1 so it was a typo and didnt work lol well any way i really want it to be a input box and not a label but text doesnt work with the input boxes...i think. require 'tk' number = 1 hello = TkRoot.new do title "Hello World" # the min size of window minsize(400,400) end lbl = TkEntry.new() { justify 'center' text "#{number}"; pack('padx'=>5, 'pady'=>5, 'side' => 'top') } TkButton.new() { text "Add One" command proc { lbl.configure('text'=>"#{number += 1}") } pack('side'=>'right', 'padx'=>10, 'pady'=>10) } Tk.mainloop so how would you do this? Ive tried to google a good guide but they are only like a couple examples and maybe a page. Other then help with this problem (which im going to continue to work on while this is posted) i want to know if anyone has a good guide that has examples but also explains them. Or maybe a website like http://www.ruby-doc.org/docs/ProgrammingRuby/ for tk so i can see all of the commands like label and button. Thanks -- Posted via http://www.ruby-forum.com/.