1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>shell-xfixes-cursor</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
<link rel="home" href="index.html" title="Shell Reference Manual">
8
<link rel="up" href="ch06.html" title="Integration helpers and utilities">
9
<link rel="prev" href="shell-ShellWM.html" title="ShellWM">
10
<link rel="next" href="shell-shell-util.html" title="shell-util">
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17
<td><a accesskey="p" href="shell-ShellWM.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="ch06.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">Shell Reference Manual</th>
21
<td><a accesskey="n" href="shell-shell-util.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#shell-shell-xfixes-cursor.synopsis" class="shortcut">Top</a>
26
<a href="#shell-shell-xfixes-cursor.description" class="shortcut">Description</a>
28
<a href="#shell-shell-xfixes-cursor.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
<a href="#shell-shell-xfixes-cursor.properties" class="shortcut">Properties</a>
32
<a href="#shell-shell-xfixes-cursor.signals" class="shortcut">Signals</a>
35
<div class="refentry">
36
<a name="shell-shell-xfixes-cursor"></a><div class="titlepage"></div>
37
<div class="refnamediv"><table width="100%"><tr>
39
<h2><span class="refentrytitle"><a name="shell-shell-xfixes-cursor.top_of_page"></a>shell-xfixes-cursor</span></h2>
40
<p>shell-xfixes-cursor — Capture/manipulate system mouse cursor.</p>
42
<td valign="top" align="right"></td>
44
<div class="refsynopsisdiv">
45
<a name="shell-shell-xfixes-cursor.synopsis"></a><h2>Synopsis</h2>
46
<a name="ShellXFixesCursor"></a><pre class="synopsis"> <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor-struct" title="ShellXFixesCursor">ShellXFixesCursor</a>;
47
<a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursorClass" title="ShellXFixesCursorClass">ShellXFixesCursorClass</a>;
48
<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>);
49
<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>);
50
<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>);
51
<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>);
52
<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>);
53
<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>
54
(<em class="parameter"><code><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *xfixes_cursor</code></em>,
55
<em class="parameter"><code><span class="type">ClutterTexture</span> *texture</code></em>);
58
<div class="refsect1">
59
<a name="shell-shell-xfixes-cursor.object-hierarchy"></a><h2>Object Hierarchy</h2>
60
<pre class="synopsis">
62
+----ShellXFixesCursor
65
<div class="refsect1">
66
<a name="shell-shell-xfixes-cursor.properties"></a><h2>Properties</h2>
67
<pre class="synopsis">
68
"<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
71
<div class="refsect1">
72
<a name="shell-shell-xfixes-cursor.signals"></a><h2>Signals</h2>
73
<pre class="synopsis">
74
"<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>
77
<div class="refsect1">
78
<a name="shell-shell-xfixes-cursor.description"></a><h2>Description</h2>
80
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
81
the system mouse pointer, to grab its image as it changes, and emit a
82
notification when its image changes.
85
<div class="refsect1">
86
<a name="shell-shell-xfixes-cursor.details"></a><h2>Details</h2>
87
<div class="refsect2">
88
<a name="ShellXFixesCursor-struct"></a><h3>ShellXFixesCursor</h3>
89
<pre class="programlisting">typedef struct _ShellXFixesCursor ShellXFixesCursor;</pre>
92
<div class="refsect2">
93
<a name="ShellXFixesCursorClass"></a><h3>ShellXFixesCursorClass</h3>
94
<pre class="programlisting">typedef struct _ShellXFixesCursorClass ShellXFixesCursorClass;</pre>
97
<div class="refsect2">
98
<a name="shell-xfixes-cursor-get-for-stage"></a><h3>shell_xfixes_cursor_get_for_stage ()</h3>
99
<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>
100
<div class="variablelist"><table border="0">
101
<col align="left" valign="top">
104
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
105
<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>
109
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
110
<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>
117
<div class="refsect2">
118
<a name="shell-xfixes-cursor-get-hot-x"></a><h3>shell_xfixes_cursor_get_hot_x ()</h3>
119
<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>
120
<div class="variablelist"><table border="0">
121
<col align="left" valign="top">
124
<td><p><span class="term"><em class="parameter"><code>xfixes_cursor</code></em> :</span></p></td>
125
<td>the <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a>
129
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
130
<td>the current mouse cursor's hot x-coordinate.</td>
136
<div class="refsect2">
137
<a name="shell-xfixes-cursor-get-hot-y"></a><h3>shell_xfixes_cursor_get_hot_y ()</h3>
138
<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>
139
<div class="variablelist"><table border="0">
140
<col align="left" valign="top">
143
<td><p><span class="term"><em class="parameter"><code>xfixes_cursor</code></em> :</span></p></td>
144
<td>the <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a>
148
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
149
<td>the current mouse cursor's hot y-coordinate.</td>
155
<div class="refsect2">
156
<a name="shell-xfixes-cursor-hide"></a><h3>shell_xfixes_cursor_hide ()</h3>
157
<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>
159
Hide the system mouse cursor.
161
<div class="variablelist"><table border="0">
162
<col align="left" valign="top">
164
<td><p><span class="term"><em class="parameter"><code>xfixes_cursor</code></em> :</span></p></td>
165
<td>the <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a>
171
<div class="refsect2">
172
<a name="shell-xfixes-cursor-show"></a><h3>shell_xfixes_cursor_show ()</h3>
173
<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>
175
Show the system mouse cursor to show
177
<div class="variablelist"><table border="0">
178
<col align="left" valign="top">
180
<td><p><span class="term"><em class="parameter"><code>xfixes_cursor</code></em> :</span></p></td>
181
<td>the <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a>
187
<div class="refsect2">
188
<a name="shell-xfixes-cursor-update-texture-image"></a><h3>shell_xfixes_cursor_update_texture_image ()</h3>
189
<pre class="programlisting"><span class="returnvalue">void</span> shell_xfixes_cursor_update_texture_image
190
(<em class="parameter"><code><a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a> *xfixes_cursor</code></em>,
191
<em class="parameter"><code><span class="type">ClutterTexture</span> *texture</code></em>);</pre>
192
<div class="variablelist"><table border="0">
193
<col align="left" valign="top">
196
<td><p><span class="term"><em class="parameter"><code>xfixes_cursor</code></em> :</span></p></td>
197
<td>the <a class="link" href="shell-shell-xfixes-cursor.html#ShellXFixesCursor"><span class="type">ShellXFixesCursor</span></a>
201
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
202
<td>ClutterTexture to update with the current sprite image.</td>
208
<div class="refsect1">
209
<a name="shell-shell-xfixes-cursor.property-details"></a><h2>Property Details</h2>
210
<div class="refsect2">
211
<a name="ShellXFixesCursor--stage"></a><h3>The <code class="literal">"stage"</code> property</h3>
212
<pre class="programlisting"> "stage" <span class="type">ClutterStage</span>* : Read / Write / Construct Only</pre>
213
<p>Stage for mouse cursor.</p>
216
<div class="refsect1">
217
<a name="shell-shell-xfixes-cursor.signal-details"></a><h2>Signal Details</h2>
218
<div class="refsect2">
219
<a name="ShellXFixesCursor-cursor-change"></a><h3>The <code class="literal">"cursor-change"</code> signal</h3>
220
<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,
221
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
227
Generated by GTK-Doc V1.18.1</div>
b'\\ No newline at end of file'