Re: GtkCList: number of columns



On Wednesday 24 November 2004 01:57, Neil Zanella wrote:

> Is there a way to get the number of columns in the deprecated GtkCList
> widget?

  guint num_columns;
  g_object_get (clist, "n-columns", &num_columns, NULL);

or just

  GTK_CLIST (clist)->columns


See:
http://developer.gnome.org/doc/API/2.0/gtk/GtkCList.html#GtkCList--n-columns

Cheers
 -Tim




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]