/usr/share/doc/liblqr-1-0-dev/html/ref-lqr-progress-set-end.html is in liblqr-1-0-dev 0.4.2-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>lqr_progress_set_end</title><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="index.html" title="The Liquid Rescale library Manual"><link rel="up" href="ref-progress.html" title="Progress reports"><link rel="prev" href="ref-lqr-progress-set-update.html" title="lqr_progress_set_update"><link rel="next" href="ref-lqr-progress-set-update-step.html" title="lqr_progress_set_update_step"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><code class="function">lqr_progress_set_end</code></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ref-lqr-progress-set-update.html">Prev</a> </td><th width="60%" align="center">Progress reports</th><td width="20%" align="right"> <a accesskey="n" href="ref-lqr-progress-set-update-step.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="ref-lqr-progress-set-end"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>lqr_progress_set_end — execude custom code after each rescaling operation</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include <lqr.h></pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">LqrRetVal <b class="fsfunc">lqr_progress_set_end</b>(</code></td><td>LqrProgress* <var class="pdparam">p</var>, </td></tr><tr><td> </td><td>LqrProgressFuncEnd <var class="pdparam">end_func</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm5352"></a><h2>Description</h2><p>
The function <code class="function">lqr_progress_set_end</code> sets the hook
<em class="parameter"><code>end_func</code></em> to the <code class="classname">LqrProgress</code> object pointed to by <em class="parameter"><code>p</code></em>.
</p><p>
The function <em class="parameter"><code>end_func</code></em> is of type
<code class="classname">LqrProgressFuncEnd</code>, whose prototype is defined by:
</p><pre class="programlisting">
typedef LqrRetVal (*LqrProgressFuncEnd) (const gchar* end_message);
</pre><p>
Each time that the function <a class="xref" href="ref-lqr-carver-resize.html" title="lqr_carver_resize"><span class="refentrytitle"><code class="function">lqr_carver_resize</code></span>(3)</a> performs a rescale
operation (recall that it can perform more than one rescale operation at each call) this
function will be called at the end, with a string argument passed through the parameter
<em class="parameter"><code>end_message</code></em>, which is different for horizontal and vertical rescalings.
</p><p>
The message arguments can be set with the functions
<a class="xref" href="ref-lqr-progress-set-end-width-message.html" title="lqr_progress_set_end_width_message"><span class="refentrytitle"><code class="function">lqr_progress_set_end_width_message</code></span>(3)</a> and
<a class="xref" href="ref-lqr-progress-set-end-height-message.html" title="lqr_progress_set_end_height_message"><span class="refentrytitle"><code class="function">lqr_progress_set_end_height_message</code></span>(3)</a>.
</p></div><div class="refsect1"><a name="idm5368"></a><h2>Return value</h2><p>
The return value follows the Liquid Rescale library signalling system.
</p></div><div class="refsect1"><a name="idm5371"></a><h2>See also</h2><p>
<span class="simplelist"><a class="xref" href="ref-lqr-ret-val.html" title="LqrRetVal"><span class="refentrytitle"><span class="type">LqrRetVal</span></span>(3)</a>, <a class="xref" href="ref-lqr-progress-new.html" title="lqr_progress_new"><span class="refentrytitle"><code class="function">lqr_progress_new</code></span>(3)</a>, <a class="xref" href="ref-lqr-progress-set-init.html" title="lqr_progress_set_init"><span class="refentrytitle"><code class="function">lqr_progress_set_init</code></span>(3)</a>, <a class="xref" href="ref-lqr-progress-set-update.html" title="lqr_progress_set_update"><span class="refentrytitle"><code class="function">lqr_progress_set_update</code></span>(3)</a>, <a class="xref" href="ref-lqr-progress-set-init-width-message.html" title="lqr_progress_set_init_width_message"><span class="refentrytitle"><code class="function">lqr_progress_set_init_width_message</code></span>(3)</a>, <a class="xref" href="ref-lqr-progress-set-init-height-message.html" title="lqr_progress_set_init_height_message"><span class="refentrytitle"><code class="function">lqr_progress_set_init_height_message</code></span>(3)</a>, <a class="xref" href="ref-lqr-progress-set-end-width-message.html" title="lqr_progress_set_end_width_message"><span class="refentrytitle"><code class="function">lqr_progress_set_end_width_message</code></span>(3)</a>, <a class="xref" href="ref-lqr-progress-set-end-height-message.html" title="lqr_progress_set_end_height_message"><span class="refentrytitle"><code class="function">lqr_progress_set_end_height_message</code></span>(3)</a>, <a class="xref" href="ref-lqr-progress-set-update-step.html" title="lqr_progress_set_update_step"><span class="refentrytitle"><code class="function">lqr_progress_set_update_step</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-set-progress.html" title="lqr_carver_set_progress"><span class="refentrytitle"><code class="function">lqr_carver_set_progress</code></span>(3)</a></span>
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ref-lqr-progress-set-update.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref-progress.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ref-lqr-progress-set-update-step.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><code class="function">lqr_progress_set_update</code> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <code class="function">lqr_progress_set_update_step</code></td></tr></table></div></body></html>
|