better way to set signal in Gtk2::SimpleList ?



        Hello list,

        I'm using a Gtk2::SimpleList and it's great.

But in that list the 5th column is of type 'bool' and I would like to set a signal on it when it is toggled. Is there a better way than (the ugly-but-it-works):

($slist->get_column(4)->get_cell_renderers)[0]->signal_connect(toggled => \&callback);

        ?

        Thanx !
--
   \^/
 -/ O \----------------------------------------
| |/ \|       Alexandre (Midnite) Jousset      |
 -|___|----------------------------------------



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