Cancel button to close window

I may have something wrong here, but I just went to the latest visual
ruby gem, and now my modal windows won’t close. Same problem with the
ChildWindow example.
I’ve tried to follow the instructions on visualruby.org to get the
latest visual-ruby.
Here’s what i’ve got.
ruby 1.9.3 (no change)
GTK+ 3.6.7
gem install visualruby (shows 1.0.13)
I’m running on Windows XP.

Hi:

I think the problem is that you’re using gtk3. visualruby uses gtk2.
Try changing that, and see if it fixes it. I know that the ChildWindo
demo works.

Eric

Hi Andru:

I think I found the problem. Glade must now install gtk3+ by default.
So to install glade w/ gtk2:

Remove your current glade install (this may not be necessary).

sudo apt-get install -y glade-gtk2 libgtksourceview2.0-dev
gtk2-engines-pixbuf

In your Tools->Project Settings menu, the command line for glade should
be glade-gtk2 for linux.

If anyone is using a Mac, please let me know if I need to update my
install instructions for Mac too.

Eric

Hi Eric,
Thanks a tonne, I am on windows so I am downloading the binary GTK+
2.24.10.
I will let you know.
A

So I misunderstood a bit there! That didn’t work.
Do you have a sense of how you would specify gtk2 for windows?

I think everything gets installed automatically using the download on
Visualruby.net. Uninstall your current version, and go to the Download
page for the correct file.

E

On visualruby.net, click on “Download”

On the windows instructions, you’ll see a link to this file:

glade3-3.6.7-with-GTK+.exe

click on it, and you should be able to download and install bundled
version of glade and gtk2.

Hope that helps,
Eric