File chooser
- From: Peter Bloomfield <PeterBloomfield BellSouth net>
- To: GTK Mailing List <gtk-app-devel-list gnome org>
- Subject: File chooser
- Date: Thu, 03 Feb 2005 16:00:09 +0000
Hello!
I need some help with the new file chooser, in folder mode. The
widget should present a folder name to the user, with the option
to change it to either another existing folder or a new one.
GtkFileChooserDialog in GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER
mode seems to be the way to go. The initial folder can be set
using gtk_file_chooser_set_filename().
The problem is that the parent of the folder is shown in the
`save in folder' widget, but the `Name' entry is blank. The
basename of the folder can be forced into the `Name' entry with
gtk_file_chooser_set_current_name(), but it's treated as if the
user had just typed it in, and a completion list is popped up
when the dialog first appears.
Is there some reason the basename isn't shown by default? And is
there some way to get it into the `Name' entry without popping up
the completion list?
TIA!
Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]