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. HumphreyReceived on Fri 10 Mar 2006 - 10:39:35 CET
This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:06 CET