gdk-sharpGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.GLib.ObjectObject representing a physical screen.To be addedConstructorTo be addedTo be addedConstructor
Pointer to the C object.
Internal constructorThis is an internal constructor, and should not be used by user code.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.EventGLib.Signal("composited-changed")System.EventHandlerRaised when the composited status of the screen changes.PropertyGdk.ScreenThe default screen of the default display.The default .Returns null if there iss no default display.PropertyGdk.DisplayTo be addeda To be addedPropertyGLib.Property("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.MethodSystem.Int32
A representing the x coordinate on the virtual screen.
A representing the y coordinate on the virtual screen.
Gets the monitor number where the point is located.A indicating the monitor where the point is located.If the point isn't in any monitor, then the nearest monitor is returned.MethodSystem.Int32
A whose main monitor is claimed.
Gets the monitor that contains most of the given window.A indicating the required monitor.If the window does not intersect any of the monitors, then the a close one is returned.MethodGdk.Rectangle
a To be addeda To be addedMethodSystem.Int32
To be added.
To be added.To be added.To be added.MethodSystem.String
To be added.
To be added.To be added.To be added.MethodSystem.Int32
To be added.
To be added.To be added.To be added.MethodSystem.Boolean
a
a To be addeda To be addedPropertyGLib.GTypeGType Property.a Returns the native value for .PropertySystem.Int32The height of the screen in pixels.A with the number of pixels of the screen.PropertySystem.Int32The height of the screen in millimeters.A with the height of the screen in millimeters.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.MethodGdk.Visual[]To be addeda To be addedMethodSystem.StringTo be addeda To be addedEventGLib.Signal("monitors-changed")System.EventHandlerTo be added.To be added.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);
PropertySystem.Int32To be addeda To be addedMethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideBroadcastClientMessage", Type=typeof(Gdk.Screen))System.Void
To be added.
To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideCompositedChanged", Type=typeof(Gdk.Screen))System.VoidDefault handler for the event.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetActiveWindow", Type=typeof(Gdk.Screen))Gdk.WindowTo be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetDisplay", Type=typeof(Gdk.Screen))Gdk.DisplayTo be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetHeight", Type=typeof(Gdk.Screen))System.Int32To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetHeightMm", Type=typeof(Gdk.Screen))System.Int32To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetMonitorGeometry", Type=typeof(Gdk.Screen))System.Void
To be added.
To be added.
To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetMonitorHeightMm", Type=typeof(Gdk.Screen))System.Int32
To be added.
To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetMonitorPlugName", Type=typeof(Gdk.Screen))System.String
To be added.
To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetMonitorWidthMm", Type=typeof(Gdk.Screen))System.Int32
To be added.
To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetNMonitors", Type=typeof(Gdk.Screen))System.Int32To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetNumber", Type=typeof(Gdk.Screen))System.Int32To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetPrimaryMonitor", Type=typeof(Gdk.Screen))System.Int32To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetRgbaVisual", Type=typeof(Gdk.Screen))Gdk.VisualTo be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetRootWindow", Type=typeof(Gdk.Screen))Gdk.WindowTo be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetSetting", Type=typeof(Gdk.Screen))System.Boolean
To be added.
To be added.
To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetSystemVisual", Type=typeof(Gdk.Screen))Gdk.VisualTo be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetWidth", Type=typeof(Gdk.Screen))System.Int32To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetWidthMm", Type=typeof(Gdk.Screen))System.Int32To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideGetWindowStack", Type=typeof(Gdk.Screen))Gdk.Window[]To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideIsComposited", Type=typeof(Gdk.Screen))System.BooleanTo be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideListVisuals", Type=typeof(Gdk.Screen))GLib.ListTo be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideMakeDisplayName", Type=typeof(Gdk.Screen))System.StringTo be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideMonitorsChanged", Type=typeof(Gdk.Screen))System.VoidDefault handler for the event.Override this method in a subclass to provide a default handler for the event.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideQueryDepths", Type=typeof(Gdk.Screen))System.Void
To be added.
To be added.
To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideQueryVisualTypes", Type=typeof(Gdk.Screen))System.Void
To be added.
To be added.
To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideSizeChanged", Type=typeof(Gdk.Screen))System.VoidDefault handler for the event.Override this method in a subclass to provide a default handler for the event.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideVisualGetBest", Type=typeof(Gdk.Screen))Gdk.VisualTo be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideVisualGetBestDepth", Type=typeof(Gdk.Screen))System.Int32To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideVisualGetBestType", Type=typeof(Gdk.Screen))Gdk.VisualTypeTo be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideVisualGetBestWithBoth", Type=typeof(Gdk.Screen))Gdk.Visual
To be added.
To be added.
To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideVisualGetBestWithDepth", Type=typeof(Gdk.Screen))Gdk.Visual
To be added.
To be added.To be added.To be added.MethodGLib.DefaultSignalHandler(ConnectionMethod="OverrideVisualGetBestWithType", Type=typeof(Gdk.Screen))Gdk.Visual
To be added.
To be added.To be added.To be added.PropertySystem.Int32To be added.To be added.To be added.PropertyGLib.Property("resolution")System.DoubleThe resolution for fonts on the screen.the scaling factor from pango units to cairo units.The default is -1.PropertyGdk.VisualA Visual to use for creating Drawables with an alpha channel.a or .Returns if the capability is not available. See for caveats.PropertyGdk.WindowTo be addeda To be addedEventGLib.Signal("size-changed")System.EventHandlerTo be addedTo be addedPropertyGdk.VisualTo be addeda To be addedPropertyGdk.Window[]To be addeda To be addedPropertySystem.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.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.