New upstream version 3.24.14

This commit is contained in:
Simon McVittie
2020-02-29 14:17:40 +00:00
543 changed files with 330694 additions and 808714 deletions

View File

@ -8,7 +8,7 @@
<link rel="up" href="DeprecatedObjects.html" title="Deprecated">
<link rel="prev" href="gtk3-GtkSymbolicColor.html" title="GtkSymbolicColor">
<link rel="next" href="gtk3-Resource-Files.html" title="Resource Files">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.32.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -35,13 +35,13 @@
<a name="gtk3-GtkGradient.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="returnvalue">GtkGradient</span></a> *
<span class="returnvalue">GtkGradient</span> *
</td>
<td class="function_name">
<a class="link" href="gtk3-GtkGradient.html#gtk-gradient-new-linear" title="gtk_gradient_new_linear ()">gtk_gradient_new_linear</a> <span class="c_punctuation">()</span>
@ -49,7 +49,7 @@
</tr>
<tr>
<td class="function_type">
<a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="returnvalue">GtkGradient</span></a> *
<span class="returnvalue">GtkGradient</span> *
</td>
<td class="function_name">
<a class="link" href="gtk3-GtkGradient.html#gtk-gradient-new-radial" title="gtk_gradient_new_radial ()">gtk_gradient_new_radial</a> <span class="c_punctuation">()</span>
@ -65,7 +65,7 @@
</tr>
<tr>
<td class="function_type">
<a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="returnvalue">GtkGradient</span></a> *
<span class="returnvalue">GtkGradient</span> *
</td>
<td class="function_name">
<a class="link" href="gtk3-GtkGradient.html#gtk-gradient-ref" title="gtk_gradient_ref ()">gtk_gradient_ref</a> <span class="c_punctuation">()</span>
@ -110,12 +110,12 @@
<a name="gtk3-GtkGradient.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody><tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient">GtkGradient</a></td>
<td class="function_name">GtkGradient</td>
</tr></tbody>
</table></div>
</div>
@ -133,10 +133,10 @@ To obtain the gradient represented by a GtkGradient, it has to
be resolved with <a class="link" href="gtk3-GtkGradient.html#gtk-gradient-resolve" title="gtk_gradient_resolve ()"><code class="function">gtk_gradient_resolve()</code></a>, which replaces all
symbolic color references by the colors they refer to (in a given
context) and constructs a <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="type">cairo_pattern_t</span></a> value.</p>
<p>It is not normally necessary to deal directly with <a href="gtk3-GtkGradient.html#GtkGradient"><span class="type">GtkGradients</span></a>,
<p>It is not normally necessary to deal directly with <span class="type">GtkGradients</span>,
since they are mostly used behind the scenes by <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> and
<a class="link" href="GtkCssProvider.html" title="GtkCssProvider"><span class="type">GtkCssProvider</span></a>.</p>
<p><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> is deprecated. It was used internally by GTKs CSS engine
<p><span class="type">GtkGradient</span> is deprecated. It was used internally by GTKs CSS engine
to represent gradients. As its handling is not conforming to modern
web standards, it is not used anymore. If you want to use gradients in
your own code, please use Cairo directly.</p>
@ -145,14 +145,14 @@ your own code, please use Cairo directly.</p>
<a name="gtk3-GtkGradient.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gtk-gradient-new-linear"></a><h3>gtk_gradient_new_linear ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="returnvalue">GtkGradient</span></a> *
<pre class="programlisting"><span class="returnvalue">GtkGradient</span> *
gtk_gradient_new_linear (<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_gradient_new_linear</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> is deprecated.</p>
<p><span class="type">GtkGradient</span> is deprecated.</p>
</div>
<p>Creates a new linear gradient along the line defined by (x0, y0) and (x1, y1). Before using the gradient
a number of stop colors must be added through <a class="link" href="gtk3-GtkGradient.html#gtk-gradient-add-color-stop" title="gtk_gradient_add_color_stop ()"><code class="function">gtk_gradient_add_color_stop()</code></a>.</p>
@ -190,14 +190,14 @@ a number of stop colors must be added through <a class="link" href="gtk3-GtkGrad
</div>
<div class="refsect3">
<a name="gtk-gradient-new-linear.returns"></a><h4>Returns</h4>
<p> A newly created <a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a></p>
<p> A newly created <span class="type">GtkGradient</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-gradient-new-radial"></a><h3>gtk_gradient_new_radial ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="returnvalue">GtkGradient</span></a> *
<pre class="programlisting"><span class="returnvalue">GtkGradient</span> *
gtk_gradient_new_radial (<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> radius0</code></em>,
@ -206,7 +206,7 @@ gtk_gradient_new_radial (<em class="parameter"><code><span class="type">gdouble<
<em class="parameter"><code><span class="type">gdouble</span> radius1</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_gradient_new_radial</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> is deprecated.</p>
<p><span class="type">GtkGradient</span> is deprecated.</p>
</div>
<p>Creates a new radial gradient along the two circles defined by (x0, y0, radius0) and
(x1, y1, radius1). Before using the gradient a number of stop colors must be added
@ -255,7 +255,7 @@ through <a class="link" href="gtk3-GtkGradient.html#gtk-gradient-add-color-stop"
</div>
<div class="refsect3">
<a name="gtk-gradient-new-radial.returns"></a><h4>Returns</h4>
<p> A newly created <a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a></p>
<p> A newly created <span class="type">GtkGradient</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
@ -263,12 +263,12 @@ through <a class="link" href="gtk3-GtkGradient.html#gtk-gradient-add-color-stop"
<div class="refsect2">
<a name="gtk-gradient-add-color-stop"></a><h3>gtk_gradient_add_color_stop ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_gradient_add_color_stop (<em class="parameter"><code><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> *gradient</code></em>,
gtk_gradient_add_color_stop (<em class="parameter"><code><span class="type">GtkGradient</span> *gradient</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> offset</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-GtkSymbolicColor.html#GtkSymbolicColor" title="GtkSymbolicColor"><span class="type">GtkSymbolicColor</span></a> *color</code></em>);</pre>
<em class="parameter"><code><span class="type">GtkSymbolicColor</span> *color</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_gradient_add_color_stop</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> is deprecated.</p>
<p><span class="type">GtkGradient</span> is deprecated.</p>
</div>
<p>Adds a stop color to <em class="parameter"><code>gradient</code></em>
.</p>
@ -283,7 +283,7 @@ gtk_gradient_add_color_stop (<em class="parameter"><code><a class="link" href="g
<tbody>
<tr>
<td class="parameter_name"><p>gradient</p></td>
<td class="parameter_description"><p>a <a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a></p></td>
<td class="parameter_description"><p>a <span class="type">GtkGradient</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
@ -304,11 +304,11 @@ gtk_gradient_add_color_stop (<em class="parameter"><code><a class="link" href="g
<hr>
<div class="refsect2">
<a name="gtk-gradient-ref"></a><h3>gtk_gradient_ref ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="returnvalue">GtkGradient</span></a> *
gtk_gradient_ref (<em class="parameter"><code><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> *gradient</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">GtkGradient</span> *
gtk_gradient_ref (<em class="parameter"><code><span class="type">GtkGradient</span> *gradient</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_gradient_ref</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> is deprecated.</p>
<p><span class="type">GtkGradient</span> is deprecated.</p>
</div>
<p>Increases the reference count of <em class="parameter"><code>gradient</code></em>
.</p>
@ -322,7 +322,7 @@ gtk_gradient_ref (<em class="parameter"><code><a class="link" href="gtk3-GtkGrad
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>gradient</p></td>
<td class="parameter_description"><p>a <a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a></p></td>
<td class="parameter_description"><p>a <span class="type">GtkGradient</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
@ -338,10 +338,10 @@ gtk_gradient_ref (<em class="parameter"><code><a class="link" href="gtk3-GtkGrad
<div class="refsect2">
<a name="gtk-gradient-unref"></a><h3>gtk_gradient_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_gradient_unref (<em class="parameter"><code><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> *gradient</code></em>);</pre>
gtk_gradient_unref (<em class="parameter"><code><span class="type">GtkGradient</span> *gradient</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_gradient_unref</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> is deprecated.</p>
<p><span class="type">GtkGradient</span> is deprecated.</p>
</div>
<p>Decreases the reference count of <em class="parameter"><code>gradient</code></em>
, freeing its memory
@ -356,7 +356,7 @@ if the reference count reaches 0.</p>
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>gradient</p></td>
<td class="parameter_description"><p>a <a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a></p></td>
<td class="parameter_description"><p>a <span class="type">GtkGradient</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
@ -367,12 +367,12 @@ if the reference count reaches 0.</p>
<div class="refsect2">
<a name="gtk-gradient-resolve"></a><h3>gtk_gradient_resolve ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_gradient_resolve (<em class="parameter"><code><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> *gradient</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-GtkStyleProperties.html#GtkStyleProperties" title="struct GtkStyleProperties"><span class="type">GtkStyleProperties</span></a> *props</code></em>,
gtk_gradient_resolve (<em class="parameter"><code><span class="type">GtkGradient</span> *gradient</code></em>,
<em class="parameter"><code><span class="type">GtkStyleProperties</span> *props</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="type">cairo_pattern_t</span></a> **resolved_gradient</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_gradient_resolve</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> is deprecated.</p>
<p><span class="type">GtkGradient</span> is deprecated.</p>
</div>
<p>If <em class="parameter"><code>gradient</code></em>
is resolvable, <em class="parameter"><code>resolved_gradient</code></em>
@ -394,12 +394,12 @@ exist in <em class="parameter"><code>props</code></em>
<tbody>
<tr>
<td class="parameter_name"><p>gradient</p></td>
<td class="parameter_description"><p>a <a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a></p></td>
<td class="parameter_description"><p>a <span class="type">GtkGradient</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>props</p></td>
<td class="parameter_description"><p><a class="link" href="gtk3-GtkStyleProperties.html#GtkStyleProperties" title="struct GtkStyleProperties"><span class="type">GtkStyleProperties</span></a> to use when resolving named colors</p></td>
<td class="parameter_description"><p><span class="type">GtkStyleProperties</span> to use when resolving named colors</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
@ -420,7 +420,7 @@ exist in <em class="parameter"><code>props</code></em>
<div class="refsect2">
<a name="gtk-gradient-resolve-for-context"></a><h3>gtk_gradient_resolve_for_context ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="returnvalue">cairo_pattern_t</span></a> *
gtk_gradient_resolve_for_context (<em class="parameter"><code><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> *gradient</code></em>,
gtk_gradient_resolve_for_context (<em class="parameter"><code><span class="type">GtkGradient</span> *gradient</code></em>,
<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
<div class="warning"><p><code class="literal">gtk_gradient_resolve_for_context</code> is deprecated and should not be used in newly-written code.</p></div>
</div>
@ -428,10 +428,10 @@ gtk_gradient_resolve_for_context (<em class="parameter"><code><a class="link" hr
<div class="refsect2">
<a name="gtk-gradient-to-string"></a><h3>gtk_gradient_to_string ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *
gtk_gradient_to_string (<em class="parameter"><code><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> *gradient</code></em>);</pre>
gtk_gradient_to_string (<em class="parameter"><code><span class="type">GtkGradient</span> *gradient</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_gradient_to_string</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p><a class="link" href="gtk3-GtkGradient.html#GtkGradient" title="GtkGradient"><span class="type">GtkGradient</span></a> is deprecated.</p>
<p><span class="type">GtkGradient</span> is deprecated.</p>
</div>
<p>Creates a string representation for <em class="parameter"><code>gradient</code></em>
that is suitable
@ -458,15 +458,8 @@ for using in GTK CSS files.</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="gtk3-GtkGradient.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GtkGradient"></a><h3>GtkGradient</h3>
<pre class="programlisting">typedef struct _GtkGradient GtkGradient;</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.32.1</div>
</body>
</html>