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
15           * $cursor_type (Gtk2::Gdk::CursorType)
16
17       cursor = Gtk2::Gdk::Cursor->new_for_display ($display, $cursor_type)
18
19           * $display (Gtk2::Gdk::Display)
20           * $cursor_type (Gtk2::Gdk::CursorType)
21
22       cursor = Gtk2::Gdk::Cursor->new_from_name ($display, $name)
23
24           * $display (Gtk2::Gdk::Display)
25           * $name (string)
26
27       cursor = Gtk2::Gdk::Cursor->new_from_pixbuf ($display, $pixbuf, $x, $y)
28
29           * $display (Gtk2::Gdk::Display)
30           * $pixbuf (Gtk2::Gdk::Pixbuf)
31           * $x (integer)
32           * $y (integer)
33
34       cursor = Gtk2::Gdk::Cursor->new_from_pixmap ($source, $mask, $fg, $bg,
35       $x, $y)
36
37           * $source (Gtk2::Gdk::Pixmap)
38           * $mask (Gtk2::Gdk::Pixmap)
39           * $fg (Gtk2::Gdk::Color)
40           * $bg (Gtk2::Gdk::Color)
41           * $x (integer)
42           * $y (integer)
43
44       display = $cursor->get_display
45
46       pixbuf = $cursor->get_image
47
48       cursortype = $cursor->type
49

ENUMS AND FLAGS

51       enum Gtk2::Gdk::CursorType
52
53       * 'x-cursor' / 'GDK_X_CURSOR'
54       * 'arrow' / 'GDK_ARROW'
55       * 'based-arrow-down' / 'GDK_BASED_ARROW_DOWN'
56       * 'based-arrow-up' / 'GDK_BASED_ARROW_UP'
57       * 'boat' / 'GDK_BOAT'
58       * 'bogosity' / 'GDK_BOGOSITY'
59       * 'bottom-left-corner' / 'GDK_BOTTOM_LEFT_CORNER'
60       * 'bottom-right-corner' / 'GDK_BOTTOM_RIGHT_CORNER'
61       * 'bottom-side' / 'GDK_BOTTOM_SIDE'
62       * 'bottom-tee' / 'GDK_BOTTOM_TEE'
63       * 'box-spiral' / 'GDK_BOX_SPIRAL'
64       * 'center-ptr' / 'GDK_CENTER_PTR'
65       * 'circle' / 'GDK_CIRCLE'
66       * 'clock' / 'GDK_CLOCK'
67       * 'coffee-mug' / 'GDK_COFFEE_MUG'
68       * 'cross' / 'GDK_CROSS'
69       * 'cross-reverse' / 'GDK_CROSS_REVERSE'
70       * 'crosshair' / 'GDK_CROSSHAIR'
71       * 'diamond-cross' / 'GDK_DIAMOND_CROSS'
72       * 'dot' / 'GDK_DOT'
73       * 'dotbox' / 'GDK_DOTBOX'
74       * 'double-arrow' / 'GDK_DOUBLE_ARROW'
75       * 'draft-large' / 'GDK_DRAFT_LARGE'
76       * 'draft-small' / 'GDK_DRAFT_SMALL'
77       * 'draped-box' / 'GDK_DRAPED_BOX'
78       * 'exchange' / 'GDK_EXCHANGE'
79       * 'fleur' / 'GDK_FLEUR'
80       * 'gobbler' / 'GDK_GOBBLER'
81       * 'gumby' / 'GDK_GUMBY'
82       * 'hand1' / 'GDK_HAND1'
83       * 'hand2' / 'GDK_HAND2'
84       * 'heart' / 'GDK_HEART'
85       * 'icon' / 'GDK_ICON'
86       * 'iron-cross' / 'GDK_IRON_CROSS'
87       * 'left-ptr' / 'GDK_LEFT_PTR'
88       * 'left-side' / 'GDK_LEFT_SIDE'
89       * 'left-tee' / 'GDK_LEFT_TEE'
90       * 'leftbutton' / 'GDK_LEFTBUTTON'
91       * 'll-angle' / 'GDK_LL_ANGLE'
92       * 'lr-angle' / 'GDK_LR_ANGLE'
93       * 'man' / 'GDK_MAN'
94       * 'middlebutton' / 'GDK_MIDDLEBUTTON'
95       * 'mouse' / 'GDK_MOUSE'
96       * 'pencil' / 'GDK_PENCIL'
97       * 'pirate' / 'GDK_PIRATE'
98       * 'plus' / 'GDK_PLUS'
99       * 'question-arrow' / 'GDK_QUESTION_ARROW'
100       * 'right-ptr' / 'GDK_RIGHT_PTR'
101       * 'right-side' / 'GDK_RIGHT_SIDE'
102       * 'right-tee' / 'GDK_RIGHT_TEE'
103       * 'rightbutton' / 'GDK_RIGHTBUTTON'
104       * 'rtl-logo' / 'GDK_RTL_LOGO'
105       * 'sailboat' / 'GDK_SAILBOAT'
106       * 'sb-down-arrow' / 'GDK_SB_DOWN_ARROW'
107       * 'sb-h-double-arrow' / 'GDK_SB_H_DOUBLE_ARROW'
108       * 'sb-left-arrow' / 'GDK_SB_LEFT_ARROW'
109       * 'sb-right-arrow' / 'GDK_SB_RIGHT_ARROW'
110       * 'sb-up-arrow' / 'GDK_SB_UP_ARROW'
111       * 'sb-v-double-arrow' / 'GDK_SB_V_DOUBLE_ARROW'
112       * 'shuttle' / 'GDK_SHUTTLE'
113       * 'sizing' / 'GDK_SIZING'
114       * 'spider' / 'GDK_SPIDER'
115       * 'spraycan' / 'GDK_SPRAYCAN'
116       * 'star' / 'GDK_STAR'
117       * 'target' / 'GDK_TARGET'
118       * 'tcross' / 'GDK_TCROSS'
119       * 'top-left-arrow' / 'GDK_TOP_LEFT_ARROW'
120       * 'top-left-corner' / 'GDK_TOP_LEFT_CORNER'
121       * 'top-right-corner' / 'GDK_TOP_RIGHT_CORNER'
122       * 'top-side' / 'GDK_TOP_SIDE'
123       * 'top-tee' / 'GDK_TOP_TEE'
124       * 'trek' / 'GDK_TREK'
125       * 'ul-angle' / 'GDK_UL_ANGLE'
126       * 'umbrella' / 'GDK_UMBRELLA'
127       * 'ur-angle' / 'GDK_UR_ANGLE'
128       * 'watch' / 'GDK_WATCH'
129       * 'xterm' / 'GDK_XTERM'
130       * 'last-cursor' / 'GDK_LAST_CURSOR'
131       * 'cursor-is-pixmap' / 'GDK_CURSOR_IS_PIXMAP'
132

SEE ALSO

134       Gtk2, Glib::Boxed
135
137       Copyright (C) 2003-2007 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.8.8                       2007-03-18              Gtk2::Gdk::Cursor(3)
Impressum