clist:get titles and formatted savefile



Hello,

I am trying to get the column titles of a clist which is shown correctly
in a dialog window.
When I use the gtk_clist_get_column_title... and printf the result I
only get empty strings.
The titles are shown in the dialog via gtk_clist_column_titles_show.

Next question: has anybody written a method wich enables clists to be
printed to a specified text file
in a formatted way?

Regards
Daniel Hops

source:

GString *column_titel;

  for(c=0; c<columns; c++){
    column_titel = g_string_new((gtk_clist_get_column_title(GTK_CLIST
(clist), c)));
    printf("Titel: %s \n", column_titel->str);
}



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