1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
27
  
28
  
29
  
30
  
31
  
32
  
33
  
34
  
35
  
36
  
37
  
38
  
39
  
40
  
41
  
42
  
43
  
44
  
45
  
46
  
47
  
48
  
49
  
50
  
51
  
52
  
53
  
54
  
55
  
56
  
57
  
58
  
59
  
60
  
61
  
62
  
63
  
64
  
65
  
66
  
67
  
68
  
69
  
70
  
71
  
72
  
73
  
74
  
75
  
76
  
77
  
78
  
79
  
80
  
81
  
82
  
83
  
84
  
85
  
86
  
87
  
88
  
89
  
90
  
91
  
92
  
93
  
94
  
95
  
96
  
97
  
98
  
99
  
100
  
101
  
102
  
103
  
104
  
105
  
106
  
107
  
108
  
109
  
110
  
111
  
112
  
113
  
114
  
115
  
116
  
117
  
118
  
119
  
120
  
121
  
122
  
123
  
124
  
125
  
126
  
127
  
128
  
129
  
130
  
131
  
132
  
133
  
134
  
135
  
136
  
137
  
138
  
139
  
140
  
141
  
142
  
143
  
144
  
145
  
146
  
147
  
148
  
149
  
150
  
151
  
152
  
153
  
154
  
155
  
156
  
157
  
//! Properties: 
//! font-options 
//! float resolution 
//! 
//! 
//!  Signals: 
//! @b{composited_changed@} 
//! 
//! @b{size_changed@} 
//! 
 
inherit G.Object; 
 
protected GDK2.Screen create( ); 
//! Gets the default screen. 
//! 
//! 
 
GTK2.GdkWindow get_active_window( ); 
//! Returns the currently active window. 
//! 
//! 
 
GTK2.GdkColormap get_default_colormap( ); 
//! Gets the default colormap. 
//! 
//! 
 
GTK2.GdkDisplay get_display( ); 
//! Gets the display to which this screen belongs. 
//! 
//! 
 
int get_height( ); 
//! Gets the height in pixels. 
//! 
//! 
 
int get_height_mm( ); 
//! Returns the height in millimeters. 
//! 
//! 
 
int get_monitor_at_point( int x, int y ); 
//! Returns the monitor number in which x,y is located. 
//! 
//! 
 
int get_monitor_at_window( GTK2.GdkWindow window ); 
//! Returns the number of the monitor in which the largest area of the 
//! bounding rectangle of window resides. 
//! 
//! 
 
GTK2.GdkRectangle get_monitor_geometry( int num ); 
//! Retrieves the GDK2.Rectangle representing the size and position of the 
//! individual monitor within the entire screen area. 
//! 
//! 
 
int get_n_monitors( ); 
//! Returns the number of monitors which this screen consists of. 
//! 
//! 
 
int get_number( ); 
//! Gets the index of this screen among the screens in the display to which 
//! it belongs. 
//! 
//! 
 
float get_resolution( ); 
//! Gets the resolution for font handling. 
//! 
//! 
 
GTK2.GdkColormap get_rgb_colormap( ); 
//! Gets the preferred colormap for rendering image data. 
//! 
//! 
 
GTK2.GdkVisual get_rgb_visual( ); 
//! Get a "preferred visual" chosen by GdkRGB for rendering image data. 
//! 
//! 
 
GTK2.GdkColormap get_rgba_colormap( ); 
//! Gets a colormap to use for creating windows or pixmaps with an alpha 
//! channel. 
//! 
//! 
 
GTK2.GdkVisual get_rgba_visual( ); 
//! Gets a visual to use for creating windows or pixmaps with an alpha 
//! channel. 
//! 
//! 
 
GTK2.GdkWindow get_root_window( ); 
//! Gets the root window. 
//! 
//! 
 
GTK2.GdkColormap get_system_colormap( ); 
//! Gets the system default colormap. 
//! 
//! 
 
GTK2.GdkVisual get_system_visual( ); 
//! Get the default system visual. 
//! 
//! 
 
array get_toplevel_windows( ); 
//! Returns a list of all toplevel windows known to GDK on the screen. 
//! 
//! 
 
int get_width( ); 
//! Gets the width of the screen in pixels. 
//! 
//! 
 
int get_width_mm( ); 
//! Gets the width in millimeters. 
//! 
//! 
 
int is_composited( ); 
//! Returns whether windows with an RGBA visual can reasonable be expected 
//! to have their alpha channel drawn correctly on the screen. 
//! 
//! 
 
array list_visuals( int|void def ); 
//! List the available visuals.  If def is true, return the available visuals 
//! for the default screen. 
//! 
//! 
 
string make_display_name( ); 
//! Determines the name to pass to GDK2.Display->open() to get a GDK2.Display 
//! with this screen as the default screen. 
//! 
//! 
 
GDK2.Screen set_default_colormap( GTK2.GdkColormap colormap ); 
//! Sets the default colormap. 
//! 
//! 
 
GDK2.Screen set_resolution( float dpi ); 
//! Sets the resolution for font handling. 
//! 
//!