[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to get number of rows in a clist
- From: Tim =?iso-8859-15?q?M=FCller?= <zen18864 zen co uk>
- To: =?iso-8859-15?q?G=FCnther=20Rapp?= <guenther rapp-informatik de>,gtk-app-devel-list gnome org
- Subject: Re: How to get number of rows in a clist
- Date: Wed, 3 Sep 2003 12:36:59 +0100
On Wednesday 03 September 2003 12:19, Günther Rapp wrote:
Hi,
> How to get number of rows in a clist filled with the
> gtk_clist_append or
> gtk_clist_insert
> function.
I suppose you can either
(a) use GTK_CLIST(clist)->rows,
or
(b) just keep track of the row count yourself, doing ++/-- whenever
you insert/append or remove a row.
Given that GtkCList is deprecated, it is unlikely that the structure will be
changed in the future, so I suppose it's safe to use clist->rows
<obligatory nagging>
You should not use GtkCList any longer, you should use GtkTreeView and
friends ;-)
</nagging>
Cheers
-Tim
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]