Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: What ISN'T good about PerlGTK?

by Anonymous Monk
on May 30, 2000 at 22:47 UTC ( #15477=note: print w/replies, xml ) Need Help??

in reply to What ISN'T good about PerlGTK?

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
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://15477]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2018-01-23 19:08 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (253 votes). Check out past polls.