tk appdata
Gives the folder of the platform for the data of the app.
tk appdata
Description
Gives the folder where the backend keeps the files of the app, such as the folder of the app on a phone. In the jail of a root folder, the path is from the root. A backend with no such folder gives an empty string, as the headless backend does.
Returns
A path, or an empty string.
Examples
# The headless backend has no folder for the data of the app.
% tk appdata
Errors
% tk appdata x
wrong # args: should be "tk appdata"
-errorcode TCL WRONGARGS
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.4