| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent caf6993 commit 64d7c1c
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | 3 | API reference will be generated here via mkdocstrings. | |
| 4 | 4 | ||
| 5 | - Key flags and helpers (0.2.0): | ||
| 5 | + Key flags and helpers: | ||
| 6 | 6 | ||
| 7 | 7 | - `pythonnative.utils.IS_ANDROID`: platform flag with robust detection for Chaquopy/Android. | |
| 8 | 8 | - `pythonnative.utils.get_android_context()`: returns the current Android Activity/Context when running on Android. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | 3 | High-level overview of PythonNative components and how they map to native UI. | |
| 4 | 4 | ||
| 5 | - ## Constructor pattern (0.2.0) | ||
| 5 | + ## Constructor pattern | ||
| 6 | 6 | ||
| 7 | 7 | - All core components share a consistent, contextless constructor on both platforms. | |
| 8 | 8 | - On Android, a `Context` is acquired implicitly from the current `Activity` set by `pn.Page`. | |
@@ -30,7 +30,7 @@ Notes: | |||
| 30 | 30 | - `pn.Page` stores the Android `Activity` so components like `pn.Button()` and `pn.Label()` can construct their native counterparts. | |
| 31 | 31 | - If you construct views before the `Page` is created on Android, a runtime error will be raised because no `Context` is available. | |
| 32 | 32 | ||
| 33 | - ## Core components (0.2.0) | ||
| 33 | + ## Core components | ||
| 34 | 34 | ||
| 35 | 35 | Stabilized with contextless constructors on both platforms: | |
| 36 | 36 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |||
| 4 | 4 | ||
| 5 | 5 | [project] | |
| 6 | 6 | name = "pythonnative" | |
| 7 | - version = "0.2.0" | ||
| 7 | + version = "0.3.0" | ||
| 8 | 8 | description = "Cross-platform native UI toolkit for Android and iOS" | |
| 9 | 9 | authors = [ | |
| 10 | 10 | { name = "Owen Carey" } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | from importlib import import_module | |
| 2 | 2 | from typing import Any, Dict | |
| 3 | 3 | ||
| 4 | - __version__ = "0.2.0" | ||
| 4 | + __version__ = "0.3.0" | ||
| 5 | 5 | ||
| 6 | 6 | __all__ = [ | |
| 7 | 7 | "ActivityIndicatorView", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments