Forum: Ruby-Gnome 2 Modular Child Windows with Glade and Visual Ruby

E9c26ce517710a328eff098834c59ce6?d=identicon&s=25 Aaron Ram (lazer_rash)
on 2013-03-04 19:48
I'm currently writing a little RSA encoding program for school, and I
seem to be having trouble calling up a child window. The error is in the
second class, the show_window() method in the second class. The method
works just fine in the first class, but when I run it and then hit the
button that should trigger the second window, I get this error:
C:/Ruby193/lib/ruby/gems/1.9.1/gems/vrlib-0.0.33/lib/GladeGUI.rb:330:in
`show_window': undefined method `show_all' for nil:NilClass
I am very stuck and help is appreciated. The full code and program can
be found on github here;
https://github.com/lazer-rash/briggs-is-cool.git Thank you all in
advance.
0d130f179f85401f248e6ebc2ef8292f?d=identicon&s=25 Eric C. (eric_c)
on 2013-03-05 04:19
Hi:

You must have renamed the top window in glade.  The top window must
always be named the default "window1"

E
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.