gtk2-perl signal_connect()

Hi all,

I am having trouble in a signal handler connected either by
$button->signal_connect() or Gtk2::GSignal->connect($button). 
Both pass the classname as the first arg to the handler rather than a 
ref to the actual widget. 

Gtk-Perl passes a ref to the widget and I reckon that this is the
desired behaviour so that you can work with the widget in the handler.

Regards, Dermot

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