Re: [Vala] Gtk.FileChooserButton
- From: Al Thomas <astavale yahoo co uk>
- To: Sascha Manns <Sascha Manns mailbox org>, vala-list <vala-list gnome org>
- Subject: Re: [Vala] Gtk.FileChooserButton
- Date: Mon, 10 Apr 2017 17:46:25 +0000 (UTC)
From: Sascha Manns <Sascha Manns 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 fileChooserRevUpd;
private void on_fileChooserRevUpd_file_set () {
revupdfolder = fileChooserRevUpd.current_folder;
}
But it looks like there is no way to get the current folder like
Gtk-Sharp it does, or?
It is likely to be:
revupdfolder = fileChooserRevUpd.get_current_folder ();
Valadoc shows that FileChooserButton implements FileChooser:
https://valadoc.org/gtk+-3.0/Gtk.FileChooserButton.html
On that Valadoc page there is a sub-section "All known members
inherited from interface Gtk.FileChooser". One of those is the
method get_current_folder (). It doesn't look like there is a
similar property.
Regards,
Al
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]