New upstream version 3.24.14
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="DeprecatedObjects.html" title="Deprecated">
|
||||
<link rel="prev" href="GtkStatusIcon.html" title="GtkStatusIcon">
|
||||
<link rel="next" href="GtkAlignment.html" title="GtkAlignment">
|
||||
<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="GtkThemingEngine.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="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="returnvalue">GtkTextDirection</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/GtkWidget.html#GtkTextDirection"><span class="returnvalue">GtkTextDirection</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkThemingEngine.html#gtk-theming-engine-get-direction" title="gtk_theming_engine_get_direction ()">gtk_theming_engine_get_direction</a> <span class="c_punctuation">()</span>
|
||||
@ -59,14 +59,14 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="GtkStyleContext.html#GtkJunctionSides" title="enum GtkJunctionSides"><span class="returnvalue">GtkJunctionSides</span></a>
|
||||
<span class="returnvalue">GtkJunctionSides</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkThemingEngine.html#gtk-theming-engine-get-junction-sides" title="gtk_theming_engine_get_junction_sides ()">gtk_theming_engine_get_junction_sides</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="returnvalue">GtkWidgetPath</span></a> *
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/gtk4/gtk4-GtkWidgetPath.html#GtkWidgetPath"><span class="returnvalue">GtkWidgetPath</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkThemingEngine.html#gtk-theming-engine-get-path" title="gtk_theming_engine_get_path ()">gtk_theming_engine_get_path</a> <span class="c_punctuation">()</span>
|
||||
@ -90,7 +90,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="returnvalue">GtkStateFlags</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkStateFlags"><span class="returnvalue">GtkStateFlags</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkThemingEngine.html#gtk-theming-engine-get-state" title="gtk_theming_engine_get_state ()">gtk_theming_engine_get_state</a> <span class="c_punctuation">()</span>
|
||||
@ -246,7 +246,7 @@
|
||||
<td class="property_type">
|
||||
<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>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
@ -254,17 +254,17 @@
|
||||
<a name="GtkThemingEngine.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="GtkThemingEngine.html#GtkThemingEngineClass" title="struct GtkThemingEngineClass">GtkThemingEngineClass</a></td>
|
||||
<td class="function_name">GtkThemingEngineClass</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="GtkThemingEngine.html#GtkThemingEngine-struct" title="struct GtkThemingEngine">GtkThemingEngine</a></td>
|
||||
<td class="function_name">GtkThemingEngine</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -297,7 +297,7 @@ to modify source code.</p>
|
||||
<a name="gtk-theming-engine-get"></a><h3>gtk_theming_engine_get ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_theming_engine_get (<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/gtk4/gtk4-Standard-Enumerations.html#GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||
<em class="parameter"><code>...</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Retrieves several style property values that apply to the currently
|
||||
@ -334,13 +334,13 @@ rendered element.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-theming-engine-get-direction"></a><h3>gtk_theming_engine_get_direction ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="returnvalue">GtkTextDirection</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/GtkWidget.html#GtkTextDirection"><span class="returnvalue">GtkTextDirection</span></a>
|
||||
gtk_theming_engine_get_direction (<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_direction</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkThemingEngine.html#gtk-theming-engine-get-state" title="gtk_theming_engine_get_state ()"><code class="function">gtk_theming_engine_get_state()</code></a> and
|
||||
check for <a class="link" href="gtk3-Standard-Enumerations.html#GTK-STATE-FLAG-DIR-LTR:CAPS"><span class="type">GTK_STATE_FLAG_DIR_LTR</span></a> and
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-STATE-FLAG-DIR-RTL:CAPS"><span class="type">GTK_STATE_FLAG_DIR_RTL</span></a> instead.</p>
|
||||
check for <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-STATE-FLAG-DIR-LTR:CAPS"><span class="type">GTK_STATE_FLAG_DIR_LTR</span></a> and
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-STATE-FLAG-DIR-RTL:CAPS"><span class="type">GTK_STATE_FLAG_DIR_RTL</span></a> instead.</p>
|
||||
</div>
|
||||
<p>Returns the widget direction used for rendering.</p>
|
||||
<div class="refsect3">
|
||||
@ -367,7 +367,7 @@ gtk_theming_engine_get_direction (<em class="parameter"><code><a class="link" hr
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-theming-engine-get-junction-sides"></a><h3>gtk_theming_engine_get_junction_sides ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkStyleContext.html#GtkJunctionSides" title="enum GtkJunctionSides"><span class="returnvalue">GtkJunctionSides</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">GtkJunctionSides</span>
|
||||
gtk_theming_engine_get_junction_sides (<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_junction_sides</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Returns the widget direction used for rendering.</p>
|
||||
@ -395,7 +395,7 @@ gtk_theming_engine_get_junction_sides (<em class="parameter"><code><a class="lin
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-theming-engine-get-path"></a><h3>gtk_theming_engine_get_path ()</h3>
|
||||
<pre class="programlisting">const <a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="returnvalue">GtkWidgetPath</span></a> *
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/gtk4/gtk4-GtkWidgetPath.html#GtkWidgetPath"><span class="returnvalue">GtkWidgetPath</span></a> *
|
||||
gtk_theming_engine_get_path (<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_path</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Returns the widget path used for style matching.</p>
|
||||
@ -416,7 +416,7 @@ gtk_theming_engine_get_path (<em class="parameter"><code><a class="link" href="G
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-theming-engine-get-path.returns"></a><h4>Returns</h4>
|
||||
<p>A <a class="link" href="gtk3-GtkWidgetPath.html#GtkWidgetPath" title="GtkWidgetPath"><span class="type">GtkWidgetPath</span></a>. </p>
|
||||
<p>A <a href="https://developer.gnome.org/gtk4/gtk4-GtkWidgetPath.html#GtkWidgetPath"><span class="type">GtkWidgetPath</span></a>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -427,7 +427,7 @@ gtk_theming_engine_get_path (<em class="parameter"><code><a class="link" href="G
|
||||
<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 <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/gtk4/gtk4-Standard-Enumerations.html#GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</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_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
|
||||
@ -500,7 +500,7 @@ gtk_theming_engine_get_screen (<em class="parameter"><code><a class="link" href=
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-theming-engine-get-state"></a><h3>gtk_theming_engine_get_state ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="returnvalue">GtkStateFlags</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkStateFlags"><span class="returnvalue">GtkStateFlags</span></a>
|
||||
gtk_theming_engine_get_state (<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_state</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>returns the state used when rendering.</p>
|
||||
@ -637,7 +637,7 @@ currently rendered content’s style.</p>
|
||||
<a name="gtk-theming-engine-get-valist"></a><h3>gtk_theming_engine_get_valist ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_theming_engine_get_valist (<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/gtk4/gtk4-Standard-Enumerations.html#GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_valist</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Retrieves several style property values that apply to the currently
|
||||
@ -676,7 +676,7 @@ rendered element.</p>
|
||||
<a name="gtk-theming-engine-get-color"></a><h3>gtk_theming_engine_get_color ()</h3>
|
||||
<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/gtk4/gtk4-Standard-Enumerations.html#GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</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_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>
|
||||
@ -715,7 +715,7 @@ gtk_theming_engine_get_color (<em class="parameter"><code><a class="link" href="
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
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/gtk4/gtk4-Standard-Enumerations.html#GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</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_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>
|
||||
@ -753,7 +753,7 @@ gtk_theming_engine_get_background_color
|
||||
<a name="gtk-theming-engine-get-border-color"></a><h3>gtk_theming_engine_get_border_color ()</h3>
|
||||
<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/gtk4/gtk4-Standard-Enumerations.html#GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</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_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>
|
||||
@ -791,7 +791,7 @@ gtk_theming_engine_get_border_color (<em class="parameter"><code><a class="link"
|
||||
<a name="gtk-theming-engine-get-border"></a><h3>gtk_theming_engine_get_border ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_theming_engine_get_border (<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/gtk4/gtk4-Standard-Enumerations.html#GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a> *border</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_border</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Gets the border for a given state as a <a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a>.</p>
|
||||
@ -829,7 +829,7 @@ gtk_theming_engine_get_border (<em class="parameter"><code><a class="link" href=
|
||||
<a name="gtk-theming-engine-get-padding"></a><h3>gtk_theming_engine_get_padding ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_theming_engine_get_padding (<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/gtk4/gtk4-Standard-Enumerations.html#GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a> *padding</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_padding</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Gets the padding for a given state as a <a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a>.</p>
|
||||
@ -867,7 +867,7 @@ gtk_theming_engine_get_padding (<em class="parameter"><code><a class="link" href
|
||||
<a name="gtk-theming-engine-get-margin"></a><h3>gtk_theming_engine_get_margin ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_theming_engine_get_margin (<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/gtk4/gtk4-Standard-Enumerations.html#GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a> *margin</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_theming_engine_get_margin</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Gets the margin for a given state as a <a class="link" href="GtkStyleContext.html#GtkBorder"><span class="type">GtkBorder</span></a>.</p>
|
||||
@ -905,7 +905,7 @@ gtk_theming_engine_get_margin (<em class="parameter"><code><a class="link" href=
|
||||
<a name="gtk-theming-engine-get-font"></a><h3>gtk_theming_engine_get_font ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="returnvalue">PangoFontDescription</span></a> *
|
||||
gtk_theming_engine_get_font (<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>);</pre>
|
||||
<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>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_theming_engine_get_font</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkThemingEngine.html#gtk-theming-engine-get" title="gtk_theming_engine_get ()"><code class="function">gtk_theming_engine_get()</code></a></p>
|
||||
@ -987,7 +987,7 @@ defined</p>
|
||||
<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 <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>
|
||||
<em class="parameter"><code><span class="type">GtkRegionFlags</span> *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 <code class="literal">TRUE</code> if the currently rendered contents have the
|
||||
region defined. If <em class="parameter"><code>flags_return</code></em>
|
||||
@ -1074,7 +1074,7 @@ was found and resolved, <code class="literal">FALSE</code> otherwise</p>
|
||||
<a name="gtk-theming-engine-state-is-running"></a><h3>gtk_theming_engine_state_is_running ()</h3>
|
||||
<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><span class="type">GtkStateType</span> state</code></em>,
|
||||
<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>
|
||||
@ -1195,10 +1195,10 @@ one.</p>
|
||||
2
|
||||
3
|
||||
4</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="symbol">*</span><span class="normal"> </span><span class="cbracket">{</span>
|
||||
<span class="normal"> engine</span><span class="symbol">:</span><span class="normal"> someengine</span><span class="symbol">;</span>
|
||||
<span class="normal"> </span><span class="symbol">-</span><span class="normal">SomeEngine</span><span class="symbol">-</span><span class="normal">custom</span><span class="symbol">-</span><span class="normal">property</span><span class="symbol">:</span><span class="normal"> </span><span class="number">2</span><span class="symbol">;</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="o">*</span> <span class="p">{</span>
|
||||
<span class="nl">engine</span><span class="p">:</span> <span class="n">someengine</span><span class="p">;</span>
|
||||
<span class="o">-</span><span class="n">SomeEngine</span><span class="o">-</span><span class="n">custom</span><span class="o">-</span><span class="nl">property</span><span class="p">:</span> <span class="mi">2</span><span class="p">;</span>
|
||||
<span class="p">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -1237,225 +1237,6 @@ one.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkThemingEngine.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkThemingEngineClass"></a><h3>struct GtkThemingEngineClass</h3>
|
||||
<pre class="programlisting">struct GtkThemingEngineClass {
|
||||
GObjectClass parent_class;
|
||||
|
||||
|
||||
void (* render_line) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x0,
|
||||
gdouble y0,
|
||||
gdouble x1,
|
||||
gdouble y1);
|
||||
void (* render_background) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
gdouble width,
|
||||
gdouble height);
|
||||
void (* render_frame) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
gdouble width,
|
||||
gdouble height);
|
||||
void (* render_frame_gap) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
gdouble width,
|
||||
gdouble height,
|
||||
GtkPositionType gap_side,
|
||||
gdouble xy0_gap,
|
||||
gdouble xy1_gap);
|
||||
void (* render_extension) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
gdouble width,
|
||||
gdouble height,
|
||||
GtkPositionType gap_side);
|
||||
void (* render_check) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
gdouble width,
|
||||
gdouble height);
|
||||
void (* render_option) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
gdouble width,
|
||||
gdouble height);
|
||||
void (* render_arrow) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble angle,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
gdouble size);
|
||||
void (* render_expander) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
gdouble width,
|
||||
gdouble height);
|
||||
void (* render_focus) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
gdouble width,
|
||||
gdouble height);
|
||||
void (* render_layout) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
PangoLayout *layout);
|
||||
void (* render_slider) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
gdouble width,
|
||||
gdouble height,
|
||||
GtkOrientation orientation);
|
||||
void (* render_handle) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
gdouble width,
|
||||
gdouble height);
|
||||
void (* render_activity) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
gdouble x,
|
||||
gdouble y,
|
||||
gdouble width,
|
||||
gdouble height);
|
||||
|
||||
GdkPixbuf * (* render_icon_pixbuf) (GtkThemingEngine *engine,
|
||||
const GtkIconSource *source,
|
||||
GtkIconSize size);
|
||||
void (* render_icon) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
GdkPixbuf *pixbuf,
|
||||
gdouble x,
|
||||
gdouble y);
|
||||
void (* render_icon_surface) (GtkThemingEngine *engine,
|
||||
cairo_t *cr,
|
||||
cairo_surface_t *surface,
|
||||
gdouble x,
|
||||
gdouble y);
|
||||
};
|
||||
</pre>
|
||||
<p>Base class for theming engines.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkThemingEngineClass.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="GtkThemingEngineClass.render-line"></a>render_line</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders a line between two points.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-background"></a>render_background</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders the background area of a widget region.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-frame"></a>render_frame</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders the frame around a widget area.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-frame-gap"></a>render_frame_gap</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders the frame around a widget area with a gap in it.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-extension"></a>render_extension</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders a extension to a box, usually a notebook tab.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-check"></a>render_check</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders a checkmark, as in <a class="link" href="GtkCheckButton.html" title="GtkCheckButton"><span class="type">GtkCheckButton</span></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-option"></a>render_option</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders an option, as in <a class="link" href="GtkRadioButton.html" title="GtkRadioButton"><span class="type">GtkRadioButton</span></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-arrow"></a>render_arrow</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders an arrow pointing to a certain direction.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-expander"></a>render_expander</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders an element what will expose/expand part of
|
||||
the UI, as in <a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-focus"></a>render_focus</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders the focus indicator.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-layout"></a>render_layout</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders a <a href="https://developer.gnome.org/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a></p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-slider"></a>render_slider</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders a slider control, as in <a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-handle"></a>render_handle</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders a handle to drag UI elements, as in <a class="link" href="GtkPaned.html" title="GtkPaned"><span class="type">GtkPaned</span></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-activity"></a>render_activity</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders an area displaying activity, such as in <a class="link" href="GtkSpinner.html" title="GtkSpinner"><span class="type">GtkSpinner</span></a>,
|
||||
or <a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-icon-pixbuf"></a>render_icon_pixbuf</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders an icon as a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-icon"></a>render_icon</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders an icon given as a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkThemingEngineClass.render-icon-surface"></a>render_icon_surface</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Renders an icon given as a <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkThemingEngine-struct"></a><h3>struct GtkThemingEngine</h3>
|
||||
<pre class="programlisting">struct GtkThemingEngine;</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<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>
|
||||
@ -1468,14 +1249,15 @@ a "glossy" custom property, it could be referenced in the CSS file as</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="listing_lines" align="right"><pre>1</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="symbol">-</span><span class="normal">Clearlooks</span><span class="symbol">-</span><span class="normal">glossy</span><span class="symbol">:</span><span class="normal"> true</span><span class="symbol">;</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="o">-</span><span class="n">Clearlooks</span><span class="o">-</span><span class="nl">glossy</span><span class="p">:</span> <span class="nb">true</span><span class="p">;</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p></p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Owner: GtkThemingEngine</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Default value: NULL</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
@ -1486,6 +1268,6 @@ a "glossy" custom property, it could be referenced in the CSS file as</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>
|
Reference in New Issue
Block a user