Set up working directory

Hi!

I would like to know how to organize setting up of working directory with GUI (something like TGFileInfo)?

Thank you,
Dmitri

Hi Dmitri,

I’m not sure to understand exactly what you mean…
You can change directory with :
gSystem->ChangeDirectory(const char *path);
But there is no specific gui tool (widget) to do this.

Cheers,
Bertrand.

Thank you, Bertrand,

Bad news…It means that i have to write something like TGFileDialog class but for directory…
I don’t see any other way for interactive selection of directory with GUI…

Regards,
Dmitri

See proposed solution here: TGFileDialog new option to open / save to a folder, instead of a file by ferdymercury · Pull Request #7237 · root-project/root · GitHub

[EDIT] → It’s now in ROOT master :slight_smile: