The viewport is what you traditionally call a window in other GUI libraries.
In the case of DPG we call the operating system window the viewport and the DPG windows as windows.
- Before calling
start_dearpygui, you must do the following:
Create a viewport, using
Assign the viewport, using
Show the viewport, using
Once the viewport has been created, you can begin
configuring the viewport using
or the helper commands set_viewport_***.
Large/small icon must be set before showing the viewport (i.e. you will need to setup the viewport manually).