Re: help with a script
- From: Paul Rech <rechpj bitstream net>
- To: Monserand Gauthier <simkim simkim dyndns org>, perl gtk list <gtk-perl-list gnome org>
- Subject: Re: help with a script
- Date: Thu, 18 Apr 2002 16:56:46 -0500
That was exactly what I needed.
Thank you.
Paul R
Monserand Gauthier wrote:
Le Wed, 17 Apr 2002 15:39:59 -0500
Paul Rech <rechpj bitstream net> a ecrit:
Hi everyone,
I want to write an app in perl-gtk and I'm just starting out learning
the GTK part.
Can someone tell me how to close a window without closing the whole
program? I use :
$window->destroy()
Here is my sample script.
I know it's wretched. I'm just writing snippets to test out the
widgets and learn more.
The part I'm trying to figure out is the line right below the string
"XXXX".
# XXXX
$button->signal_connect( "pressed", sub { $window->destroy(); } );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]