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 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Cygwin List Subject: Re: Re: Need help with Perl/Tk References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: >
> "Michael Kairys" 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)" dot net> > To: cygwin at cygwin dot com > Date: Wed, 14 Dec 2005 17:54:19 -0600 > Subject: Re: PerlTK under Windows > References: > > > 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. > > > >
-- 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/