Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: cross platform gui's

by batkins (Chaplain)
on Oct 19, 2003 at 02:14 UTC ( [id://300347]=note: print w/replies, xml ) Need Help??


in reply to cross platform gui's

I would definitely recommend Tk. It works well on both Windows and Linux, and there's an ActiveState PPM for Tk.

Also, as others mentioned, Tk is a standalone module. You just install Tk and you have a working GUI toolkit. Wx and Gtk are both thin wrappers over external libraries, so you'll need to install either wxWindows or Gtk to make them work.
Take a look at this node for more information.


The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows. - Frank Zappa

Replies are listed 'Best First'.
Re: Re: cross platform gui's
by PodMaster (Abbot) on Oct 19, 2003 at 04:27 UTC
    ... there's an ActiveState PPM for Tk.

    You just install Tk and you have a working GUI toolkit. Wx and Gtk are both thin wrappers over external libraries, so you'll need to install either wxWindows or Gtk to make them work.

    Why is that important? All the Tk author does is bundle the required Tk files ... you can always build a statically linked Wx (or probably Gtk for that matter).

    wxPerl binaries are readily available for perl 5.6 and up, in both unicode and non-unicode flavors. In order to get perlTk with unicode support you need at least perl 5.7.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      Because Nick merged the Tcl/Tk code into Perl/Tk very well. There's a lot of Perl support code around the Tk core to make the Perl interface nicer. For instance, the Tk callback system is entirely customized for Perl and the object-orientedness of Perl/Tk is completely absent from Tcl/Tk. So instead of having to find an appropriate version of the library your toolkit needs, it's already been integrated into Perl/Tk. Something like Wx is still very C++-ish, which is fine if that's what you want. But I think that by including a particular version of Tk in Perl/Tk and then making a heavy Perl wrapper around that, the code becomes more usable and the install a little simpler.

      The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows. - Frank Zappa

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://300347]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-28 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found