Glade template

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs