/usr/share/gtk-doc/html/st/st-st-theme.html is in gnome-shell-common 3.10.4-0ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>St Reference Manual: st-theme</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="St Reference Manual">
<link rel="up" href="styling.html" title="Styling">
<link rel="prev" href="styling.html" title="Styling">
<link rel="next" href="st-st-theme-context.html" title="st-theme-context">
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
|
<a href="#st-st-theme.description" class="shortcut">Description</a>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="styling.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="styling.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="st-st-theme-context.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="st-st-theme"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="st-st-theme.top_of_page"></a>st-theme</span></h2>
<p>st-theme — a set of stylesheets</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="st-st-theme.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><a class="link" href="st-st-theme-node.html#StTheme"><span class="returnvalue">StTheme</span></a> * <a class="link" href="st-st-theme.html#st-theme-new" title="st_theme_new ()">st_theme_new</a> (<em class="parameter"><code>const <span class="type">char</span> *application_stylesheet</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *theme_stylesheet</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *default_stylesheet</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="st-st-theme.html#st-theme-load-stylesheet" title="st_theme_load_stylesheet ()">st_theme_load_stylesheet</a> (<em class="parameter"><code><a class="link" href="st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a> *theme</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *path</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
<span class="returnvalue">void</span> <a class="link" href="st-st-theme.html#st-theme-unload-stylesheet" title="st_theme_unload_stylesheet ()">st_theme_unload_stylesheet</a> (<em class="parameter"><code><a class="link" href="st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a> *theme</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *path</code></em>);
<span class="returnvalue">GSList</span> * <a class="link" href="st-st-theme.html#st-theme-get-custom-stylesheets" title="st_theme_get_custom_stylesheets ()">st_theme_get_custom_stylesheets</a> (<em class="parameter"><code><a class="link" href="st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a> *theme</code></em>);
<a class="link" href="st-st-theme.html#StThemeClass" title="StThemeClass">StThemeClass</a>;
</pre>
</div>
<div class="refsect1">
<a name="st-st-theme.description"></a><h2>Description</h2>
<p>
<a class="link" href="st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a> holds a set of stylesheets. (The "cascade" of the name
Cascading Stylesheets.) A <a class="link" href="st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a> can be set to apply to all the actors
in a stage using <a class="link" href="st-st-theme-context.html#st-theme-context-set-theme" title="st_theme_context_set_theme ()"><code class="function">st_theme_context_set_theme()</code></a> or applied to a subtree
of actors using <a class="link" href="StWidget.html#st-widget-set-theme" title="st_widget_set_theme ()"><code class="function">st_widget_set_theme()</code></a>.
</p>
</div>
<div class="refsect1">
<a name="st-st-theme.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="st-theme-new"></a><h3>st_theme_new ()</h3>
<pre class="programlisting"><a class="link" href="st-st-theme-node.html#StTheme"><span class="returnvalue">StTheme</span></a> * st_theme_new (<em class="parameter"><code>const <span class="type">char</span> *application_stylesheet</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *theme_stylesheet</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *default_stylesheet</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>application_stylesheet</code></em> :</span></p></td>
<td>The highest priority stylesheet, representing application-specific
styling; this is associated with the CSS "author" stylesheet, may be <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>theme_stylesheet</code></em> :</span></p></td>
<td>The second priority stylesheet, representing theme-specific styling ;
this is associated with the CSS "user" stylesheet, may be <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>default_stylesheet</code></em> :</span></p></td>
<td>The lowest priority stylesheet, representing global default styling;
this is associated with the CSS "user agent" stylesheet, may be <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the newly created theme object</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="st-theme-load-stylesheet"></a><h3>st_theme_load_stylesheet ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> st_theme_load_stylesheet (<em class="parameter"><code><a class="link" href="st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a> *theme</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *path</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="st-theme-unload-stylesheet"></a><h3>st_theme_unload_stylesheet ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> st_theme_unload_stylesheet (<em class="parameter"><code><a class="link" href="st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a> *theme</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *path</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="st-theme-get-custom-stylesheets"></a><h3>st_theme_get_custom_stylesheets ()</h3>
<pre class="programlisting"><span class="returnvalue">GSList</span> * st_theme_get_custom_stylesheets (<em class="parameter"><code><a class="link" href="st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a> *theme</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>theme</code></em> :</span></p></td>
<td>an <a class="link" href="st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the list of stylesheet filenames
that were loaded with <a class="link" href="st-st-theme.html#st-theme-load-stylesheet" title="st_theme_load_stylesheet ()"><code class="function">st_theme_load_stylesheet()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="StThemeClass"></a><h3>StThemeClass</h3>
<pre class="programlisting">typedef struct _StThemeClass StThemeClass;</pre>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19.1</div>
</body>
</html>
|