Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How to install "Perl GUI Loft" on Strawberry Perl?

by dasgar (Priest)
on Mar 01, 2013 at 14:29 UTC ( [id://1021271]=note: print w/replies, xml ) Need Help??


in reply to How to install "Perl GUI Loft" on Strawberry Perl?

As marto pointed out, there is a binary download available, which does not involve any installation. Just run the provided executable, which is what I have always used.

It's been a while since I used TGL (the GUI Loft), but thought I'd pass on some useful information.

First, I don't think that it will generate code for you. Second, it's based on an older version of the Win32::GUI than what is currently available in CPAN. What that means is that some of the details the TGL provides won't match with the latest Win32::GUI module.

Despite those drawbacks, I personally still find TGL very useful. Here's how I've used it. Use TGL to quickly create a GUI window that has the elements you want in it and set the position and size to make things look good. At this point don't worry about code. Just work on getting everything looking right in TGL.

When you're ready to start coding, you'll need TGL, documentation for the version of Win32::GUI that you have installed, and a text editor. Follow the documentation to start creating your GUI. Each element will need size and position information. In TGL, just click on that element and you'll be able to get that information from the Properties window. I usually code in a few elements and then test the code to see how is it matching with what TGL is showing and then do some minor tweaking as needed.

Since the last release of TGL was about 10 years ago and Win32::GUI has changed since then, it kind of is deprecated in a sense. However, I personally still find it useful.

  • Comment on Re: How to install "Perl GUI Loft" on Strawberry Perl?

Replies are listed 'Best First'.
Re^2: How to install "Perl GUI Loft" on Strawberry Perl?
by HelenCr (Monk) on Mar 01, 2013 at 15:29 UTC

    dasgar and marto: I found the binary, and I'll try to work along your good advice and suggestions.

    marto: "perl -v" says:

    This is perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x86-multi-thread

    I am running it on Windows 7

    Many TIA - Helen

Re^2: How to install "Perl GUI Loft" on Strawberry Perl?
by HelenCr (Monk) on Mar 01, 2013 at 15:15 UTC

    dasgar; thank you for the thorough answer. I agree with you. That's why TGL has caught my interest. But, please see my answer to marto and corion - can you point me to the binary you mention?

    Many TIA - Helen

Re^2: How to install "Perl GUI Loft" on Strawberry Perl?
by Anonymous Monk on Mar 01, 2013 at 22:33 UTC

    Since the last release of TGL was about 10 years ago and Win32::GUI has changed since then, it kind of is deprecated in a sense. However, I personally still find it useful.

    FWIW, Win32::GUI hasn't changed that much in those four years after the last rease of TheGuiLoft, it just got some bug fixes, and a few new widgets, nothing that would break TheGuiLoft

    OTOH, why anyone would choose a non-portable toolkit like Win32::GUI, even if they're stuck on Win32 -- makes no sense to me

      @Anonymous Monk: why anyone would choose a non-portable toolkit like Win32::GUI, even if they're stuck on Win32

      Because Win32::GUI seems to be the best Perl GUI toolkit on Windows - I understand that Perl Tk has issues on Windows, and also it doesn't look neat/cool for users used to Windows.

      All my users are using Windows, and will stay so. Unix/Linux is not an option for them - it's corporate.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found