1Gtk2::Gdk::Screen(3) User Contributed Perl Documentation Gtk2::Gdk::Screen(3)
2
3
4
6 Gtk2::Gdk::Screen
7
9 Glib::Object
10 +----Gtk2::Gdk::Screen
11
13 window = $screen->get_active_window
14 Since: gtk+ 2.10
15
16 $screen->broadcast_client_message ($event)
17 · $event (Gtk2::Gdk::Event)
18
19 colormap = $screen->get_default_colormap
20 $screen->set_default_colormap ($colormap)
21 · $colormap (Gtk2::Gdk::Colormap)
22
23 screen or undef = Gtk2::Gdk::Screen->get_default
24 display = $screen->get_display
25 fontoptions or undef = $screen->get_font_options
26 Since: gtk+ 2.10
27
28 $screen->set_font_options ($options)
29 · $options (Cairo::FontOptions or undef)
30
31 Since: gtk+ 2.10
32
33 integer = $screen->get_height
34 integer = $screen->get_height_mm
35 boolean = $screen->is_composited
36 Since: gtk+ 2.10
37
38 list = $screen->list_visuals
39 Returns a list of Gtk2::Gdk::Visual's.
40
41 string = $screen->make_display_name
42 integer = $screen->get_monitor_at_point ($x, $y)
43 · $x (integer)
44
45 · $y (integer)
46
47 integer = $screen->get_monitor_at_window ($window)
48 · $window (Gtk2::Gdk::Window)
49
50 rectangle = $screen->get_monitor_geometry ($monitor_num)
51 · $monitor_num (integer)
52
53 integer = $screen->get_monitor_height_mm ($monitor_num)
54 · $monitor_num (integer)
55
56 Since: gtk+ 2.14
57
58 string or undef = $screen->get_monitor_plug_name ($monitor_num)
59 · $monitor_num (integer)
60
61 Since: gtk+ 2.14
62
63 integer = $screen->get_monitor_width_mm ($monitor_num)
64 · $monitor_num (integer)
65
66 Since: gtk+ 2.14
67
68 integer = $screen->get_n_monitors
69 integer = $screen->get_number
70 double = $screen->get_resolution
71 Since: gtk+ 2.10
72
73 $screen->set_resolution ($dpi)
74 · $dpi (double)
75
76 Since: gtk+ 2.10
77
78 colormap = $screen->get_rgb_colormap
79 visual = $screen->get_rgb_visual
80 colormap or undef = $screen->get_rgba_colormap
81 Since: gtk+ 2.8
82
83 visual or undef = $screen->get_rgba_visual
84 Since: gtk+ 2.8
85
86 window = $screen->get_root_window
87 integer = $screen->get_screen_number
88 Since: gtk+ 2.2
89
90 scalar = $screen->get_setting ($name)
91 · $name (string)
92
93 boolean = $screen->supports_net_wm_hint ($property)
94 · $property (Gtk2::Gdk::Atom)
95
96 Since: gtk+ 2.2
97
98 colormap = $screen->get_system_colormap
99 visual = $screen->get_system_visual
100 list = $screen->get_toplevel_windows
101 Returns a list of Gtk2::Gdk::Window's.
102
103 integer = $screen->get_width
104 integer = $screen->get_width_mm
105 string = $screen->get_window_manager_name
106 Since: gtk+ 2.2
107
108 list = $screen->get_window_stack
109 Since: gtk+ 2.10
110
112 'font-options' (gpointer : readable / writable / private)
113 The default font options for the screen
114
115 'resolution' (double : readable / writable / private)
116 The resolution for fonts on the screen
117
119 composited-changed (Gtk2::Gdk::Screen)
120 size-changed (Gtk2::Gdk::Screen)
121 monitors-changed (Gtk2::Gdk::Screen)
122
124 Gtk2, Glib::Object
125
127 Copyright (C) 2003-2008 by the gtk2-perl team.
128
129 This software is licensed under the LGPL. See Gtk2 for a full notice.
130
131
132
133perl v5.12.0 2010-05-02 Gtk2::Gdk::Screen(3)