gdk-sharp2.0.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Object representing a physical screen.To be addedGLib.ObjectConstructorInternal constructor
Pointer to 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 addeda 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 addedGLib.Signal(CName="size_changed")MethodSystem.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 addedPropertyGLib.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 Chain to this constructor if you have manually registered a native value for your subclass.System.Obsolete(Message=null, IsError=False)PropertyGdk.Window[]To be addeda To be addedMethodGdk.Visual[]To be addeda To be addedMethodGdk.RectangleTo be added
a a To be addedConstructorTo be addedTo be added