hi ;

  i have a pbm with gtk_clist_append; i can't able to append the path to
the list.

  i given what i am doing. fs is the object of gtkfileselection widget.
i can able to display file and select the from file selection widget.
once i press ok button the path of selected file has to be appended to
the list. but file is not appending.

  i am just getting one row appended only when i display the complete
widget, using gtk_widget_show(win).

  what i have to do for appending then and there selected file, not
after show.

gchar *data[j];
gchar *data_app;

data[j] = (gchar *)gtk_file_selection_get_filename (GTK_FILE_SELECTION

g_print ("%s\n", data[j]);
data_app = (gchar *)&data[j];    
gtk_clist_append (GTK_CLIST (clist_sel),(gchar *) data_app);

"clist_sel" is the list widget reference using lookup widget.



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