delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/16/19:48:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAAAC9UZUd5LagTWmdsb2JhbAAIj3MBIJgH
X-IronPort-AV: E=Sophos;i="4.24,174,1196602200"; d="scan'208";a="18562085"
Message-ID: <4765C7C0.5060004@ieee.org>
Date: Mon, 17 Dec 2007 11:20:08 +1030
From: Jason Pearce <jason DOT pearce AT ieee DOT org>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: Re: Need help with Perl/Tk
References: <fjuqdo$42u$1 AT ger DOT gmane DOT org>
In-Reply-To: <fjuqdo$42u$1@ger.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

This is rather late because I only follow the digest, but I've looked 
into Perl/TK a bit with Cygwin.
Initially I found it all to be fairly disappointing, not least because 
when I finally got things "working" Perk/TK gave limited widgets and was 
prone to crashes.

My current solution is to use Perl Tcl::Tk. The subtle difference is 
that Perl controls the interface though TCL. I've found it much more 
satisfying and much more stable. One of the biggest advantages is access 
to a lot more widgets because you can get at any widget you can get 
under TCL/TK. I am using VTCL to graphically build my GUI forms, the the 
Perl script "executes the TCL interface" with TCL::TK.

Getting it all going is prety straight forward, install Cygwin's TCL TK 
(which uses the x-server) then then the perl packages off CPAN compile 
out of the box (see my earlier cygwin post about the snit gotcha).

http://vkonovalov.ru/cgi-bin/perl-tcltk-wiki.cgi/
http://www.cygwin.com/ml/cygwin/2007-10/msg00221.html
http://www.nntp.perl.org/group/perl.tcltk/
http://vkonovalov.ru/vtcl-usage/Using_vtcl_for_creating_Tcl-Tk_GUI_for_Perl.html

Regards,
Jason

Michael Kairys wrote:
> <div class="moz-text-flowed" style="font-family: -moz-fixed">
> "Michael Kairys" <kairys AT comcast DOT net> wrote in message 
> news:fjsor5$p2j$1 AT ger DOT gmane DOT org...
>
>> It's all pretty disappointing, compared to ActiveState's 
>> implementation, which looks much better and requires no setup, no 
>> extraneous directories on my path, and no otherwise uneeded daemons.
>
> A little research reveals this issue has been around for a while and 
> is apparently well-known by everyone but me :)
>
> From: "Yaakov S (Cygwin Ports)" <yselkowitz at users dot sourceforge 
> dot net>
> To: cygwin at cygwin dot com
> Date: Wed, 14 Dec 2005 17:54:19 -0600
> Subject: Re: PerlTK under Windows
> References: <dnq98d$411$1 AT sea DOT gmane DOT org>
>
>
> Andrew DeFaria wrote:
>> However I'd like PerlTk to fall back to using Windows widgets much like
>> rxvt will do a Windows window if there is no X server to connect to.
>
> Just how rxvt manages to use both X11 and Win32GUI is unique, as has
> been discussed before at length.  Don't expect anything else X11 based
> to do that on Cygwin.
>
> perl-Tk is X11-based because it *does not compile* on Cygwin for Win32.
> PTC.
>
>
>
> </div>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019