Release 1.0.2

This commit is contained in:
2026-07-07 16:42:15 +01:00
parent ac678e8dce
commit ceba71927d
7 changed files with 41 additions and 4 deletions

View File

@@ -43,6 +43,17 @@ with dpg.window(label="Engine"):
dpgg.status_light(tag="ecu", label="ECU", state=True)
```
Gauges also accept Dear PyGui's usual `parent` argument for adding a gauge to an
existing container after that container has already been created:
```python
dpg.add_window(tag="data_input", label="Data Input")
dpgg.analog_gauge(tag="rpm", parent="data_input", label="RPM")
```
The `parent` is applied to the gauge's outer group. The gauge's internal drawlist
is then parented to that group.
## GUI-Thread Contract
Dear PyGui item operations must happen on the GUI thread. Gauge creation and runtime updates such as