gdk-sharp2.10.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 addedPropertyGdk.VisualA Visual to use for creating Drawables with an alpha channel.a or .Returns if the capability is not available. See for caveats.PropertyGdk.ColormapA Colormap to use for creating Drawables with an alpha channel.a or .The windowing system may not support this capability, in which case will be returned. Even if a non- value is returned, its possible that the drawable's alpha channel won't be honored when displaying on screen: in particular, for X an appropriate windowing manager and compositing manager must be running to provide appropriate display.EventGLib.Signal(CName="composited_changed")System.EventHandlerRaised when the composited status of the screen changes.MethodSystem.VoidDefault handler for the event.PropertyGLib.Property(Name="resolution")System.DoubleThe resolution for fonts on the screen.the scaling factor from pango units to cairo units.The default is -1.PropertyGLib.Property(Name="font-options")Cairo.FontOptionsThe default font options for the screen.The default .If multiple accesses to this information are needed, you may want to consider cacheing the result. The get accessor needs to use reflection to create the FontOptions instance and could possibly cause performance issues if called frequently.PropertyGdk.WindowThe current active window for the screen.a .Returns if there is no current active window or the window manager doesn't support the necessary properties to determine the active window.PropertySystem.BooleanIndicates if compositing is supported.If compositing is supported.Indicates if RGBA visuals with an alpha value can be expected to have their alpha channel drawn properly on screen.PropertyGdk.Window[]The current window stack for the screen.an array of representing the window stack.This property depends on optional Window Manager features. If the feature is not supported, an empty array will be returned.