| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,11 +16,13 @@ branches throughout the codebase. | |||
| 16 | 16 | ||
| 17 | 17 | | Attribute | Values | | |
| 18 | 18 | |---|---| | |
| 19 | - | `Platform.OS` | `"ios"`, `"android"`, or `"test"` | | ||
| 19 | + | `Platform.OS` | `"ios"`, `"android"`, `"desktop"`, or `"test"` | | ||
| 20 | 20 | | `Platform.Version` | Best-effort OS version string | | |
| 21 | - | `Platform.is_ios` / `Platform.is_android` / `Platform.is_test` | Booleans | | ||
| 21 | + | `Platform.is_ios` / `Platform.is_android` / `Platform.is_desktop` / `Platform.is_test` | Booleans | | ||
| 22 | 22 | | `Platform.select(spec, default=None)` | Pick a value matching the current platform | | |
| 23 | 23 | ||
| 24 | + - `"desktop"` means the `pn preview` Tkinter backend. | ||
| 25 | + | ||
| 24 | 26 | ## See also | |
| 25 | 27 | ||
| 26 | 28 | - [Window dimensions, safe area, keyboard hooks](hooks.md) for | |
| Back | FazBrowse Home | New Git URL |
0 commit comments