> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Johan Lindstrom
> Sent: 30 October 2001 15:58
> To: perl-win32-gui-users@lists.sourceforge.net
> 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
> >this?

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
display it.

e.g. 
my $main = MainWindow->new(...);
# add some window widgets here.

$main->update();

Reply via email to