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="theming.html" title="Part IV. Theming in GTK+">
<link rel="prev" href="GtkCssProvider.html" title="GtkCssProvider">
<link rel="next" href="gtk3-GtkStyleProperties.html" title="GtkStyleProperties">
<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">
@ -37,8 +37,8 @@
<a name="GtkStyleProvider.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>
@ -51,7 +51,7 @@
</tr>
<tr>
<td class="function_type">
<a class="link" href="gtk3-GtkStyleProperties.html#GtkStyleProperties" title="struct GtkStyleProperties"><span class="returnvalue">GtkStyleProperties</span></a> *
<span class="returnvalue">GtkStyleProperties</span> *
</td>
<td class="function_name">
<a class="link" href="GtkStyleProvider.html#gtk-style-provider-get-style" title="gtk_style_provider_get_style ()">gtk_style_provider_get_style</a> <span class="c_punctuation">()</span>
@ -72,37 +72,37 @@
<a name="GtkStyleProvider.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">struct</td>
<td class="function_name"><a class="link" href="GtkStyleProvider.html#GtkStyleProviderIface" title="struct GtkStyleProviderIface">GtkStyleProviderIface</a></td>
<td class="function_name">GtkStyleProviderIface</td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GtkStyleProvider.html#GtkStyleProvider-struct" title="GtkStyleProvider">GtkStyleProvider</a></td>
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkStyleProvider.html#GtkStyleProvider-struct">GtkStyleProvider</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-FALLBACK:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_FALLBACK">GTK_STYLE_PROVIDER_PRIORITY_FALLBACK</a></td>
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-FALLBACK:CAPS">GTK_STYLE_PROVIDER_PRIORITY_FALLBACK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-THEME:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_THEME">GTK_STYLE_PROVIDER_PRIORITY_THEME</a></td>
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-THEME:CAPS">GTK_STYLE_PROVIDER_PRIORITY_THEME</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-SETTINGS:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_SETTINGS">GTK_STYLE_PROVIDER_PRIORITY_SETTINGS</a></td>
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-SETTINGS:CAPS">GTK_STYLE_PROVIDER_PRIORITY_SETTINGS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-APPLICATION:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_APPLICATION">GTK_STYLE_PROVIDER_PRIORITY_APPLICATION</a></td>
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-APPLICATION:CAPS">GTK_STYLE_PROVIDER_PRIORITY_APPLICATION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-USER:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_USER">GTK_STYLE_PROVIDER_PRIORITY_USER</a></td>
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-USER:CAPS">GTK_STYLE_PROVIDER_PRIORITY_USER</a></td>
</tr>
</tbody>
</table></div>
@ -135,7 +135,7 @@ See <a class="link" href="GtkStyleContext.html#gtk-style-context-add-provider" t
<a name="gtk-style-provider-get-icon-factory"></a><h3>gtk_style_provider_get_icon_factory ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconFactory"><span class="returnvalue">GtkIconFactory</span></a> *
gtk_style_provider_get_icon_factory (<em class="parameter"><code><a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> *provider</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> *path</code></em>);</pre>
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-GtkWidgetPath.html#GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> *path</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_provider_get_icon_factory</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p>Will always return <code class="literal">NULL</code> for all GTK-provided style providers.</p>
@ -159,7 +159,7 @@ is defined.</p>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p><a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> to query</p></td>
<td class="parameter_description"><p><a href="https://developer.gnome.org/gtk4/gtk4-GtkWidgetPath.html#GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> to query</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
@ -176,9 +176,9 @@ is defined.</p>
<hr>
<div class="refsect2">
<a name="gtk-style-provider-get-style"></a><h3>gtk_style_provider_get_style ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkStyleProperties.html#GtkStyleProperties" title="struct GtkStyleProperties"><span class="returnvalue">GtkStyleProperties</span></a> *
<pre class="programlisting"><span class="returnvalue">GtkStyleProperties</span> *
gtk_style_provider_get_style (<em class="parameter"><code><a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> *provider</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> *path</code></em>);</pre>
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-GtkWidgetPath.html#GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> *path</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_style_provider_get_style</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p>Will always return <code class="literal">NULL</code> for all GTK-provided style providers
@ -205,7 +205,7 @@ gtk_style_provider_get_style (<em class="parameter"><code><a class="link" href="
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p><a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> to query</p></td>
<td class="parameter_description"><p><a href="https://developer.gnome.org/gtk4/gtk4-GtkWidgetPath.html#GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> to query</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
@ -213,7 +213,7 @@ gtk_style_provider_get_style (<em class="parameter"><code><a class="link" href="
</div>
<div class="refsect3">
<a name="gtk-style-provider-get-style.returns"></a><h4>Returns</h4>
<p>a <a class="link" href="gtk3-GtkStyleProperties.html#GtkStyleProperties" title="struct GtkStyleProperties"><span class="type">GtkStyleProperties</span></a> containing the
<p>a <span class="type">GtkStyleProperties</span> containing the
style settings affecting <em class="parameter"><code>path</code></em>
. </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="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
@ -225,8 +225,8 @@ style settings affecting <em class="parameter"><code>path</code></em>
<a name="gtk-style-provider-get-style-property"></a><h3>gtk_style_provider_get_style_property ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_style_provider_get_style_property (<em class="parameter"><code><a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> *provider</code></em>,
<em class="parameter"><code><a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> *path</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/gtk4/gtk4-GtkWidgetPath.html#GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> *path</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>,
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
<p>Looks up a widget style property as defined by <em class="parameter"><code>provider</code></em>
@ -249,7 +249,7 @@ the widget represented by <em class="parameter"><code>path</code></em>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p><a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> to query</p></td>
<td class="parameter_description"><p><a href="https://developer.gnome.org/gtk4/gtk4-GtkWidgetPath.html#GtkWidgetPath"><span class="type">GtkWidgetPath</span></a> to query</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
@ -278,111 +278,11 @@ the widget represented by <em class="parameter"><code>path</code></em>
</div>
</div>
<div class="refsect1">
<a name="GtkStyleProvider.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GtkStyleProviderIface"></a><h3>struct GtkStyleProviderIface</h3>
<pre class="programlisting">struct GtkStyleProviderIface {
GtkStyleProperties * (* get_style) (GtkStyleProvider *provider,
GtkWidgetPath *path);
gboolean (* get_style_property) (GtkStyleProvider *provider,
GtkWidgetPath *path,
GtkStateFlags state,
GParamSpec *pspec,
GValue *value);
GtkIconFactory * (* get_icon_factory) (GtkStyleProvider *provider,
GtkWidgetPath *path);
};
</pre>
<div class="refsect3">
<a name="GtkStyleProviderIface.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkStyleProviderIface.get-style"></a>get_style</code></em> ()</p></td>
<td class="struct_member_description"><p>Gets a set of style information that applies to a widget path.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkStyleProviderIface.get-style-property"></a>get_style_property</code></em> ()</p></td>
<td class="struct_member_description"><p>Gets the value of a widget style property that applies to a widget path.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkStyleProviderIface.get-icon-factory"></a>get_icon_factory</code></em> ()</p></td>
<td class="struct_member_description"><p>Gets the icon factory that applies to a widget path.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GtkStyleProvider-struct"></a><h3>GtkStyleProvider</h3>
<pre class="programlisting">typedef struct _GtkStyleProvider GtkStyleProvider;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROVIDER-PRIORITY-FALLBACK:CAPS"></a><h3>GTK_STYLE_PROVIDER_PRIORITY_FALLBACK</h3>
<pre class="programlisting">#define GTK_STYLE_PROVIDER_PRIORITY_FALLBACK 1
</pre>
<p>The priority used for default style information
that is used in the absence of themes.</p>
<p>Note that this is not very useful for providing default
styling for custom style classes - themes are likely to
override styling provided at this priority with
catch-all <code class="literal">* {...}</code> rules.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROVIDER-PRIORITY-THEME:CAPS"></a><h3>GTK_STYLE_PROVIDER_PRIORITY_THEME</h3>
<pre class="programlisting">#define GTK_STYLE_PROVIDER_PRIORITY_THEME 200
</pre>
<p>The priority used for style information provided
by themes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROVIDER-PRIORITY-SETTINGS:CAPS"></a><h3>GTK_STYLE_PROVIDER_PRIORITY_SETTINGS</h3>
<pre class="programlisting">#define GTK_STYLE_PROVIDER_PRIORITY_SETTINGS 400
</pre>
<p>The priority used for style information provided
via <a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a>.</p>
<p>This priority is higher than <a class="link" href="GtkStyleProvider.html#GTK-STYLE-PROVIDER-PRIORITY-THEME:CAPS" title="GTK_STYLE_PROVIDER_PRIORITY_THEME"><span class="type">GTK_STYLE_PROVIDER_PRIORITY_THEME</span></a>
to let settings override themes.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROVIDER-PRIORITY-APPLICATION:CAPS"></a><h3>GTK_STYLE_PROVIDER_PRIORITY_APPLICATION</h3>
<pre class="programlisting">#define GTK_STYLE_PROVIDER_PRIORITY_APPLICATION 600
</pre>
<p>A priority that can be used when adding a <a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a>
for application-specific style information.</p>
</div>
<hr>
<div class="refsect2">
<a name="GTK-STYLE-PROVIDER-PRIORITY-USER:CAPS"></a><h3>GTK_STYLE_PROVIDER_PRIORITY_USER</h3>
<pre class="programlisting">#define GTK_STYLE_PROVIDER_PRIORITY_USER 800
</pre>
<p>The priority used for the style information from
<code class="literal">XDG_CONFIG_HOME/gtk-3.0/gtk.css</code>.</p>
<p>You should not use priorities higher than this, to
give the user the last word.</p>
</div>
</div>
<div class="refsect1">
<a name="GtkStyleProvider.see-also"></a><h2>See Also</h2>
<p><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a>, <a class="link" href="GtkCssProvider.html" title="GtkCssProvider"><span class="type">GtkCssProvider</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.32.1</div>
</body>
</html>