Re: [gtk-list] Re: Perl/Gtk 0.6123
- From: Paolo Molaro <lupus lettere unipd it>
- To: "gtk-list redhat com" <gtk-list redhat com>
- Subject: Re: [gtk-list] Re: Perl/Gtk 0.6123
- Date: Sat, 11 Sep 1999 21:45:53 +0200
On Sat, Aug 28, 1999 at 12:25:57AM -0400, Kenneth Albanowski wrote:
> > Are 'signal_connect_object(_after)' bound somehow? If not, I would
> > like to request them.
>
> Care to suggest what they should do? As far as I recall,
> gtk_signal_connect_object just provides a convenient way to bind a signal
> to a C function invoked with a particular object as a parameter: since the
> signal connection syntax in Perl/GTK is far more flexible, I've never seen
> the need. Feel free to think up a decent excuse. Or take a closer look at
> the signal_connect syntax.
Moreover, signal_connect_object cannot be bound in C because the
callback is not passed a user_data argument.
Anyway I added the support using perl code in Gtk.pm.
$obj1->signal_connect_object("burp", $slot_object, \&handler, $data);
lupus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]