pyface.i_system_metrics module¶
The interface to system metrics (screen width and height etc).
- class pyface.i_system_metrics.ISystemMetrics(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]¶
Bases:
Interface
The interface to system metrics (screen width and height etc).
- screen_width = Int()¶
The width of the main screen in pixels.
- screen_height = Int()¶
The height of the main screen in pixels.
- screen_sizes = List(Tuple(Int, Int))¶
The height and width of each screen in pixels