Getting folder names



Hi,

I am using glade to design the interface and I have a
file selection dialog. I know how to get the file
selection. But how exactly do I go about getting
folder names ?

I tried doing this but this doesn;t work.

const char *output;
output =
gtk_file_selection_get_filename(GTK_FILE_SELECTION(TopLevelWidget)->fileop_c_dir);
    

fprintf(stderr, "\n%s\n", output);

Thanks in advance.

Gautam


                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com



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