1Gtk2::Gdk::Display(3) User Contributed Perl DocumentationGtk2::Gdk::Display(3)
2
3
4
6 Gtk2::Gdk::Display - wrapper for GdkDisplay
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 boolean = $display->is_closed
45 Since: gtk+ 2.22
46
47 $display->keyboard_ungrab ($time_)
48 · $time_ (unsigned)
49
50 list = $display->list_devices
51 Returns a list of Gtk2::Gdk::Devices
52
53 (width, height) = $display->get_maximal_cursor_size
54 Since: gtk+ 2.4
55
56 integer = $display->get_n_screens
57 string = $display->get_name
58 display or undef = Gtk2::Gdk::Display->open ($display_name)
59 · $display_name (string or undef)
60
61 event = $display->peek_event
62 list = $display->get_pointer
63 boolean = $display->pointer_is_grabbed
64 $display->pointer_ungrab ($time_)
65 · $time_ (unsigned)
66
67 $display->put_event ($event)
68 · $event (Gtk2::Gdk::Event)
69
70 $display->register_standard_event_type ($event_base, $n_events)
71 · $event_base (integer)
72
73 · $n_events (integer)
74
75 Since: gtk+ 2.4
76
77 boolean = $display->request_selection_notification ($selection)
78 · $selection (Gtk2::Gdk::Atom)
79
80 Since: gtk+ 2.6
81
82 screen = $display->get_screen ($screen_num)
83 · $screen_num (integer)
84
85 string = $display->get_startup_notification_id
86 Since: gtk+ 2.12
87
88 $display->store_clipboard ($clipboard_window, $time_, ...)
89 · $clipboard_window (Gtk2::Gdk::Window)
90
91 · $time_ (unsigned)
92
93 · ... (list) of Gtk2::Gdk::Atom's
94
95 Since: gtk+ 2.6
96
97 boolean = $display->supports_clipboard_persistence
98 Since: gtk+ 2.6
99
100 boolean = $display->supports_composite
101 Since: gtk+ 2.12
102
103 boolean = $display->supports_cursor_alpha
104 Since: gtk+ 2.4
105
106 boolean = $display->supports_cursor_color
107 Since: gtk+ 2.4
108
109 boolean = $display->supports_input_shapes
110 Since: gtk+ 2.10
111
112 boolean = $display->supports_selection_notification
113 Since: gtk+ 2.6
114
115 boolean = $display->supports_shapes
116 Since: gtk+ 2.10
117
118 $display->sync
119 $display->ungrab
120 unsigned = $display->get_user_time
121 Since: gtk+ 2.8
122
123 $display->warp_pointer ($screen, $x, $y)
124 · $screen (Gtk2::Gdk::Screen)
125
126 · $x (integer)
127
128 · $y (integer)
129
130 Since: gtk+ 2.8
131
132 (window, win_x, win_y) = $display->get_window_at_pointer ($display)
134 closed (Gtk2::Gdk::Display, boolean)
135
137 Gtk2, Glib::Object
138
140 Copyright (C) 2003-2011 by the gtk2-perl team.
141
142 This software is licensed under the LGPL. See Gtk2 for a full notice.
143
144
145
146perl v5.32.0 2020-07-28 Gtk2::Gdk::Display(3)