File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,20 @@ LTK is a little toolkit for writing UIs in PyScript. Take a look at the [LTK Kit
33
44LTK is implemented as a declarative Python library and leverages ` jQuery ` for DOM operations.
55
6+ ## Installing LTK
7+
8+ Install LTK from pypi:
9+ ```
10+ python3 -m pip install pyscript-ltk
11+ ```
12+ ## Hello World
13+
14+ ``` python
15+ import ltk
16+
17+ ltk.Text(" Hello World" ).appendTo(ltk.body)
18+ ```
19+
620## Widget Specification
721
822New widget types are created by subclassing ` ltk.Widget ` :
@@ -141,4 +155,4 @@ twine upload dist/*
141155
142156# License
143157
144- _Microlog_ is released under version 1 of the [Server Side Public License (SSPL )](LICENSE ).
158+ _Microlog_ is released under version 1 of the [Server Side Public License (SSPL )](LICENSE ).
You can’t perform that action at this time.
0 commit comments