Re: display path



srinivas wrote:
hi;

     i have fileselection widget button, and when i clicked the button,
file window is opening and i can able to select the files. now i want
what ever the files i selected that path has to be displayed. for
displaying i would like to use either tree view or clist. which one will
be the better. and if so any example for appending file path to that
particular widget.

    Better not use a GtkCList, its depricated and has been known
to have problems; to achieve a similar functionality, you can use
a GtkTreeView with a GtkListStore for the model.

Appending file paths will consist of calls to gtk_list_store_append ()
and gtk_list_store_set_value () (or varients).

Cheers,
                                   -Tristan



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