hoffstadt / hoffstadt/DearPyGui

Ability to hide viewport

Open
#2,377 2 comments 1 reaction 0 assignees View on GitHub
state: pending type: improvement
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
I want my application to be able to minimize to the system tray using [pystray](https://pypi.org/project/pystray/) library.

**Describe the solution you'd like**
To do this, I need to hide the viewport in some way.
It would be nice to have a function dpg.set_viewport_visible(bool)

**Describe alternatives you've considered**
[PySide6](https://doc.qt.io/qtforpython-6/index.html) has a [.hide()](https://doc.qt.io/qtforpython-6/PySide6/QtGui/QWindow.html#PySide6.QtGui.QWindow.hide) method.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.