We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, could you please implement an attribute called .refresh_rate? I only managed to get the primary monitor's refresh rate using:
.refresh_rate
# pip install pywin32 import win32api device = win32api.EnumDisplayDevices() settings = win32api.EnumDisplaySettings(device.DeviceName, -1) hz = settings.DisplayFrequency print(hz)
I don't know how/if this works on other OSes and with multi-monitor setups.
The text was updated successfully, but these errors were encountered:
+1, could be a really useful addition
Sorry, something went wrong.
+1, couldn't find a cross-platform way to get the monitor's refresh rate.
No branches or pull requests
Hello, could you please implement an attribute called
.refresh_rate
?I only managed to get the primary monitor's refresh rate using:
I don't know how/if this works on other OSes and with multi-monitor setups.
The text was updated successfully, but these errors were encountered: