[Gtk-sharp-list] Trying to retrieve selected folder from a FileChooserButton

Juanval juanval at gmail.com
Sun Sep 25 07:54:51 EDT 2005


Hi, I'm using Gtk-sharp 2.5.5, and I'm trying to get the selected path
in a Gtk.FileChooserButton, but I can't find a suitable method or
property to do it (and I've been diving through monop's output for
like an hour).

I've been searching through Google, and I've seen that in other
bindings (like the gtkmm or the Ruby one) there are methods like
get_current_folder (), or get_current_filename(). But in gtk-sharp
there seems to be no such methods :-(

I've even found this mail to this same list:
http://lists.ximian.com/pipermail/gtk-sharp-list/2005-May/005832.html
in wich Eric Butler sends a patch to add FileChooserButton support,
and there appear properties like CurrentFolder and CurrentFolderUri,
wich would do the job.

But in this 2.5.5 version, there are no such properties.

So, does anybody here know how to get that data from a
FileChooserButton? Or is it just impossible with these bindings as I
fear?

Thanks in advance


More information about the Gtk-sharp-list mailing list