Ruby Forum Ruby-Gnome 2 > Glade template

Posted by Kereoz (Guest)
on 08.04.2008 14:12
(Received via mailing list)
Hello,

I use glade in a ruby-gnome project, and I get a bit lost in my code
because I only have one big class with everything messed up inside
(the one created by ruby-glade-create-template).
I would like to split my code into several classes, for example a
different class for each window, and I'm wondering what is usually the
best way to do it.

I'm a bit confused with the use of the file generated by
ruby-glade-create-template.
What do you usually do with it ?
Would you code directly in it, or would you make @glade public and
then access gui elements through it ?

Regards,
--
Kereoz