[Glade-users] practical question: apps locating glade file



Well, I ended up using the maintainer mode solution.
Thanks to XML, I don't have to compile anything, so my compile time is short:
The `make check` solution also doesn't require any extra compilation.

My app reads any generic code from the XML file at runtime. Thanks to
the technique known as code refactoring!
It's nice to have those information configurable by storing them into a 
XML file. And in my own opinion, it would be even better if command line 
options can override those settings so that script is able to adjust 
them easily. Just like /etc/xxxrc -> ~/.xxxrc -> common line options

Cheers,
Ivan.






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