...how well it really works, I don't know.
All of the hardcore gnome hackers that I've spoken with seem to come to the same concensus: use the .glade file, but not the code.
Personally, I don't mind the C code glade generates, but most seem to disagree. The Perl code that can be generated via glade is done with glade2perl, which is a Perl program that makes heavy use of
Glade::PerlGenerate. IMO, the code that it generates is absolutely hideous! I generally hand-write my own, but have been meaning to try libglade (see below).. and'll be glad to let you know how it is if/when i do.
As far as peoples' distaste towards glade generated code... it seems preferable to just use
libglade
to dynamically generate the UI from the .glade xml file.
I believe (but am not sure) the Perl binding for this lib is
Glade::PerlRun, though I've never used it.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.