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

NAME

6       Gtk2::Gdk::Cursor
7

HIERARCHY

9         Glib::Boxed
10         +----Gtk2::Gdk::Cursor
11

METHODS

13   cursor = Gtk2::Gdk::Cursor->new ($cursor_type)
14           ·   $cursor_type (Gtk2::Gdk::CursorType)
15
16   cursor = Gtk2::Gdk::Cursor->new_for_display ($display, $cursor_type)
17           ·   $display (Gtk2::Gdk::Display)
18
19           ·   $cursor_type (Gtk2::Gdk::CursorType)
20
21           Since: gtk+ 2.2
22
23   cursor = Gtk2::Gdk::Cursor->new_from_name ($display, $name)
24           ·   $display (Gtk2::Gdk::Display)
25
26           ·   $name (string)
27
28           Since: gtk+ 2.8
29
30   cursor = Gtk2::Gdk::Cursor->new_from_pixbuf ($display, $pixbuf, $x, $y)
31           ·   $display (Gtk2::Gdk::Display)
32
33           ·   $pixbuf (Gtk2::Gdk::Pixbuf)
34
35           ·   $x (integer)
36
37           ·   $y (integer)
38
39           Since: gtk+ 2.4
40
41   cursor = Gtk2::Gdk::Cursor->new_from_pixmap ($source, $mask, $fg, $bg, $x,
42       $y)
43           ·   $source (Gtk2::Gdk::Pixmap)
44
45           ·   $mask (Gtk2::Gdk::Pixmap)
46
47           ·   $fg (Gtk2::Gdk::Color)
48
49           ·   $bg (Gtk2::Gdk::Color)
50
51           ·   $x (integer)
52
53           ·   $y (integer)
54
55   display = $cursor->get_display
56           Since: gtk+ 2.2
57
58   pixbuf = $cursor->get_image
59           Since: gtk+ 2.8
60
61   cursortype = $cursor->type

ENUMS AND FLAGS

63   enum Gtk2::Gdk::CursorType
64       ·   'x-cursor' / 'GDK_X_CURSOR'
65
66       ·   'arrow' / 'GDK_ARROW'
67
68       ·   'based-arrow-down' / 'GDK_BASED_ARROW_DOWN'
69
70       ·   'based-arrow-up' / 'GDK_BASED_ARROW_UP'
71
72       ·   'boat' / 'GDK_BOAT'
73
74       ·   'bogosity' / 'GDK_BOGOSITY'
75
76       ·   'bottom-left-corner' / 'GDK_BOTTOM_LEFT_CORNER'
77
78       ·   'bottom-right-corner' / 'GDK_BOTTOM_RIGHT_CORNER'
79
80       ·   'bottom-side' / 'GDK_BOTTOM_SIDE'
81
82       ·   'bottom-tee' / 'GDK_BOTTOM_TEE'
83
84       ·   'box-spiral' / 'GDK_BOX_SPIRAL'
85
86       ·   'center-ptr' / 'GDK_CENTER_PTR'
87
88       ·   'circle' / 'GDK_CIRCLE'
89
90       ·   'clock' / 'GDK_CLOCK'
91
92       ·   'coffee-mug' / 'GDK_COFFEE_MUG'
93
94       ·   'cross' / 'GDK_CROSS'
95
96       ·   'cross-reverse' / 'GDK_CROSS_REVERSE'
97
98       ·   'crosshair' / 'GDK_CROSSHAIR'
99
100       ·   'diamond-cross' / 'GDK_DIAMOND_CROSS'
101
102       ·   'dot' / 'GDK_DOT'
103
104       ·   'dotbox' / 'GDK_DOTBOX'
105
106       ·   'double-arrow' / 'GDK_DOUBLE_ARROW'
107
108       ·   'draft-large' / 'GDK_DRAFT_LARGE'
109
110       ·   'draft-small' / 'GDK_DRAFT_SMALL'
111
112       ·   'draped-box' / 'GDK_DRAPED_BOX'
113
114       ·   'exchange' / 'GDK_EXCHANGE'
115
116       ·   'fleur' / 'GDK_FLEUR'
117
118       ·   'gobbler' / 'GDK_GOBBLER'
119
120       ·   'gumby' / 'GDK_GUMBY'
121
122       ·   'hand1' / 'GDK_HAND1'
123
124       ·   'hand2' / 'GDK_HAND2'
125
126       ·   'heart' / 'GDK_HEART'
127
128       ·   'icon' / 'GDK_ICON'
129
130       ·   'iron-cross' / 'GDK_IRON_CROSS'
131
132       ·   'left-ptr' / 'GDK_LEFT_PTR'
133
134       ·   'left-side' / 'GDK_LEFT_SIDE'
135
136       ·   'left-tee' / 'GDK_LEFT_TEE'
137
138       ·   'leftbutton' / 'GDK_LEFTBUTTON'
139
140       ·   'll-angle' / 'GDK_LL_ANGLE'
141
142       ·   'lr-angle' / 'GDK_LR_ANGLE'
143
144       ·   'man' / 'GDK_MAN'
145
146       ·   'middlebutton' / 'GDK_MIDDLEBUTTON'
147
148       ·   'mouse' / 'GDK_MOUSE'
149
150       ·   'pencil' / 'GDK_PENCIL'
151
152       ·   'pirate' / 'GDK_PIRATE'
153
154       ·   'plus' / 'GDK_PLUS'
155
156       ·   'question-arrow' / 'GDK_QUESTION_ARROW'
157
158       ·   'right-ptr' / 'GDK_RIGHT_PTR'
159
160       ·   'right-side' / 'GDK_RIGHT_SIDE'
161
162       ·   'right-tee' / 'GDK_RIGHT_TEE'
163
164       ·   'rightbutton' / 'GDK_RIGHTBUTTON'
165
166       ·   'rtl-logo' / 'GDK_RTL_LOGO'
167
168       ·   'sailboat' / 'GDK_SAILBOAT'
169
170       ·   'sb-down-arrow' / 'GDK_SB_DOWN_ARROW'
171
172       ·   'sb-h-double-arrow' / 'GDK_SB_H_DOUBLE_ARROW'
173
174       ·   'sb-left-arrow' / 'GDK_SB_LEFT_ARROW'
175
176       ·   'sb-right-arrow' / 'GDK_SB_RIGHT_ARROW'
177
178       ·   'sb-up-arrow' / 'GDK_SB_UP_ARROW'
179
180       ·   'sb-v-double-arrow' / 'GDK_SB_V_DOUBLE_ARROW'
181
182       ·   'shuttle' / 'GDK_SHUTTLE'
183
184       ·   'sizing' / 'GDK_SIZING'
185
186       ·   'spider' / 'GDK_SPIDER'
187
188       ·   'spraycan' / 'GDK_SPRAYCAN'
189
190       ·   'star' / 'GDK_STAR'
191
192       ·   'target' / 'GDK_TARGET'
193
194       ·   'tcross' / 'GDK_TCROSS'
195
196       ·   'top-left-arrow' / 'GDK_TOP_LEFT_ARROW'
197
198       ·   'top-left-corner' / 'GDK_TOP_LEFT_CORNER'
199
200       ·   'top-right-corner' / 'GDK_TOP_RIGHT_CORNER'
201
202       ·   'top-side' / 'GDK_TOP_SIDE'
203
204       ·   'top-tee' / 'GDK_TOP_TEE'
205
206       ·   'trek' / 'GDK_TREK'
207
208       ·   'ul-angle' / 'GDK_UL_ANGLE'
209
210       ·   'umbrella' / 'GDK_UMBRELLA'
211
212       ·   'ur-angle' / 'GDK_UR_ANGLE'
213
214       ·   'watch' / 'GDK_WATCH'
215
216       ·   'xterm' / 'GDK_XTERM'
217
218       ·   'last-cursor' / 'GDK_LAST_CURSOR'
219
220       ·   'blank-cursor' / 'GDK_BLANK_CURSOR'
221
222       ·   'cursor-is-pixmap' / 'GDK_CURSOR_IS_PIXMAP'
223

SEE ALSO

225       Gtk2, Glib::Boxed
226
228       Copyright (C) 2003-2008 by the gtk2-perl team.
229
230       This software is licensed under the LGPL.  See Gtk2 for a full notice.
231
232
233
234perl v5.12.0                      2010-05-02              Gtk2::Gdk::Cursor(3)
Impressum