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: Tue, 24 Aug 2004 11:16:30 -0500
David Jensen wrote:
Martin Schulze wrote:
I don't understand! What changes did you make your original code
working:
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;
}
SORRY, i'm still stepping in it!
DirList::slot_update(const Gtk::TreeModel::iterator& iter)
{
(*iter)[ls->dlc.color] = Color[(*iter)[ls->dlc.type]];
return FALSE;
}
TRUE wont work!! it quits after one iter
David Jensen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]