----- Original Message ----- From: "Fabio D'Alfonso" <[email protected]>
To: <[email protected]>
Sent: Saturday, January 14, 2012 9:15 PM
Subject: [Perldl] Close Dialog On /GW Device PGPLOT


Hi all,
I am starting to use PDL for my work.
I have a trivial question about the PGPLOT graphic device on Windows. Is it possible to suppless the "Close" dialog?


This script produces the pop-up for me:

use PDL::Graphics::PGPLOT::Window;
$win = pgwin( dev=> '/GW');
sleep(2);
$win->close; # script exits and window closes when pop-up is clicked

But this one doesn't:

use PGPLOT;
$dev = '/GW';
pgbegin(0,$dev,1,1);
sleep(2);
pgclose; # script exits, /gw device still open.

However, in both cases the window needs to be closed with a mouseclick.

I don't know if there's anything there that helps - but understanding why that difference exists looks like a good starting point as regards the removal of that pop-up box.

Cheers,
Rob

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to