ncvue.ncvscreen#
ncvscreen class for screen size and resolution
This module was written by Matthias Cuntz while at Institut National de Recherche pour l’Agriculture, l’Alimentation et l’Environnement (INRAE), Nancy, France.
- copyright:
Copyright 2025- Matthias Cuntz - mc (at) macu (dot) de
- license:
MIT License, see LICENSE for details.
The following classes are provided:
|
Set window sizes and resolution |
- History
Written Nov 2025 by Matthias Cuntz (mc (at) macu (dot) de)
Add get/set_window_geometry from idle, Nov 2025, Matthias Cuntz
Get size from fullscreen window to deal with multiple monitors, Nov 2025, Matthias Cuntz
Update toplevel during zoom for Windows azure, Dec 2025, Matthias Cuntz
- class ncvScreen(top, **kwargs)[source]#
Bases:
objectSet window sizes and resolution
Methods
get_window_geometry(top)scale(x)Scales x by current dpi over dpi of development screen
Set xsize, ysize, xoffset, yoffset of secondary window
Set xsize, ysize, xoffset, yoffset of standard window
set_window_geometry