From: Mark Wilkinson <markw@il...> - 2001-10-31 15:51:16
> I placed the Tk code in a package without calling MainLoop. Then called
> the Tk widget from the Win32::GUI script:
that is awesome!! I have some way-cool Tk widgets that I didn't want to
have to re-write from scratch to maek them work in the Win32 world... now I
dont' have to :-)
From: Stephen Patterson <Stephen.Patterson@gp...> - 2001-10-31 14:31:29
> -----Original Message-----
> From: perl-win32-gui-users-admin@...
> [mailto:perl-win32-gui-users-admin@...]On Behalf Of
> Johan Lindstrom
> Sent: 30 October 2001 15:58
> To: perl-win32-gui-users@...
> Subject: Re: [perl-win32-gui-users] Win32GUI + Tk...??? possible?
> At 07:00 2001-10-30 -0600, Mark Wilkinson wrote:
> >I have never tried, but I am pondering the possibilities of having
> >Win32GUI and
> >PerlTK run simultaneously. The problem, of course, is in
> the event looping -
> >both need to have their event loops executed, and yet the
> call to execute the
> >event loop is "blocking" as far as I can tell. Has anyone
> ever tried to do
In Tk, you can create a MainWindow without needing to use MainLoop by
defining the window as normal, and then calling update() when you want to
my $main = MainWindow->new(...);
# add some window widgets here.