Re: Builder, connecting signals
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Builder, connecting signals
- Date: Mon, 18 Feb 2013 12:22:51 +0100
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]