[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] MacPerl/Tk



from my list archive, these were posted a while back.  It may be what
you are looking for.  If you follow the instructions, you should be able
to get it going,  I just ran the small test proggie and said yeah...

--Mark


> WishPerl is a pair of two (small) scripts, one in Perl and one in Tcl,
>  > enabling you of painlessly breeding Perl modules with Tcl/Tk/Tix GUI.
>  > Works on Unix with perl 5.* and on Win32 with YeP-perl.  With it's
>  > help, you can add Tcl/Tk GUI to your Perl program fast, or make a
>  > new application with GUI events processed by some Perl engine, or
>  > debug your Tcl script easily.
>  >
>  > Available at: http://www.qub.com/group
>  >
>  > Rgds. Paul.
>  > paul@qub.com
> 

and 

> From: Chris Nandor <pudge@pobox.com>
>  Subject: Re: Fwd: Announcing WishPerl
> 
>  Whaddya know, it works.
> 
>  1.  Download Tcl/Tk 8.0.4.
> 
>      ftp://ftp.scriptics.com/pub/tcl/mac/mactk8.0.4.sea.hqx
> 
>  2.  Install it.
> 
>  3.  Download WishPerl.
> 
>  4.  Edit PerlWish.pm as follows:
> 
>  * Comment out line 248
> 
>  * Change "localhost" on line 253 to "127.0.0.1".
> 
>  5.  Launch "Wish 8.0.4" (installed with Tcl/Tk).
> 
>  6.  Choose "Source..." from Tcl/Tk menu, find and select PerlWish.tcl (from
>  the PerlWish installation).
> 
>  7.  Run PerlWish's test.pl in MacPerl.
> 
>  It will control the GUI in Wish 8.0.4, and display text in MacPerl, so hide
>  other apps and make sure you can see all the windows you need to.  You can
>  hide the console in Wish 8.0.4 with a menu item in that app.
> 
>  Go Ye Therefore and Maketh GUIs.
> 
>  --
>  Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
>  %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])





"William H. Asquith" wrote:
> 
> All, thanks for the help ahead of time.  I'm just beginning Tk on my Unix
> workstation within an office that is migrating (unfortunately) to NT.  I
> would really like to run Tk at home on my Mac.  Plus, having a full
> cross-platform Perl/Tk tool in my arsenal would help keep a Unix box on my
> desk, and possible justify an office Mac in the future.
> 
> Anyway, is there a Tk module that is compatible with Mac-OS?  If not, why
> isn't there one.  The CPAN on the MacPerl CD-ROM doesn't quite seem to have
> what I need to start playing around.  Perhaps, I am missing something.
> 
> -wha

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch