Also if you are using GTK# 2.4 or GTK# 2.6, it is better to use the newer Gtk.FileChooserDialog or Gtk.FileChooserWidget that has a much improved UI, and is the preferred choice.
On 6/29/05, Christian Rudh <[EMAIL PROTECTED]> wrote: > Hi > > You can get the complete URI to the selected file through fs.Uri, or > fs.Uris if you have multiple selection enabled. > > > /Christian > > > On Wed, 2005-06-29 at 19:18 +0200, Michele Beltrame wrote: > > Hi! > > > > This might sound as a silly question, but I'm no Gtk wizard (yet ;-)) so > > I don't know how to achieve this. > > > > I have a Gtk.Fileselection dialog and I need to retrieve the chosen > > filename and also the path. There's no problem for the filename of course: > > > > string fname = fs.SelectionEntry.Text > > > > but I can't find a way to get the path which is displayed in the > > HistoryPulldown. > > I tried to dig into this property and the objects behind it, but even > > though I can go as down as MenuItems I don't know how to retrieve the > > label at that point. > > > > Thanks in advance, Michele. > > > > _______________________________________________ > Gtk-sharp-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list > -- Rafael "Monoman" Teixeira --------------------------------------- I'm trying to become a "Rosh Gadol" before my own eyes. See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment. It hurts! _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
