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:

ncvScreen(top, **kwargs)

Set window sizes and resolution

History
  • Written Nov 2025 by Matthias Cuntz (mc (at) macu (dot) de)

class ncvScreen(top, **kwargs)[source]#

Bases: object

Set window sizes and resolution

Methods

scale(x)

Scales x by current dpi over dpi of development screen

secondary_window_size()

Set xsize, ysize, xoffset, yoffset of secondary window

standard_window_size()

Set xsize, ysize, xoffset, yoffset of standard window

scale(x)[source]#

Scales x by current dpi over dpi of development screen

secondary_window_size()[source]#

Set xsize, ysize, xoffset, yoffset of secondary window

standard_window_size()[source]#

Set xsize, ysize, xoffset, yoffset of standard window