[Gtk-sharp-list] Dual Monitor

truck0321 truck0321 at Hotmail.com
Tue Dec 9 00:04:52 UTC 2014

I am running windows and I'm looking for cross platform support of multiple
monitors.    I'd like to open a Gtk window on a second monitor.  The below
code returns the integer 0 no matter what monitor my Window resides on when
the code is run so it looks like it is not aware of a second monitor.  

Gdk.Screen screen = this.Screen;
int mon = screen.GetMonitorAtWindow(this.ParentWindow);

Someone made the suggestion of setting the monitor through Gtk.Window.Screen
but this method does not exist in gtk-sharp-2.12.25.  I am using Xamarin
Studio and my OS is Windows 7 x64.  

View this message in context: http://mono.1490590.n4.nabble.com/Dual-Monitor-tp4664935.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list