RE: [ILUG] Calling all X hackers

From: Caolan McNamara (Caolan.McNamara at domain ul.ie)
Date: Tue 14 Sep 1999 - 09:13:43 IST


On 13-Sep-99 Stephen Shirley wrote:
>Mornin',
> I need to find out the size of the current desktop in pixels. Anyone
>got any ideas how to go about this? I saw an WidthofScreen() function, but
>that requires me to pass in a "screen", whatever that is.

Pixels
WidthOfScreen(DefaultScreenOfDisplay(display));
milimeters
WidthMMOfScreen(DefaultScreenOfDisplay(display));

Ta-da.

C.

>
>Steve
>
>
> --
>Time. Time seems... strange
>
>--
>Irish Linux Users' Group: ilug at domain linux.ie
>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
>List maintainer: listmaster at domain linux.ie

Real Life: Caolan McNamara * Doing: MSc in HCI
Work: Caolan.McNamara at domain ul.ie * Phone: +353-86-8790257
URL: http://www.csn.ul.ie/~caolan * Sig: an oblique strategy
Discard an axiom



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:33 GMT