better way to set signal in Gtk2::SimpleList ?
- From: Alexandre Jousset <mid gtmp org>
- To: gtk-perl-list gnome org
- Subject: better way to set signal in Gtk2::SimpleList ?
- Date: Mon, 12 Sep 2005 16:06:20 +0200
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]