Re: WinXP and secondary screen



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/9/2005 3:51 AM, principher webspeed dk wrote:
I am currently working on an application which should show some
graphics on a fullscreen window in the secondary monitor. I have
looked at the information on
http://www.gtk.org/api/2.6/gdk/multihead.html, but on Windows XP
(which is the primary development platform) the program returns that
I have only one screen, eventhough I am quite sure I have two. :) Is
there some other way of checking for and using the secondary screen
in GTK. The reason I want to use GTK is that I would like the program
to run on Windows and Linux, Unix, MAC.

My guess is that, on Windows, the multihead support is showing up
similarly as how Xinerama works on X11.  So in other words, you have a
single GdkScreen, but multiple logical monitors under that screen.  You
can figure out the number and geometry of these using
gdk_screen_get_n_monitors() and gdk_screen_get_monitor_geometry().  Note
that this is a case you need to be aware of on X11 systems as well.

        -brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFDmeB/6XyW6VEeAnsRAiwmAJ9Y206XwGhZLaFVXF3vE8k9QzkYSgCffFNr
SV+BqaETg/oWnpuQDhwwqlc=
=UhnJ
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]