Re: Fileselection question
- From: Pascal <evilynux yahoo com>
- To: edepagne eso org
- Cc: gtk-perl-list gnome org
- Subject: Re: Fileselection question
- Date: Wed, 9 Jul 2003 23:58:25 +0200 (CEST)
Having seen your code, I can tell you that you can do it with the following :
$file_dialog->ok_button->signal_connect( "clicked", sub {
$fichier = $file_dialog->get_filename(),
$file_dialog->hide(),
print "$fichier\n"});
$file_dialog->cancel_button->signal_connect( "clicked", sub { $file_dialog->hide() } );
-Pascal
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]