setting GtkFileSelection to a default directory



I did some experimenting today with a working GtkFileSelection widget by
trying to get the widget to appear with a previously determined default
directory other than the directory that the application is currently running
in. I tried gtk_file_selection_complete( fs, patternString), and then tried
gtk_file_selection_set_filename(fs, filename) using g_filename_from_utf8()
also to no avail.  Any suggestions are very welcome and appreciated.
Sydney



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