[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: better way to set signal in Gtk2::SimpleList ?
- From: "muppet" <scott asofyet org>
- To: gtk-perl-list gnome org
- Subject: Re: better way to set signal in Gtk2::SimpleList ?
- Date: Mon, 12 Sep 2005 14:49:38 -0400 (EDT)
Alexandre Jousset said:
> 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);
>
> ?
That's pretty much it.
It would be nice to create a new "some cell changed" signal, but since
SimpleList is created by reblessing (necessarily so, for the style of glade
support used), that's not possible.
--
muppet <scott at asofyet dot org>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]