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
3
3
4
4
LTK is implemented as a declarative Python library and leverages ` jQuery ` for DOM operations.
5
5
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
+
6
20
## Widget Specification
7
21
8
22
New widget types are created by subclassing ` ltk.Widget ` :
@@ -141,4 +155,4 @@ twine upload dist/*
141
155
142
156
# License
143
157
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