It doesn't matter what version of Glade you use, as long as it
generates valid Glade XML for the glade library versions that come
with Camelbox. If you're unsure as to what version of the Glade
libraries comes with Camelbox, you can check the _versions.txt
document in your Camelbox distribution at
"C:\camelbox\share\pkglists\_version_list.txt".
I was able to get your script running after I modified your
'Sample.glade' file. Your Glade XML does not set the 'visible'
property for the GtkWindow 'main'. You might want to set this
property when you're using the Glade editor, no matter which version
of the editor you are using. You can see my changes in [1].
I suggest running and then examining the examples that come with
Camelbox if you run into problems in the future. The reasons I make
this suggestion are...
1) If you can run the example, you know Camelbox (and by extension
Gtk2::GladeXML) is working
2) You can use the examples you just verified as working as a template
for your scripts, since you know the examples are working for you.
This is how I figured out that you were not setting the 'visible'
property for the 'main' window, I used the examples to see what
properties you were missing where in your Sample.glade file.
I was not able to duplicate your original error about interface/glade-interface.
Thanks,
Brian
Your problems were with using Gtk2::GladeXML, Camelbox was not the
issue. You might find better support for Gtk2-Perl issues on the
gtk2-perl mailing list [1]. That list is certainly read more often by
more people.
Thanks,
Brian