1Gtk2::Gdk::Display(3) User Contributed Perl DocumentationGtk2::Gdk::Display(3)
2
3
4
6 Gtk2::Gdk::Display
7
9 Glib::Object
10 +----Gtk2::Gdk::Display
11
13 $display->beep
14 $display->close
15 device = $display->get_core_pointer
16 $display->set_cursor_theme ($theme, $size)
17 · $theme (string)
18
19 · $size (integer)
20
21 Since: gtk+ 2.8
22
23 integer = $display->get_default_cursor_size
24 Since: gtk+ 2.4
25
26 display or undef = Gtk2::Gdk::Display->get_default
27 window = $display->get_default_group
28 Since: gtk+ 2.4
29
30 screen = $display->get_default_screen
31 $display->set_double_click_distance ($distance)
32 · $distance (integer)
33
34 Since: gtk+ 2.4
35
36 $display->set_double_click_time ($msec)
37 · $msec (integer)
38
39 event = $display->get_event
40 $display->flush
41 Since: gtk+ 2.4
42
43 $display->grab
44 $display->keyboard_ungrab ($time_)
45 · $time_ (unsigned)
46
47 list = $display->list_devices
48 Returns a list of Gtk2::Gdk::Devices
49
50 (width, height) = $display->get_maximal_cursor_size
51 Since: gtk+ 2.4
52
53 integer = $display->get_n_screens
54 string = $display->get_name
55 display or undef = Gtk2::Gdk::Display->open ($display_name)
56 · $display_name (string or undef)
57
58 event = $display->peek_event
59 list = $display->get_pointer
60 boolean = $display->pointer_is_grabbed
61 $display->pointer_ungrab ($time_)
62 · $time_ (unsigned)
63
64 $display->put_event ($event)
65 · $event (Gtk2::Gdk::Event)
66
67 $display->register_standard_event_type ($event_base, $n_events)
68 · $event_base (integer)
69
70 · $n_events (integer)
71
72 Since: gtk+ 2.4
73
74 boolean = $display->request_selection_notification ($selection)
75 · $selection (Gtk2::Gdk::Atom)
76
77 Since: gtk+ 2.6
78
79 screen = $display->get_screen ($screen_num)
80 · $screen_num (integer)
81
82 string = $display->get_startup_notification_id
83 Since: gtk+ 2.12
84
85 $display->store_clipboard ($clipboard_window, $time_, ...)
86 · $clipboard_window (Gtk2::Gdk::Window)
87
88 · $time_ (unsigned)
89
90 · ... (list) of Gtk2::Gdk::Atom's
91
92 Since: gtk+ 2.6
93
94 boolean = $display->supports_clipboard_persistence
95 Since: gtk+ 2.6
96
97 boolean = $display->supports_composite
98 Since: gtk+ 2.12
99
100 boolean = $display->supports_cursor_alpha
101 Since: gtk+ 2.4
102
103 boolean = $display->supports_cursor_color
104 Since: gtk+ 2.4
105
106 boolean = $display->supports_input_shapes
107 Since: gtk+ 2.10
108
109 boolean = $display->supports_selection_notification
110 Since: gtk+ 2.6
111
112 boolean = $display->supports_shapes
113 Since: gtk+ 2.10
114
115 $display->sync
116 $display->ungrab
117 unsigned = $display->get_user_time
118 Since: gtk+ 2.8
119
120 $display->warp_pointer ($screen, $x, $y)
121 · $screen (Gtk2::Gdk::Screen)
122
123 · $x (integer)
124
125 · $y (integer)
126
127 Since: gtk+ 2.8
128
129 (window, win_x, win_y) = $display->get_window_at_pointer ($display)
131 closed (Gtk2::Gdk::Display, boolean)
132
134 Gtk2, Glib::Object
135
137 Copyright (C) 2003-2008 by the gtk2-perl team.
138
139 This software is licensed under the LGPL. See Gtk2 for a full notice.
140
141
142
143perl v5.12.0 2010-05-02 Gtk2::Gdk::Display(3)