I have a question...
I am just using labels in Ruby for the first time, and I need two of them. My first one is:
enterLabel = Gtk::Label.new("Enter weight in kilos:") #label that prompts user to type into Entry box
enterText = Gtk::Entry.new
displayLabel = Gtk::Label.new("") #label that displays the result
and I am not sure how to make a second one. Do I use "EnterLabel2", "EnterText2" and "displayLabel2"? I actually tried that, and it just didn't show up. I'm just not sure how I can add another block of code to differentiate between the first label and the second.
Thanks!
Sue

New Topic/Question
Reply
MultiQuote













|