Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwhitman committed May 22, 2024
1 parent e9c80fe commit 81f6fa6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/tulip_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ You can summon a touch keyboard with `tulip.keyboard()`. Tapping the keyboard ic
We boot a launcher for common operations. It's available via the small grey icon on the bottom right.


**TODO** write a better UIScreen tutorial here

```python
screen = UIScreen(name, keep_tfb = False, bg_color=default_bg_color, offset_x=default_offset_x, offset_y=default_offset_y,
activate_callback=None, quit_callback=None, deactivate_callback=None, handle_keyboard=False):
```

```python
tulip.keyboard() # open or close the soft keyboard
tulip.launcher() # open or close our launcher
Expand Down

0 comments on commit 81f6fa6

Please sign in to comment.