On Mon, 2013-02-18 at 11:22 +0000, Torsten Schoenfeld wrote:
> On 18.02.2013 07:40, Dan Kasak wrote:
> > I'm using:
> >
> > $builder->connect_signals( $self );
> >
> >   ... and my method in $self gets called, but not in an OO way ... I
> > don't get $self passed in. My error I assume. What should I be doing?
> 
> The first (non-invocant) parameter to connect_signals is the user data 
> passed to the callbacks.  The optional second argument is an object you 
> want the callbacks to be invoked on.  So this should work:
> 
>    $builder->connect_signals ($data, $self);

:) And once again ... thanks ...

Dan

_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to