rows_reordered signal trouble?
- From: Jeff Mock <jeff-ml mock com>
- To: gtk-perl-list gnome org
- Subject: rows_reordered signal trouble?
- Date: Wed, 24 Sep 2003 10:46:44 -0700
I don't seem to be able to get a rows_reordered signal from a
Gtk2::ListStore.
I have a Gtk2::SimpleList and I would like to recalculate values
for a particular column if the user reorders the rows of the list.
I do something like:
# $slist is a Gtk2::SimpleList
my $model = $slist->get_model(); # $model is a Gtk2::ListStore
$model->signal_connect(rows_reordered => sub { print "Woohoo\n"; });
I never seem to get a rows_reordered signal when rows are reordered
in the list. I get row_changed and row_inserted, but not
rows_reordered. Gtk2::ListStore implements Gtk2::TreeModel, so I
think I should get this signal. Does anyone know what's going on?
Please be gentle, I'm kind of an idiot.
jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]