Re: I need the length of a Clist and erased the message.
- From: Tim Müller <zen18864 zen co uk>
 
- To: gtk-app-devel-list gnome org,	Murilo Tuvani <murilo_tuvani yahoo com br>
 
- Cc: 
 
- Subject: Re: I need the length of a Clist and erased the message.
 
- Date: Mon, 7 Jun 2004 17:06:05 +0100
 
On Monday 07 June 2004 16:57, Murilo Tuvani wrote:
Sorry I erasade a message that I need to read, a few
days ago thera was an message that explained how to
get the length of a Clist, 
 http://mail.gnome.org/archives/gtk-app-devel-list/2004-June/thread.html
I tried to do 
g_print("\nLength of list %d", list->length);
list is GtkCList  *list; but the gcc says
"structure has no member named `length'"
thanks for your help, I use GTK 1.2.
Try     
  list->rows
or
 GTK_CLIST (list)->rows 
if your list is GtkWidget *list;
Cheers
 -Tim
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]