Re: [gtkmm] TreeModel::foreach_iter
- From: David Jensen <djensen inebraska com>
- To: David Jensen <djensen inebraska com>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] TreeModel::foreach_iter
- Date: Sun, 22 Aug 2004 22:09:33 -0500
David Jensen wrote:
i have:
void
DirList::Config_Update()
{
ls->foreach_iter(sigc::mem_fun(*this, &DirList::slot_update));
}
bool
DirList::slot_update(const Gtk::TreeModel::iterator& iter)
{
(*iter)[ls->dlc.color] = Color[(*iter)[ls->dlc.type]];
return TRUE;
}
so far; calling Config_Update() sets the GDK::Color 'ListStore' column
to the value in the Color array[FileType column]. But it does set the
first row, all others are updated correctly.
Does 'NOT' set the first row.
anyone see what i've done wrong?
David Jensen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]