truck0321
2014-12-09 00:04:52 UTC
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.
_______________________________________________
Gtk-sharp-list maillist - Gtk-sharp-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
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.
_______________________________________________
Gtk-sharp-list maillist - Gtk-sharp-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list