Re: Weird behavior. help?

From: Alex Riviere <fimion_at_gmail.com>
Date: Fri, 10 Mar 2006 05:05:20 -0500
To: "Anton Berezin" <tobez_at_tobez.org>

YAY! thank you!

On 3/10/06, Anton Berezin <tobez_at_tobez.org> wrote:
> On Fri, Mar 10, 2006 at 04:33:51AM -0500, Alex Riviere wrote:
> > Alright, I'm using Prima to create a patch script for a game (long
> > story, but basically, i need it to work on linux and look like the
> > windows patcher) and it's going great... or, mostly great...
> >
> > Unfortunately i've run into a snafu. The way the script is set up
> > there are three distinct windows. (select a patch server, downloding
> > stuff, select a client to launch), and I'm having a really bad time
> > getting this to work. Basically, when one window closes, i need
> > another one to open. But no matter what I try after the first window,
> > the script simply ends.
> >
> > any help would be most appreciated.
>
> Sounds like you are using Prima::MainWindow instead of Prima::Window.
> The only distinction between the two is that the former terminates the
> application when it's closed.
>
> So from the sound of it, just use Prima::Window, and create another one
> from inside its on_destroy handler (see what Prima::MainWindow does in
> Prima/Classes.pm for an example).
>
> \Anton.
> --
> An undefined problem has an infinite number of solutions.
> -- Robert A. Humphrey
>

--
Alex Riviere
Alex's Acting Page
http://www.alexriviere.com/
IsThyName - Free Blogs
http://www.isthy.name/
Received on Fri 10 Mar 2006 - 11:05:25 CET

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:06 CET