4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>st-theme</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="St Reference Manual">
8
8
<link rel="up" href="styling.html" title="Styling">
9
9
<link rel="prev" href="styling.html" title="Styling">
10
10
<link rel="next" href="st-st-theme-context.html" title="st-theme-context">
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
37
37
</tr></table></div>
38
38
<div class="refsynopsisdiv">
39
39
<a name="st-st-theme.synopsis"></a><h2>Synopsis</h2>
40
<pre class="synopsis"> <a class="link" href="st-st-theme.html#StThemeClass" title="StThemeClass">StThemeClass</a>;
41
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <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>);
42
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>,
43
<em class="parameter"><code>const <span class="type">char</span> *path</code></em>,
44
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
45
<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>,
40
<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>,
46
41
<em class="parameter"><code>const <span class="type">char</span> *theme_stylesheet</code></em>,
47
42
<em class="parameter"><code>const <span class="type">char</span> *default_stylesheet</code></em>);
43
<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>,
44
<em class="parameter"><code>const <span class="type">char</span> *path</code></em>,
45
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
48
46
<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>,
49
47
<em class="parameter"><code>const <span class="type">char</span> *path</code></em>);
48
<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>);
49
<a class="link" href="st-st-theme.html#StThemeClass" title="StThemeClass">StThemeClass</a>;
52
52
<div class="refsect1">
61
61
<div class="refsect1">
62
62
<a name="st-st-theme.details"></a><h2>Details</h2>
63
63
<div class="refsect2">
64
<a name="StThemeClass"></a><h3>StThemeClass</h3>
65
<pre class="programlisting">typedef struct _StThemeClass StThemeClass;</pre>
68
<div class="refsect2">
69
<a name="st-theme-get-custom-stylesheets"></a><h3>st_theme_get_custom_stylesheets ()</h3>
70
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * 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>
71
<div class="variablelist"><table border="0" class="variablelist">
73
<col align="left" valign="top">
78
<td><p><span class="term"><em class="parameter"><code>theme</code></em> :</span></p></td>
79
<td>an <a class="link" href="st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a>
83
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
84
<td>the list of stylesheet filenames
85
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>
92
<div class="refsect2">
93
<a name="st-theme-load-stylesheet"></a><h3>st_theme_load_stylesheet ()</h3>
94
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
95
<em class="parameter"><code>const <span class="type">char</span> *path</code></em>,
96
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
99
<div class="refsect2">
100
64
<a name="st-theme-new"></a><h3>st_theme_new ()</h3>
101
65
<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>,
102
66
<em class="parameter"><code>const <span class="type">char</span> *theme_stylesheet</code></em>,
111
75
<td><p><span class="term"><em class="parameter"><code>application_stylesheet</code></em> :</span></p></td>
112
76
<td>The highest priority stylesheet, representing application-specific
113
styling; this is associated with the CSS "author" stylesheet, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
77
styling; this is associated with the CSS "author" stylesheet, may be <a href="/home/florian/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
117
81
<td><p><span class="term"><em class="parameter"><code>theme_stylesheet</code></em> :</span></p></td>
118
82
<td>The second priority stylesheet, representing theme-specific styling ;
119
this is associated with the CSS "user" stylesheet, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
83
this is associated with the CSS "user" stylesheet, may be <a href="/home/florian/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
123
87
<td><p><span class="term"><em class="parameter"><code>default_stylesheet</code></em> :</span></p></td>
124
88
<td>The lowest priority stylesheet, representing global default styling;
125
this is associated with the CSS "user agent" stylesheet, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
89
this is associated with the CSS "user agent" stylesheet, may be <a href="/home/florian/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
136
100
<div class="refsect2">
101
<a name="st-theme-load-stylesheet"></a><h3>st_theme_load_stylesheet ()</h3>
102
<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>,
103
<em class="parameter"><code>const <span class="type">char</span> *path</code></em>,
104
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
107
<div class="refsect2">
137
108
<a name="st-theme-unload-stylesheet"></a><h3>st_theme_unload_stylesheet ()</h3>
138
109
<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>,
139
110
<em class="parameter"><code>const <span class="type">char</span> *path</code></em>);</pre>
113
<div class="refsect2">
114
<a name="st-theme-get-custom-stylesheets"></a><h3>st_theme_get_custom_stylesheets ()</h3>
115
<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>
116
<div class="variablelist"><table border="0" class="variablelist">
118
<col align="left" valign="top">
123
<td><p><span class="term"><em class="parameter"><code>theme</code></em> :</span></p></td>
124
<td>an <a class="link" href="st-st-theme-node.html#StTheme"><span class="type">StTheme</span></a>
128
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
129
<td>the list of stylesheet filenames
130
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>
137
<div class="refsect2">
138
<a name="StThemeClass"></a><h3>StThemeClass</h3>
139
<pre class="programlisting">typedef struct _StThemeClass StThemeClass;</pre>
143
143
<div class="footer">
145
Generated by GTK-Doc V1.18</div>
145
Generated by GTK-Doc V1.18.1</div>
b'\\ No newline at end of file'