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

Juanval juanval at gmail.com
Sun Sep 25 17:12:22 EDT 2005


Hi again

On 9/25/05, Christian Rudh <lists-christian at rudh.se> wrote:
> Hi
>
> I have never used the FileChooserButton, but don't you have a reference
> to the FileChooser dialog?

After reading again all monop output, it appears to me that the only
method (or property) related to the FileChooser Dialog is a
constructor:
public FileChooserButton (Widget dialog)

I could use that, but the problem is that I'm using Glade# to create
that part of the GUI, so I don't control the constructors of those
widgets.

Nice try, but unfortunately didn't work for me :'(
So, any other ideas out there?

Thanks in advance
bye

> /Christian
>
>
> On Sun, 2005-09-25 at 13:54 +0200, Juanval wrote:
> > 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
> > _______________________________________________
> > Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> >
> >
>
>


More information about the Gtk-sharp-list mailing list