Saw a link to Pashua (http://q41.de/downloads/pashua_en/) at Macintouch
today and thought you all might be interested. Pashua is an easy way to
bolt on Aqua-native dialogue boxes to a bunch of languages including
Perl. From the website;
Pashua ist a tool for creating simple, but native Aqua GUIs for Perl,
PHP, Python, shell scripts and AppleScript. Simple means: It's
limited to dialog windows, and the number of different GUI widgets
available is currently limited to text input fields, password input
fields, checkboxes, radiobuttons, popup menus, combo boxes, separator
lines, open / save panels, text, as well as buttons. Values returned by
the dialog are processed and used to set variables in the calling
script.
I've downloaded it and checked out the Perl example; there's two parts,
a Pashua binary and a Pashua.pm module. Put Pashua.pm in @INC somewhere
and the Pashua binary in your OS X Applications folder and you're in
business. Data from the dialogue box appears in a Perl hash as a return
value from the module's run method. Nifty.
The topic of creating Aqua interfaces comes up on this list all the
time, and I know there's Camelbones and TK, but this seems like it'd be
a good choice for small programs because it's just stupid-simple.
Oh yeah, and it's freeware.
Disclaimer: I have no connection with the product or the programmer. I
just think it's cool! :-) Enjoy!
---
Gary Blackburn
[EMAIL PROTECTED]