http://qs321.pair.com?node_id=372113


in reply to Creating Win32 User Interfaces with Perl

You may use WxPerl as an alternative of Tk. Still not very well documented but the results are nice.

____
HTH, Dominique
My two favorites:
If the only tool you have is a hammer, you will see every problem as a nail. --Abraham Maslow
Bien faire, et le faire savoir...

  • Comment on Re: Creating Win32 User Interfaces with Perl

Replies are listed 'Best First'.
Re^2: Creating Win32 User Interfaces with Perl
by tunaboy (Curate) on Jul 06, 2004 at 16:27 UTC

    I second that wxPerl gets nice results.

    I disagree that it is not well documented. See wxPerl Downloads for the available documentation. The only difficulty is translating the documentation into wxPerl notation (which once you get the hang of it is not that hard). There are also wxPerl specific notes contained in the documentation indicating any differences in wxPerl.

    I would have no hesitation to recommend wxPerl to anyone looking to create a GUI.

      Speaking of documentation... At YAPC::NA::2004, there was a nice presentation which was an introduction to using WX with perl... Basically, if you've ever programmed in Java (shudder) with their Swing GUI (shudder), it's basically the same thing. Eg, there's an event loop, and then you create objects, and coelesce them into the same form...


      ----
      Zak - the office
Re^2: Creating Win32 User Interfaces with Perl
by Anonymous Monk on Jul 07, 2004 at 04:07 UTC
    Still not very well documented but the results are nice.
    How do you figure?
    perldoc Wx
    
    NAME
        Wx - interface to the wxWidgets GUI toolkit
    
    SYNOPSIS
            use Wx;
    
    DESCRIPTION
        The Wx module is a wrapper for the wxWidgets (formerly known as
        wxWindows) GUI toolkit.
    
        This module comes with extensive documentation in HTML format; you can
        download it from http://wxperl.sourceforge.net/
    

      My apologizes, WxPerl IS in fact documented, but most of the documentation is introduction material and perl object model oddities. Samples are merely "hello world", and more elaborated samples are only available in C++. I know how it can be difficult and time consuming writing such documentation. Now most of the time is still dedicated to make it work.

      IMHO, WxPerl despite its real power, is still lacking of an accompagning book (there's here matter for a Chapter XI of the Perl In A Nutshell, even perhaps for a dedicated tome [which animal? *g*]). But don't be mistaken about my remarks, I DO prefer from far using WxPerl than Tk...

      ____
      HTH, Dominique
      My two favorites:
      If the only tool you have is a hammer, you will see every problem as a nail. --Abraham Maslow
      Bien faire, et le faire savoir...