~ubuntu-branches/ubuntu/utopic/glib2.0/utopic-updates

« back to all changes in this revision

Viewing changes to docs/reference/glib/html/glib-Timers.html

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2014-07-17 17:01:51 UTC
  • mfrom: (1.66.16)
  • Revision ID: package-import@ubuntu.com-20140717170151-o3ianrpdr4l1u3qr
Tags: 2.41.2-1~ubuntu1
* Upload from unreleased Debian SVN due to broken pcre3 in unstable.
* New upstream release
  - The Unicode support has been updated to version 7.0 of the Unicode
    standard
  - GNotification now supports priorities for notifications
  - GMutex now uses a faster, native implementation on Linux
* 0001-gvariant-tests-workaround-libc-compiler-issue.patch: Drop, applied
  upstream in this release.
* Add new symbols for this release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
9
9
<link rel="prev" href="glib-Lexical-Scanner.html" title="Lexical Scanner">
10
10
<link rel="next" href="glib-Spawning-Processes.html" title="Spawning Processes">
11
 
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
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="10"><tr valign="middle">
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
16
<td width="100%" align="left" class="shortcuts">
17
 
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
18
 
                  <a href="#glib-Timers.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
 
                  <a href="#glib-Timers.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
 
17
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
 
18
                  <a href="#glib-Timers.description" class="shortcut">Description</a></span>
20
19
</td>
21
20
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
21
<td><a accesskey="u" href="glib-utilities.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
113
112
</table></div>
114
113
</div>
115
114
<div class="refsect1">
116
 
<a name="glib-Timers.object-hierarchy"></a><h2>Object Hierarchy</h2>
117
 
<pre class="screen">
118
 
</pre>
119
 
</div>
120
 
<div class="refsect1">
121
115
<a name="glib-Timers.includes"></a><h2>Includes</h2>
122
116
<pre class="synopsis">#include &lt;glib.h&gt;
123
117
</pre>
138
132
<p>Creates a new timer, and starts timing (i.e. <a class="link" href="glib-Timers.html#g-timer-start" title="g_timer_start ()"><code class="function">g_timer_start()</code></a> is
139
133
implicitly called for you).</p>
140
134
<div class="refsect3">
141
 
<a name="id-1.5.16.8.2.5"></a><h4>Returns</h4>
 
135
<a name="id-1.5.16.7.2.5"></a><h4>Returns</h4>
142
136
<p> a new <a class="link" href="glib-Timers.html#GTimer" title="GTimer"><span class="type">GTimer</span></a>.</p>
143
137
<p></p>
144
138
</div>
153
147
automatically marks the start time, so no need to call
154
148
<a class="link" href="glib-Timers.html#g-timer-start" title="g_timer_start ()"><code class="function">g_timer_start()</code></a> immediately after creating the timer.</p>
155
149
<div class="refsect3">
156
 
<a name="id-1.5.16.8.3.5"></a><h4>Parameters</h4>
 
150
<a name="id-1.5.16.7.3.5"></a><h4>Parameters</h4>
157
151
<div class="informaltable"><table width="100%" border="0">
158
152
<colgroup>
159
153
<col width="150px" class="parameters_name">
176
170
<p>Marks an end time, so calls to <a class="link" href="glib-Timers.html#g-timer-elapsed" title="g_timer_elapsed ()"><code class="function">g_timer_elapsed()</code></a> will return the
177
171
difference between this end time and the start time.</p>
178
172
<div class="refsect3">
179
 
<a name="id-1.5.16.8.4.5"></a><h4>Parameters</h4>
 
173
<a name="id-1.5.16.7.4.5"></a><h4>Parameters</h4>
180
174
<div class="informaltable"><table width="100%" border="0">
181
175
<colgroup>
182
176
<col width="150px" class="parameters_name">
200
194
<a class="link" href="glib-Timers.html#g-timer-stop" title="g_timer_stop ()"><code class="function">g_timer_stop()</code></a>. <a class="link" href="glib-Timers.html#g-timer-stop" title="g_timer_stop ()"><code class="function">g_timer_stop()</code></a> must be called before using this
201
195
function.</p>
202
196
<div class="refsect3">
203
 
<a name="id-1.5.16.8.5.5"></a><h4>Parameters</h4>
 
197
<a name="id-1.5.16.7.5.5"></a><h4>Parameters</h4>
204
198
<div class="informaltable"><table width="100%" border="0">
205
199
<colgroup>
206
200
<col width="150px" class="parameters_name">
232
226
 out parameter is
233
227
essentially useless.</p>
234
228
<div class="refsect3">
235
 
<a name="id-1.5.16.8.6.5"></a><h4>Parameters</h4>
 
229
<a name="id-1.5.16.7.6.5"></a><h4>Parameters</h4>
236
230
<div class="informaltable"><table width="100%" border="0">
237
231
<colgroup>
238
232
<col width="150px" class="parameters_name">
256
250
</table></div>
257
251
</div>
258
252
<div class="refsect3">
259
 
<a name="id-1.5.16.8.6.6"></a><h4>Returns</h4>
 
253
<a name="id-1.5.16.7.6.6"></a><h4>Returns</h4>
260
254
<p> seconds elapsed as a floating point value, including any
261
255
fractional part.</p>
262
256
<p></p>
271
265
already-started timer to reset the start time, so <a class="link" href="glib-Timers.html#g-timer-reset" title="g_timer_reset ()"><code class="function">g_timer_reset()</code></a>
272
266
serves no purpose.</p>
273
267
<div class="refsect3">
274
 
<a name="id-1.5.16.8.7.5"></a><h4>Parameters</h4>
 
268
<a name="id-1.5.16.7.7.5"></a><h4>Parameters</h4>
275
269
<div class="informaltable"><table width="100%" border="0">
276
270
<colgroup>
277
271
<col width="150px" class="parameters_name">
293
287
g_timer_destroy (<em class="parameter"><code><a class="link" href="glib-Timers.html#GTimer" title="GTimer"><span class="type">GTimer</span></a> *timer</code></em>);</pre>
294
288
<p>Destroys a timer, freeing associated resources.</p>
295
289
<div class="refsect3">
296
 
<a name="id-1.5.16.8.8.5"></a><h4>Parameters</h4>
 
290
<a name="id-1.5.16.7.8.5"></a><h4>Parameters</h4>
297
291
<div class="informaltable"><table width="100%" border="0">
298
292
<colgroup>
299
293
<col width="150px" class="parameters_name">
320
314
</div>
321
315
<div class="footer">
322
316
<hr>
323
 
          Generated by GTK-Doc V1.20</div>
 
317
          Generated by GTK-Doc V1.20.1</div>
324
318
</body>
325
319
</html>
 
 
b'\\ No newline at end of file'