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?? |
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.
In Section
Seekers of Perl Wisdom
|
|