Re: Multi monitor environment
- From: "John Cupitt" <jcupitt gmail com>
- To: 3saul <saul_lethbridge hotmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Multi monitor environment
- Date: Fri, 23 Jun 2006 11:00:42 +0100
On 6/23/06, 3saul <saul_lethbridge hotmail com> wrote:
How do I find out which monitor my application is on in a multiple monitor
environment?
There's GdkScreen which is supposed to have this information, at least
in a traditional X multihead setup:
http://developer.gnome.org/doc/API/2.0/gdk/GdkScreen.html
This isn't going to give useful information if a window straddles a
screen, eg. in Xinerama or Win32-style multihead.
You might also be able to control which screen your windows appear on
by setting this, though I've never tried it. And it might not work on
non-X backends.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]