Here is my suggestion. Do not design a program that works with gtk.
I say this not because I have a problem with gtk. In fact, I have learning to use the toolkit on my "to do" list for both Perl and C. Obviously for unixish systems it's an important library and with good reason.
I say this because your application should not depend on gtk. If you keep all of the user interface routines as separate and clean as possible (in their own module would be fairly tidy), this keeps you thinking of the interface as a view to your application's functionality and data.
For a larger, more complex application, I'd venture to say that keeping the view, the data, the functions, and the storage I/O separate both in your mind and in your application will make each element easier to construct, test, integrate, debug, upgrade, and replace. This hopefully increases the chance that your program will succeed and survive challenges it meets down the road.
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.