Exemplo n.º 1
0
    private void OpenPressed()
    {
        FileDialog fd = GetNode <FileDialog>("/root/Window/CenterContainer/FileDialog");

        fd.ClearFilters();
        string homePath = Environment.GetEnvironmentVariable("HOME");

        fd.CurrentDir  = homePath;
        fd.CurrentPath = $"{homePath}/";
        fd.Popup_();
    }