win32 Gtk2 signal_connect problem
- From: zentara <zentara1 sbcglobal net>
- To: gtk-perl-list gnome org
- Subject: win32 Gtk2 signal_connect problem
- Date: Sat, 18 Aug 2007 13:14:02 -0400
Hi,
Just for fun ( I mean self-torture :-) ) , I tried
to open a basic Gtk2 window today on my Windows Vista Basic
system. ( I almost always use Linux ).
Sorry if this has been asked before, but how do you close
them? I get the error
"Can't locate object method "signal_connect"........
#########################################
use Gtk2 -init;
my $window = Gtk2::Window->new;
$window->show_all;
$window->signal_connect(
delete_event => sub {
Gtk2->main_quit;
return 1;
}
);
Gtk2->main;
#########################################
It opens fine without the signal_connect.
zentara
--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]