1Gtk2::Gdk::Screen(3)  User Contributed Perl Documentation Gtk2::Gdk::Screen(3)
2
3
4

NAME

6       Gtk2::Gdk::Screen
7

HIERARCHY

9         Glib::Object
10         +----Gtk2::Gdk::Screen
11

METHODS

13       window = $screen->get_active_window
14
15       $screen->broadcast_client_message ($event)
16
17           * $event (Gtk2::Gdk::Event)
18
19       colormap = $screen->get_default_colormap
20
21       $screen->set_default_colormap ($colormap)
22
23           * $colormap (Gtk2::Gdk::Colormap)
24
25       screen or undef = Gtk2::Gdk::Screen->get_default
26
27       display = $screen->get_display
28
29       cairo_font_options_t or undef = $screen->get_font_options
30
31       $screen->set_font_options ($options)
32
33           * $options (cairo_font_options_t or undef)
34
35       integer = $screen->get_height
36
37       integer = $screen->get_height_mm
38
39       boolean = $screen->is_composited
40
41       list = $screen->list_visuals
42
43           Returns a list of Gtk2::Gdk::Visual's.
44
45       string = $screen->make_display_name
46
47       integer = $screen->get_monitor_at_point ($x, $y)
48
49           * $x (integer)
50           * $y (integer)
51
52       integer = $screen->get_monitor_at_window ($window)
53
54           * $window (Gtk2::Gdk::Window)
55
56       rectangle = $screen->get_monitor_geometry ($monitor_num)
57
58           * $monitor_num (integer)
59
60       integer = $screen->get_n_monitors
61
62       integer = $screen->get_number
63
64       double = $screen->get_resolution
65
66       $screen->set_resolution ($dpi)
67
68           * $dpi (double)
69
70       colormap = $screen->get_rgb_colormap
71
72       visual = $screen->get_rgb_visual
73
74       colormap or undef = $screen->get_rgba_colormap
75
76       visual or undef = $screen->get_rgba_visual
77
78       window = $screen->get_root_window
79
80       integer = $screen->get_screen_number
81
82       scalar = $screen->get_setting ($name)
83
84           * $name (string)
85
86       boolean = $screen->supports_net_wm_hint ($property)
87
88           * $property (Gtk2::Gdk::Atom)
89
90       colormap = $screen->get_system_colormap
91
92       visual = $screen->get_system_visual
93
94       list = $screen->get_toplevel_windows
95
96           Returns a list of Gtk2::Gdk::Window's.
97
98       integer = $screen->get_width
99
100       integer = $screen->get_width_mm
101
102       string = $screen->get_window_manager_name
103
104       list = $screen->get_window_stack
105

PROPERTIES

107       'font-options' (gpointer : readable / writable / private)
108           The default font options for the screen
109
110       'resolution' (double : readable / writable / private)
111           The resolution for fonts on the screen
112

SIGNALS

114       composited-changed (Gtk2::Gdk::Screen)
115       size-changed (Gtk2::Gdk::Screen)
116

SEE ALSO

118       Gtk2, Glib::Object
119
121       Copyright (C) 2003-2007 by the gtk2-perl team.
122
123       This software is licensed under the LGPL.  See Gtk2 for a full notice.
124
125
126
127perl v5.8.8                       2007-03-18              Gtk2::Gdk::Screen(3)
Impressum