New upstream version 3.24.8
This commit is contained in:
@ -82,7 +82,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
|
||||
<span class="returnvalue">GdkScreen</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkThemingEngine.html#gtk-theming-engine-get-screen" title="gtk_theming_engine_get_screen ()">gtk_theming_engine_get_screen</a> <span class="c_punctuation">()</span>
|
||||
@ -185,7 +185,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkThemingEngine.html#gtk-theming-engine-has-class" title="gtk_theming_engine_has_class ()">gtk_theming_engine_has_class</a> <span class="c_punctuation">()</span>
|
||||
@ -193,7 +193,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkThemingEngine.html#gtk-theming-engine-has-region" title="gtk_theming_engine_has_region ()">gtk_theming_engine_has_region</a> <span class="c_punctuation">()</span>
|
||||
@ -201,7 +201,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkThemingEngine.html#gtk-theming-engine-lookup-color" title="gtk_theming_engine_lookup_color ()">gtk_theming_engine_lookup_color</a> <span class="c_punctuation">()</span>
|
||||
@ -209,7 +209,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkThemingEngine.html#gtk-theming-engine-state-is-running" title="gtk_theming_engine_state_is_running ()">gtk_theming_engine_state_is_running</a> <span class="c_punctuation">()</span>
|
||||
@ -244,7 +244,7 @@
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkThemingEngine.html#GtkThemingEngine--name" title="The “name” property">name</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr></tbody>
|
||||
@ -271,7 +271,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkThemingEngine.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GtkThemingEngine
|
||||
</pre>
|
||||
</div>
|
||||
@ -323,7 +323,7 @@ rendered element.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>...</p></td>
|
||||
<td class="parameter_description"><p>property name /return value pairs, followed by <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
||||
<td class="parameter_description"><p>property name /return value pairs, followed by <code class="literal">NULL</code></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -426,9 +426,9 @@ gtk_theming_engine_get_path (<em class="parameter"><code><a class="link" href="G
|
||||
<a name="gtk-theming-engine-get-property"></a><h3>gtk_theming_engine_get_property ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_theming_engine_get_property (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *property</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_property</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Gets a property value as retrieved from the style settings that apply
|
||||
to the currently rendered element.</p>
|
||||
@ -459,7 +459,7 @@ to the currently rendered element.</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>value</p></td>
|
||||
<td class="parameter_description"><p>return location for the property value,
|
||||
you must free this memory using <a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#g-value-unset"><code class="function">g_value_unset()</code></a> once you are
|
||||
you must free this memory using <code class="function">g_value_unset()</code> once you are
|
||||
done with it. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
||||
</tr>
|
||||
@ -471,10 +471,10 @@ done with it. </p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-theming-engine-get-screen"></a><h3>gtk_theming_engine_get_screen ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GdkScreen</span> *
|
||||
gtk_theming_engine_get_screen (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_screen</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Returns the <a href="https://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> to which <em class="parameter"><code>engine</code></em>
|
||||
<p>Returns the <span class="type">GdkScreen</span> to which <em class="parameter"><code>engine</code></em>
|
||||
currently rendering to.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-theming-engine-get-screen.parameters"></a><h4>Parameters</h4>
|
||||
@ -493,7 +493,7 @@ gtk_theming_engine_get_screen (<em class="parameter"><code><a class="link" href=
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-theming-engine-get-screen.returns"></a><h4>Returns</h4>
|
||||
<p>a <a href="https://developer.gnome.org/gdk3/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>a <span class="type">GdkScreen</span>, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -551,7 +551,7 @@ to the currently rendered content’s style.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>...</p></td>
|
||||
<td class="parameter_description"><p>property name /return value pairs, followed by <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
||||
<td class="parameter_description"><p>property name /return value pairs, followed by <code class="literal">NULL</code></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -564,8 +564,8 @@ to the currently rendered content’s style.</p>
|
||||
<a name="gtk-theming-engine-get-style-property"></a><h3>gtk_theming_engine_get_style_property ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_theming_engine_get_style_property (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
||||
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_style_property</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Gets the value for a widget style property.</p>
|
||||
<div class="refsect3">
|
||||
@ -590,7 +590,7 @@ gtk_theming_engine_get_style_property (<em class="parameter"><code><a class="lin
|
||||
<tr>
|
||||
<td class="parameter_name"><p>value</p></td>
|
||||
<td class="parameter_description"><p>Return location for the property value, free with
|
||||
<a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#g-value-unset"><code class="function">g_value_unset()</code></a> after use. </p></td>
|
||||
<code class="function">g_value_unset()</code> after use. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -624,7 +624,7 @@ currently rendered content’s style.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>args</p></td>
|
||||
<td class="parameter_description"><p>va_list of property name/return location pairs, followed by <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
||||
<td class="parameter_description"><p>va_list of property name/return location pairs, followed by <code class="literal">NULL</code></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -663,7 +663,7 @@ rendered element.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>args</p></td>
|
||||
<td class="parameter_description"><p>va_list of property name/return location pairs, followed by <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
||||
<td class="parameter_description"><p>va_list of property name/return location pairs, followed by <code class="literal">NULL</code></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -677,7 +677,7 @@ rendered element.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_theming_engine_get_color (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gdk3/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_color</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Gets the foreground color for a given state.</p>
|
||||
<div class="refsect3">
|
||||
@ -716,7 +716,7 @@ gtk_theming_engine_get_color (<em class="parameter"><code><a class="link" href="
|
||||
gtk_theming_engine_get_background_color
|
||||
(<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gdk3/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_background_color</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Gets the background color for a given state.</p>
|
||||
<div class="refsect3">
|
||||
@ -754,7 +754,7 @@ gtk_theming_engine_get_background_color
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_theming_engine_get_border_color (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gdk3/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_border_color</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Gets the border color for a given state.</p>
|
||||
<div class="refsect3">
|
||||
@ -945,11 +945,11 @@ freed. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-theming-engine-has-class"></a><h3>gtk_theming_engine_has_class ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_theming_engine_has_class (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *style_class</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *style_class</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_has_class</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the currently rendered contents have
|
||||
<p>Returns <code class="literal">TRUE</code> if the currently rendered contents have
|
||||
defined the given class name.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-theming-engine-has-class.parameters"></a><h4>Parameters</h4>
|
||||
@ -975,7 +975,7 @@ defined the given class name.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-theming-engine-has-class.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>engine</code></em>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>engine</code></em>
|
||||
has <em class="parameter"><code>class_name</code></em>
|
||||
defined</p>
|
||||
</div>
|
||||
@ -984,14 +984,14 @@ defined</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-theming-engine-has-region"></a><h3>gtk_theming_engine_has_region ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_theming_engine_has_region (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *style_region</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *style_region</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkStyleContext.html#GtkRegionFlags" title="enum GtkRegionFlags"><span class="type">GtkRegionFlags</span></a> *flags</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_has_region</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the currently rendered contents have the
|
||||
<p>Returns <code class="literal">TRUE</code> if the currently rendered contents have the
|
||||
region defined. If <em class="parameter"><code>flags_return</code></em>
|
||||
is not <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it is set
|
||||
is not <code class="literal">NULL</code>, it is set
|
||||
to the flags affecting the region.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-theming-engine-has-region.parameters"></a><h4>Parameters</h4>
|
||||
@ -1022,17 +1022,17 @@ to the flags affecting the region.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-theming-engine-has-region.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if region is defined</p>
|
||||
<p> <code class="literal">TRUE</code> if region is defined</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-theming-engine-lookup-color"></a><h3>gtk_theming_engine_lookup_color ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_theming_engine_lookup_color (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *color_name</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gdk3/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *color_name</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_lookup_color</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Looks up and resolves a color name in the current style’s color map.</p>
|
||||
<div class="refsect3">
|
||||
@ -1064,31 +1064,31 @@ gtk_theming_engine_lookup_color (<em class="parameter"><code><a class="link" hre
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-theming-engine-lookup-color.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>color_name</code></em>
|
||||
was found and resolved, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>color_name</code></em>
|
||||
was found and resolved, <code class="literal">FALSE</code> otherwise</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-theming-engine-state-is-running"></a><h3>gtk_theming_engine_state_is_running ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_theming_engine_state_is_running (<em class="parameter"><code><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="type">GtkThemingEngine</span></a> *engine</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *progress</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *progress</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_theming_engine_state_is_running</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
|
||||
<p>Always returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
|
||||
<p>Always returns <code class="literal">FALSE</code></p>
|
||||
</div>
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there is a transition animation running for the
|
||||
<p>Returns <code class="literal">TRUE</code> if there is a transition animation running for the
|
||||
current region (see <a class="link" href="GtkStyleContext.html#gtk-style-context-push-animatable-region" title="gtk_style_context_push_animatable_region ()"><code class="function">gtk_style_context_push_animatable_region()</code></a>).</p>
|
||||
<p>If <em class="parameter"><code>progress</code></em>
|
||||
is not <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the animation progress will be returned
|
||||
there, 0.0 means the state is closest to being <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, while 1.0 means
|
||||
it’s closest to being <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. This means transition animations will
|
||||
is not <code class="literal">NULL</code>, the animation progress will be returned
|
||||
there, 0.0 means the state is closest to being <code class="literal">FALSE</code>, while 1.0 means
|
||||
it’s closest to being <code class="literal">TRUE</code>. This means transition animations will
|
||||
run from 0 to 1 when <em class="parameter"><code>state</code></em>
|
||||
is being set to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and from 1 to 0 when
|
||||
it’s being set to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
||||
is being set to <code class="literal">TRUE</code> and from 1 to 0 when
|
||||
it’s being set to <code class="literal">FALSE</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-theming-engine-state-is-running.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1118,7 +1118,7 @@ it’s being set to <a href="https://developer.gnome.org/glib/unstable/glib-Stan
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-theming-engine-state-is-running.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there is a running transition animation for <em class="parameter"><code>state</code></em>
|
||||
<p> <code class="literal">TRUE</code> if there is a running transition animation for <em class="parameter"><code>state</code></em>
|
||||
.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -1127,7 +1127,7 @@ it’s being set to <a href="https://developer.gnome.org/glib/unstable/glib-Stan
|
||||
<div class="refsect2">
|
||||
<a name="gtk-theming-engine-load"></a><h3>gtk_theming_engine_load ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkThemingEngine.html" title="GtkThemingEngine"><span class="returnvalue">GtkThemingEngine</span></a> *
|
||||
gtk_theming_engine_load (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
||||
gtk_theming_engine_load (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_load</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Loads and initializes a theming engine module from the
|
||||
standard directories.</p>
|
||||
@ -1148,7 +1148,7 @@ standard directories.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-theming-engine-load.returns"></a><h4>Returns</h4>
|
||||
<p>A theming engine, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
||||
<p>A theming engine, or <code class="literal">NULL</code> if
|
||||
the engine <em class="parameter"><code>name</code></em>
|
||||
doesn’t exist. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
@ -1158,9 +1158,9 @@ doesn’t exist. </p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-theming-engine-register-property"></a><h3>gtk_theming_engine_register_property ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_theming_engine_register_property (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name_space</code></em>,
|
||||
gtk_theming_engine_register_property (<em class="parameter"><code>const <span class="type">gchar</span> *name_space</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-GtkStyleProperties.html#GtkStylePropertyParser" title="GtkStylePropertyParser ()"><span class="type">GtkStylePropertyParser</span></a> parse_func</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_theming_engine_register_property</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
|
||||
<p>Code should use the default properties provided by CSS.</p>
|
||||
@ -1176,8 +1176,8 @@ be the theme engine name.</p>
|
||||
<p>For any type a <em class="parameter"><code>parse_func</code></em>
|
||||
may be provided, being this function
|
||||
used for turning any property value (between “:” and “;”) in
|
||||
CSS to the <a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> needed. For basic types there is already
|
||||
builtin parsing support, so <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> may be provided for these
|
||||
CSS to the <span class="type">GValue</span> needed. For basic types there is already
|
||||
builtin parsing support, so <code class="literal">NULL</code> may be provided for these
|
||||
cases.</p>
|
||||
<p>Engines must ensure property registration happens exactly once,
|
||||
usually GTK+ deals with theming engines as singletons, so this
|
||||
@ -1222,12 +1222,12 @@ one.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>parse_func</p></td>
|
||||
<td class="parameter_description"><p>parsing function to use, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>parsing function to use, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pspec</p></td>
|
||||
<td class="parameter_description"><p>the <a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> for the new property</p></td>
|
||||
<td class="parameter_description"><p>the <span class="type">GParamSpec</span> for the new property</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1459,7 +1459,7 @@ or <a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class
|
||||
<a name="GtkThemingEngine.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkThemingEngine--name"></a><h3>The <code class="literal">“name”</code> property</h3>
|
||||
<pre class="programlisting"> “name” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “name” <span class="type">gchar</span> *</pre>
|
||||
<p>The theming engine name, this name will be used when registering
|
||||
custom properties, for a theming engine named "Clearlooks" registering
|
||||
a "glossy" custom property, it could be referenced in the CSS file as</p>
|
||||
|
Reference in New Issue
Block a user