|
|
发表于 2006-4-3 17:05:47
|
显示全部楼层
This function returns the selected filename in the on-disk encoding (see g_filename_from_utf8()), which may or may not be the same as that used by GTK+ (UTF-8). To convert to UTF-8, call g_filename_to_utf8(). The returned string points to a statically allocated buffer and should be copied if you plan to keep it around.
Retrieves the currently selected filename from the file selection dialog. If no file is selected then the selected directory path is returned.
http://www-eleves-isia.cma.fr/do ... ECTION-GET-FILENAME
hope it will help |
|