The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Padre::Wx::Display - Utility functions for physical display geometry

DESCRIPTION

This module provides a collection of utility functions relating to the physical display geometry of the host Padre is running on.

These functions help choose the most visually elegant default sizes and positions for Padre windows, and allow Padre to adapt when the screen geometry of the host changes (which can be fairly common in the case of powerful multi-screen developer computers).

FUNCTIONS

primary

Locates and returns the primary display as a Wx::Display object.

primary_default

Generate a Wx::Rect (primarily for the Padre::Wx::Main window) which is a landscape-orientation golden-ratio rectangle on the primary display with a 10% margin.