Release 1.0.2
This commit is contained in:
11
README.md
11
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user