signals pending
- From: "Jorge P Costa" <jorge adis com br>
- To: gtk-perl-list gnome org
- Subject: signals pending
- Date: Wed, 25 Aug 2004 23:52:28 -0300
I have the following perl code:
use Gtk2 '-init';
use Glib qw/TRUE FALSE/;
my $window = Gtk2::Window->new('toplevel');
$window->signal_connect('destroy' => sub{ Gtk2->main_quit });
my $entry = Gtk2::Entry->new;
$entry->signal_connect('focus_out_event' => sub{ print "focus out\n" });
$window->show_all;
Gtk2->main;
exit 0;
And I want to ignore the "focus out event" when closing the window. How can I
do it??
Thanxs...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]