File: shell-shell-xfixes-cursor.html

package info (click to toggle)
gnome-shell 3.4.2-7%2Bdeb7u2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 16,316 kB
  • sloc: ansic: 43,092; sh: 11,950; makefile: 595; xml: 191; python: 13
file content (247 lines) | stat: -rw-r--r-- 14,594 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>shell-xfixes-cursor</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
<link rel="home" href="index.html" title="Shell Reference Manual">
<link rel="up" href="ch06.html" title="Integration helpers and utilities">
<link rel="prev" href="shell-ShellWM.html" title="ShellWM">
<link rel="next" href="shell-shell-util.html" title="shell-util">
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="shell-ShellWM.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch06.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Shell Reference Manual</th>
<td><a accesskey="n" href="shell-shell-util.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#shell-shell-xfixes-cursor.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#shell-shell-xfixes-cursor.description" class="shortcut">Description</a>
                   | 
                  <a href="#shell-shell-xfixes-cursor.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#shell-shell-xfixes-cursor.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#shell-shell-xfixes-cursor.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="shell-shell-xfixes-cursor"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="shell-shell-xfixes-cursor.top_of_page"></a>shell-xfixes-cursor</span></h2>
<p>shell-xfixes-cursor — Capture/manipulate system mouse cursor.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="shell-shell-xfixes-cursor.synopsis"></a><h2>Synopsis</h2>
<a name="ShellXFixesCursor"></a><pre class="synopsis"><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="returnvalue">ShellXFixesCursor</span></a> * <a class="link" href="shell-shell-xfixes-cursor.html#shell-xfixes-cursor-get-for-stage" title="shell_xfixes_cursor_get_for_stage ()">shell_xfixes_cursor_get_for_stage</a>   (<em class="parameter"><code><span class="type">ClutterStage</span> *stage</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="shell-shell-xfixes-cursor.html#shell-xfixes-cursor-show" title="shell_xfixes_cursor_show ()">shell_xfixes_cursor_show</a>            (<em class="parameter"><code><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *xfixes_cursor</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="shell-shell-xfixes-cursor.html#shell-xfixes-cursor-hide" title="shell_xfixes_cursor_hide ()">shell_xfixes_cursor_hide</a>            (<em class="parameter"><code><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *xfixes_cursor</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="shell-shell-xfixes-cursor.html#shell-xfixes-cursor-get-hot-x" title="shell_xfixes_cursor_get_hot_x ()">shell_xfixes_cursor_get_hot_x</a>       (<em class="parameter"><code><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *xfixes_cursor</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="shell-shell-xfixes-cursor.html#shell-xfixes-cursor-get-hot-y" title="shell_xfixes_cursor_get_hot_y ()">shell_xfixes_cursor_get_hot_y</a>       (<em class="parameter"><code><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *xfixes_cursor</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="shell-shell-xfixes-cursor.html#shell-xfixes-cursor-update-texture-image" title="shell_xfixes_cursor_update_texture_image ()">shell_xfixes_cursor_update_texture_image</a>
                                                        (<em class="parameter"><code><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *xfixes_cursor</code></em>,
                                                         <em class="parameter"><code><span class="type">ClutterTexture</span> *texture</code></em>);
                    <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursorClass" title="ShellXFixesCursorClass">ShellXFixesCursorClass</a>;
                    <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor-struct" title="ShellXFixesCursor">ShellXFixesCursor</a>;
</pre>
</div>
<div class="refsect1">
<a name="shell-shell-xfixes-cursor.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GObject
   +----ShellXFixesCursor
</pre>
</div>
<div class="refsect1">
<a name="shell-shell-xfixes-cursor.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor--stage" title='The "stage" property'>stage</a>"                    <span class="type">ClutterStage</span>*         : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1">
<a name="shell-shell-xfixes-cursor.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor-cursor-change" title='The "cursor-change" signal'>cursor-change</a>"                                  : <code class="literal">Run Last</code>
</pre>
</div>
<div class="refsect1">
<a name="shell-shell-xfixes-cursor.description"></a><h2>Description</h2>
<p>
The <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> object uses the XFixes extension to show/hide the
the system mouse pointer, to grab its image as it changes, and emit a
notification when its image changes.
</p>
</div>
<div class="refsect1">
<a name="shell-shell-xfixes-cursor.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="shell-xfixes-cursor-get-for-stage"></a><h3>shell_xfixes_cursor_get_for_stage ()</h3>
<pre class="programlisting"><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="returnvalue">ShellXFixesCursor</span></a> * shell_xfixes_cursor_get_for_stage   (<em class="parameter"><code><span class="type">ClutterStage</span> *stage</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
<td>The <span class="type">ClutterStage</span> to get the cursor for. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> instance. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="shell-xfixes-cursor-show"></a><h3>shell_xfixes_cursor_show ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                shell_xfixes_cursor_show            (<em class="parameter"><code><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *xfixes_cursor</code></em>);</pre>
<p>
Show the system mouse cursor to show
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>xfixes_cursor</code></em> :</span></p></td>
<td>the <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="shell-xfixes-cursor-hide"></a><h3>shell_xfixes_cursor_hide ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                shell_xfixes_cursor_hide            (<em class="parameter"><code><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *xfixes_cursor</code></em>);</pre>
<p>
Hide the system mouse cursor.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>xfixes_cursor</code></em> :</span></p></td>
<td>the <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="shell-xfixes-cursor-get-hot-x"></a><h3>shell_xfixes_cursor_get_hot_x ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 shell_xfixes_cursor_get_hot_x       (<em class="parameter"><code><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *xfixes_cursor</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>xfixes_cursor</code></em> :</span></p></td>
<td>the <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the current mouse cursor's hot x-coordinate.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="shell-xfixes-cursor-get-hot-y"></a><h3>shell_xfixes_cursor_get_hot_y ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 shell_xfixes_cursor_get_hot_y       (<em class="parameter"><code><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *xfixes_cursor</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>xfixes_cursor</code></em> :</span></p></td>
<td>the <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the current mouse cursor's hot y-coordinate.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="shell-xfixes-cursor-update-texture-image"></a><h3>shell_xfixes_cursor_update_texture_image ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                shell_xfixes_cursor_update_texture_image
                                                        (<em class="parameter"><code><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *xfixes_cursor</code></em>,
                                                         <em class="parameter"><code><span class="type">ClutterTexture</span> *texture</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>xfixes_cursor</code></em> :</span></p></td>
<td>the <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>ClutterTexture to update with the current sprite image.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ShellXFixesCursorClass"></a><h3>ShellXFixesCursorClass</h3>
<pre class="programlisting">typedef struct _ShellXFixesCursorClass ShellXFixesCursorClass;</pre>
</div>
<hr>
<div class="refsect2">
<a name="ShellXFixesCursor-struct"></a><h3>ShellXFixesCursor</h3>
<pre class="programlisting">typedef struct _ShellXFixesCursor ShellXFixesCursor;</pre>
</div>
</div>
<div class="refsect1">
<a name="shell-shell-xfixes-cursor.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="ShellXFixesCursor--stage"></a><h3>The <code class="literal">"stage"</code> property</h3>
<pre class="programlisting">  "stage"                    <span class="type">ClutterStage</span>*         : Read / Write / Construct Only</pre>
<p>Stage for mouse cursor.</p>
</div>
</div>
<div class="refsect1">
<a name="shell-shell-xfixes-cursor.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="ShellXFixesCursor-cursor-change"></a><h3>The <code class="literal">"cursor-change"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *shellxfixescursor,
                                                        <span class="type">gpointer</span>           user_data)              : <code class="literal">Run Last</code></pre>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18.1</div>
</body>
</html>