Re: Gtk2::Plug -- connect?
- From: "Ross McFarland" <rwmcfa1 neces com>
- To: "Matthew Weier OPhinney" <matthew-lists weierophinney net>
- Cc: gtk-perl-list gnome org
- Subject: Re: Gtk2::Plug -- connect?
- Date: Thu, 31 Jul 2003 13:37:56 -0400 (EDT)
Matthew Weier OPhinney said:
$plug->connect('destroy', <ref to some method/sub>);
should be:
$plug->signal_connect( destroy => <ref to some method/sub> );
the => part is optional, if you don't do it then the parameters are passed as
you did before.
g_object_signal_connect becomes signal_connect once the g_object prefix is
removed. see the file new-gtk2-perl.html in the gtk2-perl-xs root dir on cvs
for a description of how to map c names to their perl counterparts. if you
don't have a cvs check out take a look at the cvs browser on the project's
sourceforge page.
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gtk2-perl/gtk2-perl-xs/new-gtk2-perl.html
-rm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]