Skip to content

Instantly share code, notes, and snippets.

View MatusGuy's full-sized avatar

Marty MatusGuy

View GitHub Profile
@MatusGuy
MatusGuy / desktopwidgetpreview.py
Created December 20, 2022 14:25
Preview QDesktopWidget dimensions with PyQt5
from PyQt5.QtWidgets import QApplication, QPushButton, QWidget
from PyQt5.QtCore import Qt
from sys import argv, exit
def main():
"""
shows giant button that covers whole desktop widget
press it to remove it
"""