[Gtk-sharp-list] WorkingArea ?

Peter Johanson latexer at gentoo.org
Fri Jul 6 11:41:16 EDT 2007


On Fri, Jul 06, 2007 at 05:09:43PM +0200, Mistral OZ wrote:
> Hello,
> 
> I'm presently working on creation of application with two windows on two 
> separated screens. I use Mono2 and Gtk Sharp2.
> 
> I want to know how to get the dimensions/resolution of each screen and 
> don't find any solution whitout WinForms.
> Can you redirect me on documentation for coding on multiscreen or help me ?

Check out Gdk.Display, which has static methods for getting instances of
Gdk.Screen class, which has the info you want.

-pete

http://go-mono.com/docs/monodoc.ashx?tlink=5@ecma%3a206%23Display%2f
http://go-mono.com/docs/monodoc.ashx?link=T%3aGdk.Screen



More information about the Gtk-sharp-list mailing list