New upstream version 3.22.28
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="DeprecatedObjects.html" title="Deprecated">
|
||||
<link rel="prev" href="gtk3-GtkGradient.html" title="GtkGradient">
|
||||
<link rel="next" href="GtkStyle.html" title="GtkStyle">
|
||||
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -42,7 +42,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Lexical-Scanner.html#GScanner"><span class="returnvalue">GScanner</span></a> *
|
||||
<span class="returnvalue">GScanner</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Resource-Files.html#gtk-rc-scanner-new" title="gtk_rc_scanner_new ()">gtk_rc_scanner_new</a> <span class="c_punctuation">()</span>
|
||||
@ -82,7 +82,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/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="gtk3-Resource-Files.html#gtk-rc-reparse-all" title="gtk_rc_reparse_all ()">gtk_rc_reparse_all</a> <span class="c_punctuation">()</span>
|
||||
@ -90,7 +90,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/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="gtk3-Resource-Files.html#gtk-rc-reparse-all-for-settings" title="gtk_rc_reparse_all_for_settings ()">gtk_rc_reparse_all_for_settings</a> <span class="c_punctuation">()</span>
|
||||
@ -114,7 +114,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
||||
<span class="returnvalue">gchar</span> **
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Resource-Files.html#gtk-rc-get-default-files" title="gtk_rc_get_default_files ()">gtk_rc_get_default_files</a> <span class="c_punctuation">()</span>
|
||||
@ -130,7 +130,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Resource-Files.html#gtk-rc-parse-color" title="gtk_rc_parse_color ()">gtk_rc_parse_color</a> <span class="c_punctuation">()</span>
|
||||
@ -138,7 +138,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Resource-Files.html#gtk-rc-parse-color-full" title="gtk_rc_parse_color_full ()">gtk_rc_parse_color_full</a> <span class="c_punctuation">()</span>
|
||||
@ -146,7 +146,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Resource-Files.html#gtk-rc-parse-state" title="gtk_rc_parse_state ()">gtk_rc_parse_state</a> <span class="c_punctuation">()</span>
|
||||
@ -154,7 +154,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Resource-Files.html#gtk-rc-parse-priority" title="gtk_rc_parse_priority ()">gtk_rc_parse_priority</a> <span class="c_punctuation">()</span>
|
||||
@ -162,7 +162,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Resource-Files.html#gtk-rc-find-module-in-path" title="gtk_rc_find_module_in_path ()">gtk_rc_find_module_in_path</a> <span class="c_punctuation">()</span>
|
||||
@ -170,7 +170,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Resource-Files.html#gtk-rc-find-pixmap-in-path" title="gtk_rc_find_pixmap_in_path ()">gtk_rc_find_pixmap_in_path</a> <span class="c_punctuation">()</span>
|
||||
@ -178,7 +178,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Resource-Files.html#gtk-rc-get-module-dir" title="gtk_rc_get_module_dir ()">gtk_rc_get_module_dir</a> <span class="c_punctuation">()</span>
|
||||
@ -186,7 +186,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Resource-Files.html#gtk-rc-get-im-module-path" title="gtk_rc_get_im_module_path ()">gtk_rc_get_im_module_path</a> <span class="c_punctuation">()</span>
|
||||
@ -194,7 +194,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Resource-Files.html#gtk-rc-get-im-module-file" title="gtk_rc_get_im_module_file ()">gtk_rc_get_im_module_file</a> <span class="c_punctuation">()</span>
|
||||
@ -202,7 +202,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gtk3-Resource-Files.html#gtk-rc-get-theme-dir" title="gtk_rc_get_theme_dir ()">gtk_rc_get_theme_dir</a> <span class="c_punctuation">()</span>
|
||||
@ -264,7 +264,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="gtk3-Resource-Files.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GtkRcStyle
|
||||
</pre>
|
||||
</div>
|
||||
@ -323,7 +323,7 @@ of such a statement:</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="listing_lines" align="right"><pre>1</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting">widget <span class="string">"mywindow.*.GtkEntry"</span> style <span class="string">"my-entry-class"</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">widget </span><span class="string">"mywindow.*.GtkEntry"</span><span class="normal"> style </span><span class="string">"my-entry-class"</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -354,7 +354,7 @@ derived classes. For instance,</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="listing_lines" align="right"><pre>1</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting">widget_class <span class="string">"*<GtkMenuItem>.GtkLabel"</span> style <span class="string">"my-style"</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">widget_class </span><span class="string">"*<GtkMenuItem>.GtkLabel"</span><span class="normal"> style </span><span class="string">"my-style"</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -374,7 +374,7 @@ hierarchy) in sequence, so the pattern:</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="listing_lines" align="right"><pre>1</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwc">class</span> <span class="string">"GtkButton"</span> style <span class="string">"my-style"</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">class </span><span class="string">"GtkButton"</span><span class="normal"> style </span><span class="string">"my-style"</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -444,10 +444,10 @@ for a match across a group of applications.</p></li>
|
||||
2
|
||||
3
|
||||
4</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting">style <span class="string">"Foo"</span> <span class="gtkdoc opt">{</span> foo_content <span class="gtkdoc opt">}</span>
|
||||
<span class="gtkdoc kwc">class</span> <span class="string">"X"</span> style <span class="string">"Foo"</span>
|
||||
style <span class="string">"Bar"</span> <span class="gtkdoc opt">{</span> bar_content <span class="gtkdoc opt">}</span>
|
||||
<span class="gtkdoc kwc">class</span> <span class="string">"X"</span> style <span class="string">"Bar"</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">style </span><span class="string">"Foo"</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> foo_content </span><span class="cbracket">}</span>
|
||||
<span class="normal">class </span><span class="string">"X"</span><span class="normal"> style </span><span class="string">"Foo"</span>
|
||||
<span class="normal">style </span><span class="string">"Bar"</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> bar_content </span><span class="cbracket">}</span>
|
||||
<span class="normal">class </span><span class="string">"X"</span><span class="normal"> style </span><span class="string">"Bar"</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -461,8 +461,8 @@ is faster to match as:</p>
|
||||
<tr>
|
||||
<td class="listing_lines" align="right"><pre>1
|
||||
2</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting">style <span class="string">"FooBar"</span> <span class="gtkdoc opt">{</span> foo_content bar_content <span class="gtkdoc opt">}</span>
|
||||
<span class="gtkdoc kwc">class</span> <span class="string">"X"</span> style <span class="string">"FooBar"</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">style </span><span class="string">"FooBar"</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="usertype">foo_content</span><span class="normal"> bar_content </span><span class="cbracket">}</span>
|
||||
<span class="normal">class </span><span class="string">"X"</span><span class="normal"> style </span><span class="string">"FooBar"</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -617,9 +617,9 @@ elements are:</p>
|
||||
pixmap</code></p>
|
||||
<p> Sets a background pixmap to be used in place of the <code class="literal">bg</code> color
|
||||
(or for <span class="type">GtkText</span>, in place of the <code class="literal">base</code> color. The special
|
||||
value <code class="literal">"<parent>"</code> may be used to indicate that the widget should
|
||||
value <code class="literal">"&lt;parent>"</code> may be used to indicate that the widget should
|
||||
use the same background pixmap as its parent. The special value
|
||||
<code class="literal">"<none>"</code> may be used to indicate no background pixmap.</p>
|
||||
<code class="literal">"&lt;none>"</code> may be used to indicate no background pixmap.</p>
|
||||
</li>
|
||||
<li class="listitem">
|
||||
<p><code class="literal">font = font</code></p>
|
||||
@ -636,7 +636,7 @@ elements are:</p>
|
||||
<p> Sets the font for a widget. font must be
|
||||
a Pango font name, e.g. “Sans Italic 10” .
|
||||
For details about Pango font names, see
|
||||
<a href="../pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>.</p>
|
||||
<code class="function">pango_font_description_from_string()</code>.</p>
|
||||
</li>
|
||||
<li class="listitem">
|
||||
<p><code class="literal">stock["stock-id"] = { icon source specifications }</code></p>
|
||||
@ -742,9 +742,9 @@ colors. The following expressions are currently supported:</p>
|
||||
<td class="listing_lines" align="right"><pre>1
|
||||
2
|
||||
3</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="function">mix</span> <span class="gtkdoc opt">(</span><span class="number">0.5</span><span class="gtkdoc opt">,</span> <span class="string">"red"</span><span class="gtkdoc opt">,</span> <span class="string">"blue"</span><span class="gtkdoc opt">)</span>
|
||||
<span class="function">shade</span> <span class="gtkdoc opt">(</span><span class="number">1.5</span><span class="gtkdoc opt">,</span> <span class="function">mix</span> <span class="gtkdoc opt">(</span><span class="number">0.3</span><span class="gtkdoc opt">,</span> <span class="string">"#0abbc0"</span><span class="gtkdoc opt">, {</span> <span class="number">0.3</span><span class="gtkdoc opt">,</span> <span class="number">0.5</span><span class="gtkdoc opt">,</span> <span class="number">0.9</span> <span class="gtkdoc opt">}))</span>
|
||||
<span class="function">lighter</span> <span class="gtkdoc opt">(</span>@foreground<span class="gtkdoc opt">)</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="function">mix</span><span class="normal"> </span><span class="symbol">(</span><span class="number">0.5</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue"</span><span class="symbol">)</span>
|
||||
<span class="function">shade</span><span class="normal"> </span><span class="symbol">(</span><span class="number">1.5</span><span class="symbol">,</span><span class="normal"> </span><span class="function">mix</span><span class="normal"> </span><span class="symbol">(</span><span class="number">0.3</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"#0abbc0"</span><span class="symbol">,</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="number">0.3</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.9</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">))</span>
|
||||
<span class="function">lighter</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">@foreground</span><span class="symbol">)</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -771,11 +771,11 @@ use for left-to-right and right-to-left languages:</p>
|
||||
3
|
||||
4
|
||||
5</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting">stock<span class="gtkdoc opt">[</span><span class="string">"my-stock-item"</span><span class="gtkdoc opt">] =</span>
|
||||
<span class="gtkdoc opt">{</span>
|
||||
<span class="gtkdoc opt">{</span> <span class="string">"itemltr.png"</span><span class="gtkdoc opt">,</span> LTR<span class="gtkdoc opt">, *, * },</span>
|
||||
<span class="gtkdoc opt">{</span> <span class="string">"itemrtl.png"</span><span class="gtkdoc opt">,</span> RTL<span class="gtkdoc opt">, *, * }</span>
|
||||
<span class="gtkdoc opt">}</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">stock</span><span class="symbol">[</span><span class="string">"my-stock-item"</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">=</span>
|
||||
<span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"itemltr.png"</span><span class="symbol">,</span><span class="normal"> LTR</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"itemrtl.png"</span><span class="symbol">,</span><span class="normal"> RTL</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="cbracket">}</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -792,11 +792,11 @@ use for left-to-right and right-to-left languages:</p>
|
||||
3
|
||||
4
|
||||
5</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting">stock<span class="gtkdoc opt">[</span><span class="string">"my-stock-item"</span><span class="gtkdoc opt">] =</span>
|
||||
<span class="gtkdoc opt">{</span>
|
||||
<span class="gtkdoc opt">{</span> <span class="string">"itemltr.png"</span><span class="gtkdoc opt">,</span> LTR <span class="gtkdoc opt">},</span>
|
||||
<span class="gtkdoc opt">{</span> <span class="string">"itemrtl.png"</span><span class="gtkdoc opt">,</span> RTL <span class="gtkdoc opt">}</span>
|
||||
<span class="gtkdoc opt">}</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">stock</span><span class="symbol">[</span><span class="string">"my-stock-item"</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">=</span>
|
||||
<span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"itemltr.png"</span><span class="symbol">,</span><span class="normal"> LTR </span><span class="cbracket">}</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"itemrtl.png"</span><span class="symbol">,</span><span class="normal"> RTL </span><span class="cbracket">}</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -814,12 +814,12 @@ use for left-to-right and right-to-left languages:</p>
|
||||
4
|
||||
5
|
||||
6</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting">stock<span class="gtkdoc opt">[</span><span class="string">"my-stock-item"</span><span class="gtkdoc opt">] =</span>
|
||||
<span class="gtkdoc opt">{</span>
|
||||
<span class="gtkdoc opt">{</span> <span class="string">"itemmenusize.png"</span><span class="gtkdoc opt">, *, *,</span> <span class="string">"gtk-menu"</span> <span class="gtkdoc opt">},</span>
|
||||
<span class="gtkdoc opt">{</span> <span class="string">"itemtoolbarsize.png"</span><span class="gtkdoc opt">, *, *,</span> <span class="string">"gtk-large-toolbar"</span> <span class="gtkdoc opt">}</span>
|
||||
<span class="gtkdoc opt">{</span> <span class="string">"itemgeneric.png"</span> <span class="gtkdoc opt">}</span> <span class="gtkdoc slc">// implicit *, *, * as a fallback</span>
|
||||
<span class="gtkdoc opt">}</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">stock</span><span class="symbol">[</span><span class="string">"my-stock-item"</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">=</span>
|
||||
<span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"itemmenusize.png"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*,</span><span class="normal"> </span><span class="symbol">*,</span><span class="normal"> </span><span class="string">"gtk-menu"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"itemtoolbarsize.png"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*,</span><span class="normal"> </span><span class="symbol">*,</span><span class="normal"> </span><span class="string">"gtk-large-toolbar"</span><span class="normal"> </span><span class="cbracket">}</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"itemgeneric.png"</span><span class="normal"> </span><span class="cbracket">}</span><span class="normal"> </span><span class="comment">// implicit *, *, * as a fallback</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -841,12 +841,12 @@ can define other sizes.</p>
|
||||
4
|
||||
5
|
||||
6</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting">stock<span class="gtkdoc opt">[</span><span class="string">"my-stock-item"</span><span class="gtkdoc opt">] =</span>
|
||||
<span class="gtkdoc opt">{</span>
|
||||
<span class="gtkdoc opt">{</span> <span class="string">"itemprelight.png"</span><span class="gtkdoc opt">, *,</span> PRELIGHT <span class="gtkdoc opt">},</span>
|
||||
<span class="gtkdoc opt">{</span> <span class="string">"iteminsensitive.png"</span><span class="gtkdoc opt">, *,</span> INSENSITIVE <span class="gtkdoc opt">},</span>
|
||||
<span class="gtkdoc opt">{</span> <span class="string">"itemgeneric.png"</span> <span class="gtkdoc opt">}</span> <span class="gtkdoc slc">// implicit *, *, * as a fallback</span>
|
||||
<span class="gtkdoc opt">}</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">stock</span><span class="symbol">[</span><span class="string">"my-stock-item"</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">=</span>
|
||||
<span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"itemprelight.png"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*,</span><span class="normal"> PRELIGHT </span><span class="cbracket">}</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"iteminsensitive.png"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*,</span><span class="normal"> INSENSITIVE </span><span class="cbracket">}</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"itemgeneric.png"</span><span class="normal"> </span><span class="cbracket">}</span><span class="normal"> </span><span class="comment">// implicit *, *, * as a fallback</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -878,13 +878,13 @@ set declaration is:</p>
|
||||
5
|
||||
6
|
||||
7</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting">binding name <span class="gtkdoc opt">{</span>
|
||||
bind key <span class="gtkdoc opt">{</span>
|
||||
<span class="function">signalname</span> <span class="gtkdoc opt">(</span>param<span class="gtkdoc opt">, ...)</span>
|
||||
<span class="gtkdoc opt">...</span>
|
||||
<span class="gtkdoc opt">}</span>
|
||||
<span class="gtkdoc opt">...</span>
|
||||
<span class="gtkdoc opt">}</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="usertype">binding</span><span class="normal"> name </span><span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="usertype">bind</span><span class="normal"> key </span><span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="function">signalname</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">param</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">...)</span>
|
||||
<span class="normal"> </span><span class="symbol">...</span>
|
||||
<span class="normal"> </span><span class="cbracket">}</span>
|
||||
<span class="normal"> </span><span class="symbol">...</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -894,26 +894,26 @@ set declaration is:</p>
|
||||
<p><code class="literal">key</code> is a string consisting of a series of modifiers followed by
|
||||
the name of a key. The modifiers can be:</p>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
||||
<li class="listitem"><p><code class="literal"><alt></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><ctl></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><control></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><meta></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><hyper></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><super></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><mod1></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><mod2></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><mod3></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><mod4></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><mod5></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><release></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><shft></code></p></li>
|
||||
<li class="listitem"><p><code class="literal"><shift></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;alt></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;ctl></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;control></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;meta></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;hyper></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;super></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;mod1></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;mod2></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;mod3></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;mod4></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;mod5></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;release></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;shft></code></p></li>
|
||||
<li class="listitem"><p><code class="literal">&lt;shift></code></p></li>
|
||||
</ul></div>
|
||||
<p><code class="literal"><shft></code> is an alias for <code class="literal"><shift></code>, <code class="literal"><ctl></code> is an alias for
|
||||
<code class="literal"><control></code>, and <code class="literal"><alt></code> is an alias for <code class="literal"><mod1></code>.</p>
|
||||
<p><code class="literal">&lt;shft></code> is an alias for <code class="literal">&lt;shift></code>, <code class="literal">&lt;ctl></code> is an alias for
|
||||
<code class="literal">&lt;control></code>, and <code class="literal">&lt;alt></code> is an alias for <code class="literal">&lt;mod1></code>.</p>
|
||||
<p>The action that is bound to the key is a sequence of signal names
|
||||
(strings) followed by parameters for each signal. The signals must
|
||||
be action signals. (See <a href="../gobject/gobject-Signals.html#g-signal-new"><code class="function">g_signal_new()</code></a>). Each parameter can be a
|
||||
be action signals. (See <code class="function">g_signal_new()</code>). Each parameter can be a
|
||||
float, integer, string, or unquoted string representing an enumeration
|
||||
value. The types of the parameters specified must match the types of
|
||||
the parameters of the signal.</p>
|
||||
@ -928,7 +928,7 @@ same as for styles.</p>
|
||||
<a name="gtk3-Resource-Files.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-scanner-new"></a><h3>gtk_rc_scanner_new ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Lexical-Scanner.html#GScanner"><span class="returnvalue">GScanner</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GScanner</span> *
|
||||
gtk_rc_scanner_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_scanner_new</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -968,7 +968,7 @@ created.)</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-get-style.returns"></a><h4>Returns</h4>
|
||||
<p> the resulting style. No refcount is added
|
||||
<p>the resulting style. No refcount is added
|
||||
to the returned style, so if you want to save this style around,
|
||||
you should add a reference yourself. </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>
|
||||
@ -981,7 +981,7 @@ you should add a reference yourself. </p>
|
||||
gtk_rc_get_style_by_paths (<em class="parameter"><code><a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a> *settings</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">char</span> *widget_path</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">char</span> *class_path</code></em>,
|
||||
<em class="parameter"><code><a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GType</span> type</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_get_style_by_paths</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> instead</p>
|
||||
@ -1001,11 +1001,11 @@ would be items inside a GNOME canvas widget.</p>
|
||||
3
|
||||
4
|
||||
5</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="GtkWidget.html#gtk-widget-path">gtk_widget_path</a></span> <span class="gtkdoc opt">(</span>widget<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">, &</span>path<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span>
|
||||
<span class="function"><a href="GtkWidget.html#gtk-widget-class-path">gtk_widget_class_path</a></span> <span class="gtkdoc opt">(</span>widget<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">, &</span>class_path<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span>
|
||||
<span class="function"><a href="gtk3-Resource-Files.html#gtk-rc-get-style-by-paths">gtk_rc_get_style_by_paths</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="GtkWidget.html#gtk-widget-get-settings">gtk_widget_get_settings</a></span> <span class="gtkdoc opt">(</span>widget<span class="gtkdoc opt">),</span>
|
||||
path<span class="gtkdoc opt">,</span> class_path<span class="gtkdoc opt">,</span>
|
||||
<span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#G-OBJECT-TYPE:CAPS">G_OBJECT_TYPE</a></span> <span class="gtkdoc opt">(</span>widget<span class="gtkdoc opt">));</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="GtkWidget.html#gtk-widget-path">gtk_widget_path</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">path</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
||||
<span class="function"><a href="GtkWidget.html#gtk-widget-class-path">gtk_widget_class_path</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">class_path</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
||||
<span class="function"><a href="gtk3-Resource-Files.html#gtk-rc-get-style-by-paths">gtk_rc_get_style_by_paths</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkWidget.html#gtk-widget-get-settings">gtk_widget_get_settings</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">),</span>
|
||||
<span class="normal"> path</span><span class="symbol">,</span><span class="normal"> class_path</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="function">G_OBJECT_TYPE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">));</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -1028,20 +1028,20 @@ would be items inside a GNOME canvas widget.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>widget_path</p></td>
|
||||
<td class="parameter_description"><p> the widget path to use when looking up the
|
||||
style, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no matching against the widget path should be done. </p></td>
|
||||
<td class="parameter_description"><p>the widget path to use when looking up the
|
||||
style, or <code class="literal">NULL</code> if no matching against the widget path should be done. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>class_path</p></td>
|
||||
<td class="parameter_description"><p> the class path to use when looking up the style,
|
||||
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no matching against the class path should be done. </p></td>
|
||||
<td class="parameter_description"><p>the class path to use when looking up the style,
|
||||
or <code class="literal">NULL</code> if no matching against the class path should be done. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>type</p></td>
|
||||
<td class="parameter_description"><p>a type that will be used along with parent types of this type
|
||||
when matching against class styles, or <a href="../gobject/gobject-Type-Information.html#G-TYPE-NONE:CAPS"><span class="type">G_TYPE_NONE</span></a></p></td>
|
||||
when matching against class styles, or <span class="type">G_TYPE_NONE</span></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1049,11 +1049,11 @@ when matching against class styles, or <a href="../gobject/gobject-Type-Informat
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-get-style-by-paths.returns"></a><h4>Returns</h4>
|
||||
<p> A style created by matching
|
||||
with the supplied paths, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if nothing matching was
|
||||
<p>A style created by matching
|
||||
with the supplied paths, or <code class="literal">NULL</code> if nothing matching was
|
||||
specified and the default style should be used. The returned
|
||||
value is owned by GTK+ as part of an internal cache, so you
|
||||
must call <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> on the returned value if you want to
|
||||
must call <code class="function">g_object_ref()</code> on the returned value if you want to
|
||||
keep a reference to it. </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>
|
||||
@ -1062,7 +1062,7 @@ keep a reference to it. </p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-parse"></a><h3>gtk_rc_parse ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_rc_parse (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
||||
gtk_rc_parse (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_parse</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkCssProvider.html" title="GtkCssProvider"><span class="type">GtkCssProvider</span></a> instead.</p>
|
||||
@ -1090,7 +1090,7 @@ is searched in the current directory.</p></td>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-parse-string"></a><h3>gtk_rc_parse_string ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_rc_parse_string (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *rc_string</code></em>);</pre>
|
||||
gtk_rc_parse_string (<em class="parameter"><code>const <span class="type">gchar</span> *rc_string</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_parse_string</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkCssProvider.html" title="GtkCssProvider"><span class="type">GtkCssProvider</span></a> instead.</p>
|
||||
@ -1115,7 +1115,7 @@ gtk_rc_parse_string (<em class="parameter"><code>const <a href="../glib/glib-Bas
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-reparse-all"></a><h3>gtk_rc_reparse_all ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_rc_reparse_all (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_reparse_all</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -1126,15 +1126,15 @@ default <a class="link" href="GtkSettings.html" title="Settings"><span class="ty
|
||||
and then reread all previously read RC files.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-reparse-all.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the files were reread.</p>
|
||||
<p> <code class="literal">TRUE</code> if the files were reread.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-reparse-all-for-settings"></a><h3>gtk_rc_reparse_all_for_settings ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_rc_reparse_all_for_settings (<em class="parameter"><code><a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a> *settings</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> force_load</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> force_load</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_reparse_all_for_settings</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkCssProvider.html" title="GtkCssProvider"><span class="type">GtkCssProvider</span></a> instead.</p>
|
||||
@ -1166,7 +1166,7 @@ and then reread all previously read RC files.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-reparse-all-for-settings.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the files were reread.</p>
|
||||
<p> <code class="literal">TRUE</code> if the files were reread.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1180,7 +1180,7 @@ gtk_rc_reset_styles (<em class="parameter"><code><a class="link" href="GtkSettin
|
||||
</div>
|
||||
<p>This function recomputes the styles for all widgets that use a
|
||||
particular <a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a> object. (There is one <a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a> object
|
||||
per <a href="../gdk4/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>, see <a class="link" href="GtkSettings.html#gtk-settings-get-for-screen" title="gtk_settings_get_for_screen ()"><code class="function">gtk_settings_get_for_screen()</code></a>); It is useful
|
||||
per <span class="type">GdkScreen</span>, see <a class="link" href="GtkSettings.html#gtk-settings-get-for-screen" title="gtk_settings_get_for_screen ()"><code class="function">gtk_settings_get_for_screen()</code></a>); It is useful
|
||||
when some global parameter has changed that affects the appearance
|
||||
of all widgets, because when a widget gets a new style, it will
|
||||
both redraw and recompute any cached information about its
|
||||
@ -1209,7 +1209,7 @@ with <a class="link" href="GtkWidget.html#gtk-widget-set-style" title="gtk_widge
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-add-default-file"></a><h3>gtk_rc_add_default_file ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_rc_add_default_file (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
||||
gtk_rc_add_default_file (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_add_default_file</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> with a custom <a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> instead</p>
|
||||
@ -1226,7 +1226,7 @@ end of <a class="link" href="gtk3-General.html#gtk-init" title="gtk_init ()"><c
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>filename</p></td>
|
||||
<td class="parameter_description"><p> the pathname to the file. If <em class="parameter"><code>filename</code></em>
|
||||
<td class="parameter_description"><p>the pathname to the file. If <em class="parameter"><code>filename</code></em>
|
||||
is not absolute, it is searched in the current directory. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
||||
</tr></tbody>
|
||||
@ -1236,7 +1236,7 @@ is not absolute, it is searched in the current directory. </p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-get-default-files"></a><h3>gtk_rc_get_default_files ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> **
|
||||
gtk_rc_get_default_files (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_get_default_files</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -1246,7 +1246,7 @@ gtk_rc_get_default_files (<em class="parameter"><code><span class="type">void</s
|
||||
at the end of <a class="link" href="gtk3-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-get-default-files.returns"></a><h4>Returns</h4>
|
||||
<p> A <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of filenames. This memory is owned
|
||||
<p>A <code class="literal">NULL</code>-terminated array of filenames. This memory is owned
|
||||
by GTK+ and must not be freed by the application. If you want
|
||||
to store this information, you should make a copy. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> filename]</span></p>
|
||||
@ -1256,7 +1256,7 @@ to store this information, you should make a copy. </p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-set-default-files"></a><h3>gtk_rc_set_default_files ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_rc_set_default_files (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **filenames</code></em>);</pre>
|
||||
gtk_rc_set_default_files (<em class="parameter"><code><span class="type">gchar</span> **filenames</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_set_default_files</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> with a custom <a class="link" href="GtkStyleProvider.html" title="GtkStyleProvider"><span class="type">GtkStyleProvider</span></a> instead</p>
|
||||
@ -1273,8 +1273,8 @@ end of <a class="link" href="gtk3-General.html#gtk-init" title="gtk_init ()"><c
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>filenames</p></td>
|
||||
<td class="parameter_description"><p> A
|
||||
<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of filenames. </p></td>
|
||||
<td class="parameter_description"><p>A
|
||||
<code class="literal">NULL</code>-terminated list of filenames. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> filename]</span></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -1283,8 +1283,8 @@ end of <a class="link" href="gtk3-General.html#gtk-init" title="gtk_init ()"><c
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-parse-color"></a><h3>gtk_rc_parse_color ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gtk_rc_parse_color (<em class="parameter"><code><a href="../glib/glib-Lexical-Scanner.html#GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gtk_rc_parse_color (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkColor</span> *color</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_parse_color</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -1305,12 +1305,12 @@ order to support symbolic colors.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>scanner</p></td>
|
||||
<td class="parameter_description"><p>a <a href="../glib/glib-Lexical-Scanner.html#GScanner"><span class="type">GScanner</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GScanner</span></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>color</p></td>
|
||||
<td class="parameter_description"><p> a pointer to a <span class="type">GdkColor</span> in which to store
|
||||
<td class="parameter_description"><p>a pointer to a <span class="type">GdkColor</span> in which to store
|
||||
the result. </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>
|
||||
@ -1319,15 +1319,15 @@ the result. </p></td>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-parse-color.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Lexical-Scanner.html#G-TOKEN-NONE:CAPS"><code class="literal">G_TOKEN_NONE</code></a> if parsing succeeded, otherwise the token
|
||||
<p> <code class="literal">G_TOKEN_NONE</code> if parsing succeeded, otherwise the token
|
||||
that was expected but not found</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-parse-color-full"></a><h3>gtk_rc_parse_color_full ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gtk_rc_parse_color_full (<em class="parameter"><code><a href="../glib/glib-Lexical-Scanner.html#GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gtk_rc_parse_color_full (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Resource-Files.html#GtkRcStyle"><span class="type">GtkRcStyle</span></a> *style</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkColor</span> *color</code></em>);</pre>
|
||||
<div class="warning">
|
||||
@ -1336,7 +1336,7 @@ gtk_rc_parse_color_full (<em class="parameter"><code><a href="../glib/glib-Lexic
|
||||
</div>
|
||||
<p>Parses a color in the format expected
|
||||
in a RC file. If <em class="parameter"><code>style</code></em>
|
||||
is not <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it will be consulted to resolve
|
||||
is not <code class="literal">NULL</code>, it will be consulted to resolve
|
||||
references to symbolic colors.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-parse-color-full.parameters"></a><h4>Parameters</h4>
|
||||
@ -1349,17 +1349,17 @@ references to symbolic colors.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>scanner</p></td>
|
||||
<td class="parameter_description"><p>a <a href="../glib/glib-Lexical-Scanner.html#GScanner"><span class="type">GScanner</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GScanner</span></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>style</p></td>
|
||||
<td class="parameter_description"><p> a <a class="link" href="gtk3-Resource-Files.html#GtkRcStyle"><span class="type">GtkRcStyle</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="gtk3-Resource-Files.html#GtkRcStyle"><span class="type">GtkRcStyle</span></a>, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>color</p></td>
|
||||
<td class="parameter_description"><p> a pointer to a <span class="type">GdkColor</span> in which to store
|
||||
<td class="parameter_description"><p>a pointer to a <span class="type">GdkColor</span> in which to store
|
||||
the result. </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>
|
||||
@ -1368,7 +1368,7 @@ the result. </p></td>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-parse-color-full.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Lexical-Scanner.html#G-TOKEN-NONE:CAPS"><code class="literal">G_TOKEN_NONE</code></a> if parsing succeeded, otherwise the token
|
||||
<p> <code class="literal">G_TOKEN_NONE</code> if parsing succeeded, otherwise the token
|
||||
that was expected but not found</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.12</p>
|
||||
@ -1376,8 +1376,8 @@ that was expected but not found</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-parse-state"></a><h3>gtk_rc_parse_state ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gtk_rc_parse_state (<em class="parameter"><code><a href="../glib/glib-Lexical-Scanner.html#GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gtk_rc_parse_state (<em class="parameter"><code><span class="type">GScanner</span> *scanner</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>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_parse_state</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -1396,12 +1396,12 @@ in a RC file.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>scanner</p></td>
|
||||
<td class="parameter_description"><p>a <a href="../glib/glib-Lexical-Scanner.html#GScanner"><span class="type">GScanner</span></a> (must be initialized for parsing an RC file)</p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GScanner</span> (must be initialized for parsing an RC file)</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>state</p></td>
|
||||
<td class="parameter_description"><p> A pointer to a <a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> variable in which to
|
||||
<td class="parameter_description"><p>A pointer to a <a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> variable in which to
|
||||
store the result. </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>
|
||||
@ -1410,15 +1410,15 @@ store the result. </p></td>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-parse-state.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Lexical-Scanner.html#G-TOKEN-NONE:CAPS"><code class="literal">G_TOKEN_NONE</code></a> if parsing succeeded, otherwise the token
|
||||
<p> <code class="literal">G_TOKEN_NONE</code> if parsing succeeded, otherwise the token
|
||||
that was expected but not found.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-parse-priority"></a><h3>gtk_rc_parse_priority ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gtk_rc_parse_priority (<em class="parameter"><code><a href="../glib/glib-Lexical-Scanner.html#GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gtk_rc_parse_priority (<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Resource-Files.html#GtkPathPriorityType" title="enum GtkPathPriorityType"><span class="type">GtkPathPriorityType</span></a> *priority</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_parse_priority</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -1437,7 +1437,7 @@ in a RC file.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>scanner</p></td>
|
||||
<td class="parameter_description"><p>a <a href="../glib/glib-Lexical-Scanner.html#GScanner"><span class="type">GScanner</span></a> (must be initialized for parsing an RC file)</p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GScanner</span> (must be initialized for parsing an RC file)</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1451,15 +1451,15 @@ to store the result.</p></td>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-parse-priority.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Lexical-Scanner.html#G-TOKEN-NONE:CAPS"><code class="literal">G_TOKEN_NONE</code></a> if parsing succeeded, otherwise the token
|
||||
<p> <code class="literal">G_TOKEN_NONE</code> if parsing succeeded, otherwise the token
|
||||
that was expected but not found.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-find-module-in-path"></a><h3>gtk_rc_find_module_in_path ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gtk_rc_find_module_in_path (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *module_file</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gtk_rc_find_module_in_path (<em class="parameter"><code>const <span class="type">gchar</span> *module_file</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_find_module_in_path</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkCssProvider.html" title="GtkCssProvider"><span class="type">GtkCssProvider</span></a> instead.</p>
|
||||
@ -1483,25 +1483,25 @@ is not useful for applications and should not be used.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-find-module-in-path.returns"></a><h4>Returns</h4>
|
||||
<p> The filename, if found (must be
|
||||
freed with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>), otherwise <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>The filename, if found (must be
|
||||
freed with <code class="function">g_free()</code>), otherwise <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-find-pixmap-in-path"></a><h3>gtk_rc_find_pixmap_in_path ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gtk_rc_find_pixmap_in_path (<em class="parameter"><code><a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a> *settings</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Lexical-Scanner.html#GScanner"><span class="type">GScanner</span></a> *scanner</code></em>,
|
||||
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *pixmap_file</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GScanner</span> *scanner</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *pixmap_file</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_find_pixmap_in_path</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkCssProvider.html" title="GtkCssProvider"><span class="type">GtkCssProvider</span></a> instead.</p>
|
||||
</div>
|
||||
<p>Looks up a file in pixmap path for the specified <a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a>.
|
||||
If the file is not found, it outputs a warning message using
|
||||
<a href="../glib/glib-Message-Logging.html#g-warning"><code class="function">g_warning()</code></a> and returns <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
||||
<code class="function">g_warning()</code> and returns <code class="literal">NULL</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-find-pixmap-in-path.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1519,7 +1519,7 @@ If the file is not found, it outputs a warning message using
|
||||
<tr>
|
||||
<td class="parameter_name"><p>scanner</p></td>
|
||||
<td class="parameter_description"><p>Scanner used to get line number information for the
|
||||
warning message, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
||||
warning message, or <code class="literal">NULL</code></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1532,14 +1532,14 @@ warning message, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-find-pixmap-in-path.returns"></a><h4>Returns</h4>
|
||||
<p> the filename. </p>
|
||||
<p>the filename. </p>
|
||||
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-get-module-dir"></a><h3>gtk_rc_get_module_dir ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gtk_rc_get_module_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_get_module_dir</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -1550,14 +1550,14 @@ For full information about the search for theme engines,
|
||||
see the docs for <code class="literal">GTK_PATH</code> in <a class="link" href="gtk-running.html" title="Running GTK+ Applications">Running GTK+ Applications</a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-get-module-dir.returns"></a><h4>Returns</h4>
|
||||
<p> the directory. (Must be freed with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>). </p>
|
||||
<p>the directory. (Must be freed with <code class="function">g_free()</code>). </p>
|
||||
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-get-im-module-path"></a><h3>gtk_rc_get_im_module_path ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gtk_rc_get_im_module_path (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_get_im_module_path</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -1570,7 +1570,7 @@ function is useful solely for utilities supplied with GTK+ and should
|
||||
not be used by applications under normal circumstances.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-get-im-module-path.returns"></a><h4>Returns</h4>
|
||||
<p> a newly-allocated string containing the
|
||||
<p>a newly-allocated string containing the
|
||||
path in which to look for IM modules. </p>
|
||||
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
||||
</div>
|
||||
@ -1578,7 +1578,7 @@ path in which to look for IM modules. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-get-im-module-file"></a><h3>gtk_rc_get_im_module_file ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gtk_rc_get_im_module_file (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_get_im_module_file</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -1589,7 +1589,7 @@ of the <code class="literal">GTK_IM_MODULE_FILE</code>
|
||||
environment variable for more details.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-get-im-module-file.returns"></a><h4>Returns</h4>
|
||||
<p> a newly-allocated string containing the
|
||||
<p>a newly-allocated string containing the
|
||||
name of the file listing the IM modules available for loading. </p>
|
||||
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
||||
</div>
|
||||
@ -1597,7 +1597,7 @@ name of the file listing the IM modules available for loading. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-rc-get-theme-dir"></a><h3>gtk_rc_get_theme_dir ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
||||
gtk_rc_get_theme_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_rc_get_theme_dir</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
@ -1608,7 +1608,7 @@ be installed. (GTK+ does not actually use this directory
|
||||
itself.)</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-get-theme-dir.returns"></a><h4>Returns</h4>
|
||||
<p> The directory (must be freed with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>).</p>
|
||||
<p> The directory (must be freed with <code class="function">g_free()</code>).</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1656,7 +1656,7 @@ derived from <a class="link" href="gtk3-Resource-Files.html#GtkRcStyle"><span cl
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-rc-style-copy.returns"></a><h4>Returns</h4>
|
||||
<p> the resulting <a class="link" href="gtk3-Resource-Files.html#GtkRcStyle"><span class="type">GtkRcStyle</span></a>. </p>
|
||||
<p>the resulting <a class="link" href="gtk3-Resource-Files.html#GtkRcStyle"><span class="type">GtkRcStyle</span></a>. </p>
|
||||
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -1694,18 +1694,18 @@ This can later be composited together with other
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GtkRcStyle-struct.name"></a>name</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GtkRcStyle-struct.name"></a>name</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Name</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GtkRcStyle-struct.bg-pixmap-name"></a>bg_pixmap_name</code></em>[5];</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GtkRcStyle-struct.bg-pixmap-name"></a>bg_pixmap_name</code></em>[5];</p></td>
|
||||
<td class="struct_member_description"><p>Pixmap name</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="../pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a> *<em class="structfield"><code><a name="GtkRcStyle-struct.font-desc"></a>font_desc</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>A <a href="../pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a></p></td>
|
||||
<td class="struct_member_name"><p><span class="type">PangoFontDescription</span> *<em class="structfield"><code><a name="GtkRcStyle-struct.font-desc"></a>font_desc</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>A <span class="type">PangoFontDescription</span></p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1734,12 +1734,12 @@ This can later be composited together with other
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkRcStyle-struct.xthickness"></a>xthickness</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GtkRcStyle-struct.xthickness"></a>xthickness</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>X thickness</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkRcStyle-struct.ythickness"></a>ythickness</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GtkRcStyle-struct.ythickness"></a>ythickness</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Y thickness</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
@ -2266,6 +2266,6 @@ See also <a class="link" href="gtk3-Bindings.html#gtk-binding-set-add-path" titl
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25.1</div>
|
||||
<hr>Generated by GTK-Doc V1.27</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user