Screen
Object Hierarchy:
Description:
public class Screen :
Object
Screen objects are the GDK representation of the screen on which windows can be displayed and on which the pointer
moves.
X originally identified screens with physical screens, but nowadays it is more common to have a single Screen which
combines several physical monitors (see get_n_monitors).
GdkScreen is used throughout GDK and GTK+ to specify which screen the top level windows are to be displayed on. it is also used to query the
screen specification and default settings such as the default visual (gdk_screen_get_system_visual()), the dimensions of the physical monitors
(gdk_screen_get_monitor_geometry()), etc.
Content:
Properties:
Static methods:
- public static weak Screen get_default ()
Gets the default screen for the default display.
- public static int height ()
Returns the height of the default screen in pixels.
- public static int height_mm ()
Returns the height of the default screen in millimeters.
- public static int width ()
Returns the width of the default screen in pixels.
- public static int width_mm ()
Returns the width of the default screen in millimeters.
Creation methods:
Methods:
Signals:
- public signal void composited_changed ()
The composited_changed signal is emitted when the
composited status of the screen changes
- public signal void monitors_changed ()
The monitors_changed signal is emitted when the
number, size or position of the monitors attached to the screen change.
- public signal void size_changed ()
The size_changed signal is emitted when the pixel
width or height of a screen changes.
Inherited Members:
All known members inherited from class GLib.Object