2.309 .screen_width[integer]

With this attribute of the setup object the width of screen I in pixels can be queried.

The indexed attribute is available only for multiscreen dialogs (Motif only) or in a multi-monitor environment (Windows only), where the index can be in the valid range from 1 to setup.screencount.

The value is dynamic in a multi-monitor environment under Windows, since you can add or remove monitors at any time.

Definition

  • Data type

    integer

  • Access

    get

Remark Motif:

The IDM for Motif provides multi-screen support. Please note that the screen index is something else than the screen number e.g. obtained with the program xdpyinfo.

See also chapter “Multiscreen support under Motif” in manual “Programming Techniques”

An example dialog can be found at the display resource.

Remark Windows:

The IDM for Windows has multi-monitor support starting with IDM version A.06.03.a.

See also: chapter “Multi-monitor support under Windows” in manual “Programming Techniques”.