PerlGTK is pretty cool, it's relatively easy to
use if you know how to use it. Documentation
is completely lacking. I would not try to
program with it unless you've programmed with
GTK+ in some form or another previously. Most
things mimic the C calling sequece pretty well,
such as
gtk_label_new("text");
is
Gtk::Label->new("text");
and so on.
The bad part is when you get into some of the C calls
that return things through the parameter list,
i.e. a function that returns a value, but takes
2 pointers in its arguments which it sets to
valuable information later. What is the way
to mimic this call? Should it return a list of
items that it normally would have assigned via
pointers, or should it do something else? If
it returns a list, then where are the gaps in
the arguments, etc.
A lot of figuring it out is hit and miss just
trying things out. Alternatively, you can dig
through the source code of the example programs
that come with perlgtk.
If you're comfortable with perl, perl objects,
and modules, and you've programmed with gtk
before, go for it. Otherwise, you might want to
wait until some documentation is out and about.
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.