RE: Perl/Tk aqua

2006-06-22 Thread Jan Dubois
On Wed, 21 Jun 2006, [EMAIL PROTECTED] wrote:
> I quote the answer that I got from Jan Dubois:
>
>>> TclTk Aqua is shipped with Mac OSX Tiger.
>>>
>>> Is it somehow possible to use it with Perl?
>>>
>>
>> You should be able to do this with the Tcl::Tk module:
>>
>> http://search.cpan.org/~vkon/Tcl-Tk/
>>
>> The Tkx module provides a nice interface on top of Tcl::Tk:
>>
>> http://search.cpan.org/~gaas/Tkx/
>>
>> I have not tried this on OS X though, so it is possible that the
>> modules don't work out of the box there.

Just as a quick update, we will be including Tkx in ActivePerl for
all platforms including OS X.  It is already included in the beta
release of 5.8.8.817.90.  By default it uses a pre-packaged set of
Tk widgets and not the local Tcl installation, but you can redirect
it by setting an environment variable.

The next beta release will include a GUI client for the new version of
the Perl Package Manager (PPM4) implemented using Tkx. So you will be
able to see how the GUI looks on each platform. It will be another month
or so before we make that beta release (5.8.8.817.91) though.

Cheers,
-Jan




Re: Perl/Tk aqua

2006-06-21 Thread Manfred Bergmann

Hi Juan.

I asked nearly the same question some time ago.
The AquaTk which is delivered by default with MacOSX Tiger can only  
be used if you use Tk with an Tcl-Perl Bridge like Tkx.

The Perl/Tk module is only useable with X11.
Check out the module Tkx on cpan.

I quote the answer that I got from Jan Dobois:


TclTk Aqua is shipped with Mac OSX Tiger.

Is it somehow possible to use it with Perl?



You should be able to do this with the Tcl::Tk module:

http://search.cpan.org/~vkon/Tcl-Tk/

The Tkx module provides a nice interface on top of Tcl::Tk:

http://search.cpan.org/~gaas/Tkx/

I have not tried this on OS X though, so it is possible that
the modules don't work out of the box there.



The Perl/Tk bindings are only for X11, right?



Yes.




Best regards,
Manfred



Am 21.06.2006 um 10:56 schrieb ende:



	I used to be a Tcl/Tk-ist but this huge black hole that is Perl  
has sucked me in an unavoidable way ;)


I loved Jim Ingham & Ian Reid Wish (Tk Tcl shell interface) 'a la  
aqua'.  They did a very good job.  You can use all the Tk under an  
aqua environment.  No XWindows needed.



The question is:  Is there any of this kind kind of porting for  
Perl/Tk?



Thanks a lot for this really useful list!!

--
Juan Falgueras
Profesor del Depto. de Lenguajes y Ciencias de la Computación
Universidad de Málaga