Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions TUTORIAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ The full source code can also be found in the tutorial folder.
## Basic structure

```python

# you can also use from termuxgui import * to leave out the tg. to access methods and classes
import termuxgui as tg

Expand Down Expand Up @@ -321,7 +320,7 @@ As you can see, for nested LinearLayouts it is enough to set the height and weig

Currently supported inputs are EditText, Button and Checkbox.
Let's use our new LineaLayout knowledge to make a custom input dialog.
The make it a practical example, we will make a dialog frontend for the `youtubedr` package to download videos.
To make it a practical example, we will make a dialog frontend for the `youtubedr` package to download videos.
You can install that package if you want to try it out, but the UI works without that.

```python
Expand Down Expand Up @@ -465,7 +464,9 @@ You can install both using

You might need to do

export PYSDL2_DLL_PATH=$PREFIX/lib
```bash
export PYSDL2_DLL_PATH=$PREFIX/lib
```

for pysdl2 to find the sdl2 library.

Expand Down