Skip to content

Commit 87fa890

Browse files
authored
Merge pull request #7 from TSignalDev/doc
update examples.md
2 parents ef37d6c + 940db1d commit 87fa890

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/examples.md

+12
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,12 @@ This is a stepping stone to more complex stock monitoring examples.
405405
- `StockService`: Generates stock price updates in a worker thread
406406
- `StockProcessor`: Processes updates, applies alerts, and emits results
407407
- `StockViewModel`: Maintains state for the UI (in this case, a console UI)
408+
409+
**Screenshot:**
410+
<div align="center">
411+
<img src="https://raw.githubusercontent.com/TSignalDev/tsignal-python/refs/heads/main/docs/images/stock_monitor_console.png" alt="Stock Monitor Console" width="800"/>
412+
<p><em>Stock Monitor Console: Real-time price updates, alert configuration, and notification history in action</em></p>
413+
</div>
408414

409415
**What it demonstrates**:
410416
- Multi-threaded architecture with signals crossing between threads
@@ -473,6 +479,12 @@ This example is great for seeing how TSignal can be scaled up to more realistic,
473479
- `StockView` as a Kivy widget updates UI elements when signals fire
474480
- `set_alert` and `remove_alert` signals triggered from UI and handled by `StockProcessor`
475481

482+
**Screenshot:**
483+
<div align="center">
484+
<img src="https://raw.githubusercontent.com/TSignalDev/tsignal-python/refs/heads/main/docs/images/stock_monitor_ui.png" alt="Stock Monitor UI" width="800"/>
485+
<p><em>Stock Monitor UI: Real-time price updates, alert configuration, and notification history in action</em></p>
486+
</div>
487+
476488
**What it demonstrates**:
477489
- Integrating TSignal with Kivy’s main loop and UI elements
478490
- Thread-safe updates to UI from background workers

0 commit comments

Comments
 (0)