how to get title with gtk_clist_get_column_title



Hi,

I am trying to write a complete clist formatted to a user selected file.

The clist is displayed ok (with titles), but when I try to get the
titles the GString is always empty. Why?

Regards
Daniel Hops

sample code:
...
  gchar *temp;
  GString *titels;
...
 gtk_clist_column_titles_show (GTK_CLIST (pacs_clist));          /*
works  */
  temp = gtk_clist_get_column_title(GTK_CLIST (pacs_clist), 0);  /*
tried column 1 too */
  titels = g_string_new(temp);
  printf("Titels: %s ", titels->str);                            /*
prints only Titels:   (nothing)  */





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