You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6de021a
Browse filesBrowse the repository at this point in the historyBrowse files
-**B-8** A host draws a Python-declared application root with
391
-
`python.multiplatform.compose.PythonContent(root: PyObject)` or `PythonContent(module, attribute)`,
391
+
`python.multiplatform.compose.PythonAppView(modifier, module, attribute)`(or `PythonWidget(composableName, modifier, moduleName)` or `PythonWidget(root: PyObject)`, inside a `PythonLauncher { }` that starts the interpreter),
392
392
from the `python-multiplatform-compose` module (`python-multiplatform` itself does not depend on
393
393
Compose). The root is a Python callable, or a Compose `State` that Python holds whose value is that
394
394
callable. The state is read inside the composition, so a Python write into it replaces the root on
395
395
the next frame with no host call; Python callables a root passed into composables are released when
396
396
that root is replaced or the composition is disposed. The entry point names no library.
397
-
`Status: implemented` on desktop, `ksp-fixtures/compose/.../PythonContentRenderTest.kt`; the module
397
+
`Status: implemented` on desktop, `ksp-fixtures/compose/.../PythonAppViewRenderTest.kt`; the module
398
398
compiles for Android, nothing runs there yet.
399
399
-**B-7** The plugin generates `.pyi` stubs for the Kotlin-named modules only, under Kotlin names
400
400
plus their U-12 Pythonic aliases (`fill_max_width = fillMaxWidth` beside each module `def`, a second
0 commit comments