Builder, connecting signals



Hi again.

In Gtk2, I used to use:

$glade_xml->signal_autoconnect_from_package( $self );

 ... which would make signals fired from Gtk trigger object methods in
$self. Is there a similar method in Gtk3 / Builder land?

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?

Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]