> From: Sascha Manns <sascha.ma...@mailbox.org>
> Sent: Monday, 10 April 2017, 18:35
> Subject: [Vala] Gtk.FileChooserButton
> In Vala i tried to port it:
> public string revupdfolder { get; set; }
> [Gtk.Child] private Gtk.FileChooserButton fileChoos
Sorry, I wrote my reply without reading your code thoroughly...
In Vala, what you're looking for is implemented as a method not as a
property:
https://valadoc.org/gtk+-3.0/Gtk.FileChooser.html
https://valadoc.org/gtk+-3.0/Gtk.FileChooser.get_current_folder.html
Cheers
Chris D
2017-04-10 10:42
Hi Sascha,
FileChooserButton implements the FileChooser interface, so I believe the
method you want to use is get_current_foler_file:
https://valadoc.org/gtk+-3.0/Gtk.FileChooser.get_current_folder_file.html
Cheers
Chris D
2017-04-10 10:34 GMT-07:00 Sascha Manns :
>
Hello list,
i tried out to get a special folder from a Gtk.FileChooserButton.
In Mono/Gtk-Sharp i used:
public string RevUpdFolder { get; set; }
[Builder.Object] private FileChooserButton FileChooserRevUpd;
protected void OnFileChooserRevUpdFileSet(object sender, EventArgs e)
{
RevUpdFolder =