| [reply] |
| [reply] |
I've only done a very limited amount of perl::Tk stuff, but for what I did, I found that the documentation was helpful enough... it doesn't necessarily make things easy, but it at least gave me enough direction so that I figured things out eventually.
I would start with the UserGuide part of the pod, it outlines the use of the most basic functions. Once you've read through that you can read about different events and widgets and such in the rest of the pod. I'll echo a previous poster's comments in saying that you should definitely also check out the widget demo.
Hope this helps,
--au | [reply] |
I find the demos included in the tarball invaluable.
When beginning with complex systems, it easier to adapt some existing codes than to roll-up ones own from scratch.
Usually (and depending on you installation system, perl pecific or not: ppm,
cpan, rpm, apt-get...), these demos are not included in the installed system.
Also Advanced Perl Programming contains some material
about Tk. It is one of my three favorite perl books
with the bible
and
OOP.
Random hints: even if Tk is quite oldish in its look, it
has two powerful widgets: see Tk::Text and Tk::Canvas, also
the power of GUIs is in the ability to define new event
handlers: see Tk::bind.
--
stefp -- check out TeXmacs
wiki | [reply] |