gdk-sharp0.0.0.0neutralGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Object representing a physical screen.To be addedGLib.ObjectGLib.IWrapperConstructorInternal constructor
Pointer to the C object.
An instance of Screen, wrapping the C object.This is an internal constructor, and should not be used by user code.PropertyGdk.ScreenThe default screen of the default display.The default .Returns null if there iss no default display.PropertySystem.Int32To be addeda Returns an of the number of monitors attached to the current .The following example will print the number of monitors in the current display to the console.Display theDisplay = Display.OpenDefaultLibgtkOnly();
Screen defaultScreen = theDisplay.DefaultScreen;
int numMonitors = defaultScreen.NMonitors;
Console.WriteLine("You have {0} monitors.",numMonitors);
PropertyGdk.WindowTo be addeda To be addedPropertySystem.Int32The height of the screen in pixels.A with the number of pixels of the screen.PropertyGdk.DisplayTo be addeda To be addedPropertySystem.Int32To be addeda To be addedPropertyGdk.VisualTo be addeda To be addedPropertySystem.Int32The height of the screen in millimeters.A with the height of the screen in millimeters.PropertySystem.Int32The width of the screen in pixels.A with the number of pixels of the screen.PropertySystem.Int32The width of the screen in millimeters.A with the width of the screen in millimeters.PropertyGdk.ColormapTo be added
a a To be addedPropertyGdk.VisualTo be addeda To be addedPropertyGdk.ColormapTo be addeda To be addedPropertyGdk.ColormapTo be addeda To be addedEventSystem.EventHandlerTo be addedTo be addedMethodSystem.Int32Gets the monitor that contains most of the given window.
A whose main monitor is claimed.
A indicating the required monitor.If the window does not intersect any of the monitors, then the a close one is returned.MethodSystem.Int32Gets the monitor number where the point is located.
A representing the x coordinate on the virtual screen.
A representing the y coordinate on the virtual screen.
A indicating the monitor where the point is located.If the point isn't in any monitor, then the nearest monitor is returned.MethodSystem.VoidTo be added
a To be addedMethodSystem.BooleanTo be added
a
a a To be addedMethodSystem.StringTo be addeda To be addedMethodSystem.VoidDisposes the resources associated with this object.PropertyGLib.GTypeGType Property.a Returns the native value for .MethodSystem.VoidDefault handler for the event.Override this method in a subclass to provide a default handler for the event.ConstructorProtected Constructor.
a a Chain to this constructor if you have manually registered a native value for your subclass.PropertyGdk.Window[]To be addeda To be addedMethodGdk.Visual[]To be addeda To be addedMethodGdk.RectangleTo be added
a a To be addedConstructorTo be addeda To be added