Re: [Vala] Gtk.FileChooserButton



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]