dfvscreen#

dfvscreen 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:

dfvScreen(top, **kwargs)

Set window sizes and resolution

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

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

Bases: object

Set window sizes and resolution

Methods

readcsv_window_size()

Set xsize, ysize, xoffset, yoffset of read csv file window

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

transform_window_size()

Set xsize, ysize, xoffset, yoffset of transform window

readcsv_window_size()[source]#

Set xsize, ysize, xoffset, yoffset of read csv file 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

transform_window_size()[source]#

Set xsize, ysize, xoffset, yoffset of transform window