Re: Best way to work with gtkmm.



Nathan Hüsken escreveu:
Hello together,
I recently began programming with gtkmm. Since I like to see how my gui will look, I decided to use glade. Because it was the recomended way, I used libglademm. Now I find myself making classes for the dialogs and pulling out all the widgets using "refXml->get_widget". I am wondering if it would not be more convinient (reducing unnessery work) if I would use code-generation ... I don't want to start a flameware ... please do not flame :), but what way would you recommend and why?
Hi, I make my own .glade (xml file) parser, then I can generate the code, files, headers, comments, custom widgets on any language. I don't use libglade(mm) because when I make changes on a GUI is very uncommon don't make changes on my code, then the compilation is inevitable. However my GUI modules (.so or .dll) use my libraries modules (.so or .dll) and then have small sizes and the compilation on processors about 2 GHz is very fast. The secret, on my opinion, is modulating.

[]'s

Claudio

Um peregrino de problemas; Um deperiano de soluções!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]