Re: New list/tree model questions
- From: Jonathan Blandford <jrb redhat com>
- To: Owen Taylor <otaylor redhat com>
- Cc: Havoc Pennington <hp redhat com>, Maxim Koshelev <max krascoal ru>, gtk-app-devel-list gnome org
- Subject: Re: New list/tree model questions
- Date: 12 Mar 2002 00:36:57 -0500
Owen Taylor <otaylor redhat com> writes:
As a side note, my current favorite idiom for iterating over
all rows in a model is:
gboolean valid;
for (valid = gtk_tree_model_get_iter_first (model, &iter);
valid;
valid = gtk_tree_model_iter_next (model, &iter))
{
[ Do something with &iter ]
}
Nice. I just updated the FAQ and examples with this information.
Hopefully we can cut down on this problem in the future.
Thanks,
-Jonathan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]