Re: Builder, connecting signals
- From: Dan Kasak <daniel kasak 247realmedia com>
- To: <gtk-perl-list gnome org>
- Subject: Re: Builder, connecting signals
- Date: Tue, 19 Feb 2013 10:27:44 +1100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]