Tuner.File
A file or folder picker: an editable text row with a button that opens the system file dialog. The selected file is written as a file:// URI.
| Property | Type | Description |
|---|---|---|
title | string | Row title |
select-folder | bool | Pick a folder instead of a file |
Usually used together with Tuner.PathTransform to show a clean, human-readable path:
blp
Tuner.File {
title: _("Background image");
binding: Tuner.Setting {
schema-id: "org.gnome.desktop.background";
schema-key: "picture-uri";
transform: Tuner.PathTransform {
hide-uri-prefix: true;
fold-home-path: true;
};
};
}