Re: Cancelling a fileselection widget

Hi there ...

$window->cancel_button->signal_connect("clicked", sub {

$window is in this case a Gtk::FileSelection object.

with friendly regards....
        jens luedicke <jens irs-net com>

PMC - Perl Mail Client

perl -le 'use Inline C=>("bool debcheck(){\n#ifdef DEBIAN\n
return TRUE;\n#endif\n}");&debcheck==0||print"This is a Debian System!"'

----- Original Message -----
From: Bob Wilkinson <bob9960 btinternet com>
To: gtk-perl-list gnome org
Subject: Cancelling a fileselection widget


     I have a fileselection widget in my application. I've associated a signal
handler with the cancel button. However, none of the things I've tried work as
I'd like.

    Gtk->exit(0) kills the whole application - I only want to kill the widget.

    I've tried the obvious things, like calling close on the fileselection 
object, but this method isn't recognised. I found that a fileselection ISA
Gtk::Window, but this doesn't have a close method associated with it, either.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]