~helene-verhaeghe27/cairo-dock-core/bugfix

« back to all changes in this revision

Viewing changes to doc/html/cairo-dock-themes-manager_8h.html

  • Committer: fabounet
  • Date: 2008-11-14 01:51:17 UTC
  • Revision ID: vcs-imports@canonical.com-20081114015117-854dznkw3lfva52x
The commit of the year \!

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
 
3
<title>Cairo-Dock: Référence du fichier /opt/cairo-dock/trunk/cairo-dock/src/cairo-dock-themes-manager.h</title>
 
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
 
5
<link href="tabs.css" rel="stylesheet" type="text/css">
 
6
</head><body>
 
7
<!-- Généré par Doxygen 1.5.3 -->
 
8
<div class="tabs">
 
9
  <ul>
 
10
    <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
 
11
    <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
 
12
    <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
 
13
    <li>
 
14
      <form action="search.php" method="get">
 
15
        <table cellspacing="0" cellpadding="0" border="0">
 
16
          <tr>
 
17
            <td><label>&nbsp;Rechercher&nbsp;</label></td>
 
18
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
 
19
          </tr>
 
20
        </table>
 
21
      </form>
 
22
    </li>
 
23
  </ul>
 
24
</div>
 
25
<h1>Référence du fichier /opt/cairo-dock/trunk/cairo-dock/src/cairo-dock-themes-manager.h</h1>
 
26
<p>
 
27
<a href="cairo-dock-themes-manager_8h-source.html">Aller au code source de ce fichier.</a><table border="0" cellpadding="0" cellspacing="0">
 
28
<tr><td></td></tr>
 
29
<tr><td colspan="2"><br><h2>Macros</h2></td></tr>
 
30
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="cairo-dock-themes-manager_8h.html#7710e8b1d53a9d41c3ce911a528f503d">cairo_dock_update_conf_file_with_themes</a>(pOpenedKeyFile, cAppletConfFilePath, pThemeTable, cGroupName, cKeyName)&nbsp;&nbsp;&nbsp;cairo_dock_update_conf_file_with_hash_table (pOpenedKeyFile, cAppletConfFilePath, pThemeTable, cGroupName, cKeyName, NULL, (GHFunc) cairo_dock_write_one_theme_name, TRUE, FALSE)</td></tr>
 
31
 
 
32
<tr><td colspan="2"><br><h2>Fonctions</h2></td></tr>
 
33
<tr><td class="memItemLeft" nowrap align="right" valign="top">GHashTable *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="cairo-dock-themes-manager_8h.html#f2b87f4aad180d5e5368088bdb05240b">cairo_dock_list_themes</a> (gchar *cThemesDir, GHashTable *hProvidedTable, GError **erreur)</td></tr>
 
34
 
 
35
<tr><td class="memItemLeft" nowrap align="right" valign="top">gchar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="cairo-dock-themes-manager_8h.html#cef49939d0085c52a06d372b168f6ae0">cairo_dock_edit_themes</a> (GHashTable **hThemeTable, gboolean bSafeMode)</td></tr>
 
36
 
 
37
<tr><td class="memItemLeft" nowrap align="right" valign="top">gchar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="cairo-dock-themes-manager_8h.html#45bfce739852d43b48219926540d6769">cairo_dock_get_chosen_theme</a> (gchar *cConfFile, gboolean *bUseThemeBehaviour, gboolean *bUseThemeLaunchers)</td></tr>
 
38
 
 
39
<tr><td class="memItemLeft" nowrap align="right" valign="top">gchar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="cairo-dock-themes-manager_8h.html#b67f20b861818424f1f54346c75e9e39">cairo_dock_get_theme_path</a> (gchar *cThemeName, GHashTable *hThemeTable)</td></tr>
 
40
 
 
41
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="cairo-dock-themes-manager_8h.html#addcb28e2da1100a291c744cb56fe47f">cairo_dock_load_theme</a> (gchar *cThemePath)</td></tr>
 
42
 
 
43
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="cairo-dock-themes-manager_8h.html#973b61d0f4c31abe529402ec059f5750">cairo_dock_mark_theme_as_modified</a> (gboolean bModified)</td></tr>
 
44
 
 
45
<tr><td class="memItemLeft" nowrap align="right" valign="top">gboolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="cairo-dock-themes-manager_8h.html#0432fda9c86ccd9027768c7e7b5d53a4">cairo_dock_theme_need_save</a> (void)</td></tr>
 
46
 
 
47
<tr><td class="memItemLeft" nowrap align="right" valign="top">gboolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="cairo-dock-themes-manager_8h.html#665a38cee72eb60c7cc0af494e617b9f">cairo_dock_manage_themes</a> (GtkWidget *pWidget, gboolean bSafeMode)</td></tr>
 
48
 
 
49
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">int cairo_dock_ask_initial_theme (void);  <a href="#665a38cee72eb60c7cc0af494e617b9f"></a><br></td></tr>
 
50
</table>
 
51
<hr><h2>Documentation des macros</h2>
 
52
<a class="anchor" name="7710e8b1d53a9d41c3ce911a528f503d"></a><!-- doxytag: member="cairo-dock-themes-manager.h::cairo_dock_update_conf_file_with_themes" ref="7710e8b1d53a9d41c3ce911a528f503d" args="(pOpenedKeyFile, cAppletConfFilePath, pThemeTable, cGroupName, cKeyName)" -->
 
53
<div class="memitem">
 
54
<div class="memproto">
 
55
      <table class="memname">
 
56
        <tr>
 
57
          <td class="memname">#define cairo_dock_update_conf_file_with_themes          </td>
 
58
          <td>(</td>
 
59
          <td class="paramtype">pOpenedKeyFile,         <tr>
 
60
          <td class="paramkey"></td>
 
61
          <td></td>
 
62
          <td class="paramtype">cAppletConfFilePath,         <tr>
 
63
          <td class="paramkey"></td>
 
64
          <td></td>
 
65
          <td class="paramtype">pThemeTable,         <tr>
 
66
          <td class="paramkey"></td>
 
67
          <td></td>
 
68
          <td class="paramtype">cGroupName,         <tr>
 
69
          <td class="paramkey"></td>
 
70
          <td></td>
 
71
          <td class="paramtype">cKeyName&nbsp;</td>
 
72
          <td class="paramname">          </td>
 
73
          <td>&nbsp;)&nbsp;</td>
 
74
          <td width="100%">&nbsp;&nbsp;&nbsp;cairo_dock_update_conf_file_with_hash_table (pOpenedKeyFile, cAppletConfFilePath, pThemeTable, cGroupName, cKeyName, NULL, (GHFunc) cairo_dock_write_one_theme_name, TRUE, FALSE)</td>
 
75
        </tr>
 
76
      </table>
 
77
</div>
 
78
<div class="memdoc">
 
79
 
 
80
<p>
 
81
 
 
82
</div>
 
83
</div><p>
 
84
<hr><h2>Documentation des fonctions</h2>
 
85
<a class="anchor" name="f2b87f4aad180d5e5368088bdb05240b"></a><!-- doxytag: member="cairo-dock-themes-manager.h::cairo_dock_list_themes" ref="f2b87f4aad180d5e5368088bdb05240b" args="(gchar *cThemesDir, GHashTable *hProvidedTable, GError **erreur)" -->
 
86
<div class="memitem">
 
87
<div class="memproto">
 
88
      <table class="memname">
 
89
        <tr>
 
90
          <td class="memname">GHashTable* cairo_dock_list_themes           </td>
 
91
          <td>(</td>
 
92
          <td class="paramtype">gchar *&nbsp;</td>
 
93
          <td class="paramname"> <em>cThemesDir</em>, </td>
 
94
        </tr>
 
95
        <tr>
 
96
          <td class="paramkey"></td>
 
97
          <td></td>
 
98
          <td class="paramtype">GHashTable *&nbsp;</td>
 
99
          <td class="paramname"> <em>hProvidedTable</em>, </td>
 
100
        </tr>
 
101
        <tr>
 
102
          <td class="paramkey"></td>
 
103
          <td></td>
 
104
          <td class="paramtype">GError **&nbsp;</td>
 
105
          <td class="paramname"> <em>erreur</em></td><td>&nbsp;</td>
 
106
        </tr>
 
107
        <tr>
 
108
          <td></td>
 
109
          <td>)</td>
 
110
          <td></td><td></td><td width="100%"></td>
 
111
        </tr>
 
112
      </table>
 
113
</div>
 
114
<div class="memdoc">
 
115
 
 
116
<p>
 
117
Liste les themes disponibles. Un theme est un repertoire, et tous doivent etre places dans un meme repertoire. <dl compact><dt><b>Paramètres:</b></dt><dd>
 
118
  <table border="0" cellspacing="2" cellpadding="0">
 
119
    <tr><td valign="top"></td><td valign="top"><em>cThemesDir</em>&nbsp;</td><td>le repertoire contenant les themes. </td></tr>
 
120
    <tr><td valign="top"></td><td valign="top"><em>hProvidedTable</em>&nbsp;</td><td>une table de hashage (string , string) qui sera remplie, ou NULL pour que la fonction vous la cree. </td></tr>
 
121
    <tr><td valign="top"></td><td valign="top"><em>erreur</em>&nbsp;</td><td>: erreur positionnee au cas ou le repertoire serait illisible. </td></tr>
 
122
  </table>
 
123
</dl>
 
124
<dl class="return" compact><dt><b>Renvoie:</b></dt><dd>la table de hashage contenant les doublets (nom_du_theme , chemin_du_theme). Si une table avait ete fournie en entree, c'est elle qui est retournee, sinon c'est une nouvelle table, a detruire avec 'g_hash_table_destroy' apres utilisation (tous les elements seront liberes). </dd></dl>
 
125
 
 
126
</div>
 
127
</div><p>
 
128
<a class="anchor" name="cef49939d0085c52a06d372b168f6ae0"></a><!-- doxytag: member="cairo-dock-themes-manager.h::cairo_dock_edit_themes" ref="cef49939d0085c52a06d372b168f6ae0" args="(GHashTable **hThemeTable, gboolean bSafeMode)" -->
 
129
<div class="memitem">
 
130
<div class="memproto">
 
131
      <table class="memname">
 
132
        <tr>
 
133
          <td class="memname">gchar* cairo_dock_edit_themes           </td>
 
134
          <td>(</td>
 
135
          <td class="paramtype">GHashTable **&nbsp;</td>
 
136
          <td class="paramname"> <em>hThemeTable</em>, </td>
 
137
        </tr>
 
138
        <tr>
 
139
          <td class="paramkey"></td>
 
140
          <td></td>
 
141
          <td class="paramtype">gboolean&nbsp;</td>
 
142
          <td class="paramname"> <em>bSafeMode</em></td><td>&nbsp;</td>
 
143
        </tr>
 
144
        <tr>
 
145
          <td></td>
 
146
          <td>)</td>
 
147
          <td></td><td></td><td width="100%"></td>
 
148
        </tr>
 
149
      </table>
 
150
</div>
 
151
<div class="memdoc">
 
152
 
 
153
<p>
 
154
 
 
155
</div>
 
156
</div><p>
 
157
<a class="anchor" name="45bfce739852d43b48219926540d6769"></a><!-- doxytag: member="cairo-dock-themes-manager.h::cairo_dock_get_chosen_theme" ref="45bfce739852d43b48219926540d6769" args="(gchar *cConfFile, gboolean *bUseThemeBehaviour, gboolean *bUseThemeLaunchers)" -->
 
158
<div class="memitem">
 
159
<div class="memproto">
 
160
      <table class="memname">
 
161
        <tr>
 
162
          <td class="memname">gchar* cairo_dock_get_chosen_theme           </td>
 
163
          <td>(</td>
 
164
          <td class="paramtype">gchar *&nbsp;</td>
 
165
          <td class="paramname"> <em>cConfFile</em>, </td>
 
166
        </tr>
 
167
        <tr>
 
168
          <td class="paramkey"></td>
 
169
          <td></td>
 
170
          <td class="paramtype">gboolean *&nbsp;</td>
 
171
          <td class="paramname"> <em>bUseThemeBehaviour</em>, </td>
 
172
        </tr>
 
173
        <tr>
 
174
          <td class="paramkey"></td>
 
175
          <td></td>
 
176
          <td class="paramtype">gboolean *&nbsp;</td>
 
177
          <td class="paramname"> <em>bUseThemeLaunchers</em></td><td>&nbsp;</td>
 
178
        </tr>
 
179
        <tr>
 
180
          <td></td>
 
181
          <td>)</td>
 
182
          <td></td><td></td><td width="100%"></td>
 
183
        </tr>
 
184
      </table>
 
185
</div>
 
186
<div class="memdoc">
 
187
 
 
188
<p>
 
189
 
 
190
</div>
 
191
</div><p>
 
192
<a class="anchor" name="b67f20b861818424f1f54346c75e9e39"></a><!-- doxytag: member="cairo-dock-themes-manager.h::cairo_dock_get_theme_path" ref="b67f20b861818424f1f54346c75e9e39" args="(gchar *cThemeName, GHashTable *hThemeTable)" -->
 
193
<div class="memitem">
 
194
<div class="memproto">
 
195
      <table class="memname">
 
196
        <tr>
 
197
          <td class="memname">gchar* cairo_dock_get_theme_path           </td>
 
198
          <td>(</td>
 
199
          <td class="paramtype">gchar *&nbsp;</td>
 
200
          <td class="paramname"> <em>cThemeName</em>, </td>
 
201
        </tr>
 
202
        <tr>
 
203
          <td class="paramkey"></td>
 
204
          <td></td>
 
205
          <td class="paramtype">GHashTable *&nbsp;</td>
 
206
          <td class="paramname"> <em>hThemeTable</em></td><td>&nbsp;</td>
 
207
        </tr>
 
208
        <tr>
 
209
          <td></td>
 
210
          <td>)</td>
 
211
          <td></td><td></td><td width="100%"></td>
 
212
        </tr>
 
213
      </table>
 
214
</div>
 
215
<div class="memdoc">
 
216
 
 
217
<p>
 
218
 
 
219
</div>
 
220
</div><p>
 
221
<a class="anchor" name="addcb28e2da1100a291c744cb56fe47f"></a><!-- doxytag: member="cairo-dock-themes-manager.h::cairo_dock_load_theme" ref="addcb28e2da1100a291c744cb56fe47f" args="(gchar *cThemePath)" -->
 
222
<div class="memitem">
 
223
<div class="memproto">
 
224
      <table class="memname">
 
225
        <tr>
 
226
          <td class="memname">void cairo_dock_load_theme           </td>
 
227
          <td>(</td>
 
228
          <td class="paramtype">gchar *&nbsp;</td>
 
229
          <td class="paramname"> <em>cThemePath</em>          </td>
 
230
          <td>&nbsp;)&nbsp;</td>
 
231
          <td width="100%"></td>
 
232
        </tr>
 
233
      </table>
 
234
</div>
 
235
<div class="memdoc">
 
236
 
 
237
<p>
 
238
 
 
239
</div>
 
240
</div><p>
 
241
<a class="anchor" name="973b61d0f4c31abe529402ec059f5750"></a><!-- doxytag: member="cairo-dock-themes-manager.h::cairo_dock_mark_theme_as_modified" ref="973b61d0f4c31abe529402ec059f5750" args="(gboolean bModified)" -->
 
242
<div class="memitem">
 
243
<div class="memproto">
 
244
      <table class="memname">
 
245
        <tr>
 
246
          <td class="memname">void cairo_dock_mark_theme_as_modified           </td>
 
247
          <td>(</td>
 
248
          <td class="paramtype">gboolean&nbsp;</td>
 
249
          <td class="paramname"> <em>bModified</em>          </td>
 
250
          <td>&nbsp;)&nbsp;</td>
 
251
          <td width="100%"></td>
 
252
        </tr>
 
253
      </table>
 
254
</div>
 
255
<div class="memdoc">
 
256
 
 
257
<p>
 
258
 
 
259
</div>
 
260
</div><p>
 
261
<a class="anchor" name="0432fda9c86ccd9027768c7e7b5d53a4"></a><!-- doxytag: member="cairo-dock-themes-manager.h::cairo_dock_theme_need_save" ref="0432fda9c86ccd9027768c7e7b5d53a4" args="(void)" -->
 
262
<div class="memitem">
 
263
<div class="memproto">
 
264
      <table class="memname">
 
265
        <tr>
 
266
          <td class="memname">gboolean cairo_dock_theme_need_save           </td>
 
267
          <td>(</td>
 
268
          <td class="paramtype">void&nbsp;</td>
 
269
          <td class="paramname">          </td>
 
270
          <td>&nbsp;)&nbsp;</td>
 
271
          <td width="100%"></td>
 
272
        </tr>
 
273
      </table>
 
274
</div>
 
275
<div class="memdoc">
 
276
 
 
277
<p>
 
278
 
 
279
</div>
 
280
</div><p>
 
281
<a class="anchor" name="665a38cee72eb60c7cc0af494e617b9f"></a><!-- doxytag: member="cairo-dock-themes-manager.h::cairo_dock_manage_themes" ref="665a38cee72eb60c7cc0af494e617b9f" args="(GtkWidget *pWidget, gboolean bSafeMode)" -->
 
282
<div class="memitem">
 
283
<div class="memproto">
 
284
      <table class="memname">
 
285
        <tr>
 
286
          <td class="memname">gboolean cairo_dock_manage_themes           </td>
 
287
          <td>(</td>
 
288
          <td class="paramtype">GtkWidget *&nbsp;</td>
 
289
          <td class="paramname"> <em>pWidget</em>, </td>
 
290
        </tr>
 
291
        <tr>
 
292
          <td class="paramkey"></td>
 
293
          <td></td>
 
294
          <td class="paramtype">gboolean&nbsp;</td>
 
295
          <td class="paramname"> <em>bSafeMode</em></td><td>&nbsp;</td>
 
296
        </tr>
 
297
        <tr>
 
298
          <td></td>
 
299
          <td>)</td>
 
300
          <td></td><td></td><td width="100%"></td>
 
301
        </tr>
 
302
      </table>
 
303
</div>
 
304
<div class="memdoc">
 
305
 
 
306
<p>
 
307
int cairo_dock_ask_initial_theme (void); 
 
308
<p>
 
309
 
 
310
</div>
 
311
</div><p>
 
312
<hr size="1"><address style="text-align: right;"><small>Généré le Wed Apr 16 03:27:16 2008 pour Cairo-Dock par&nbsp;
 
313
<a href="http://www.doxygen.org/index.html">
 
314
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
 
315
</body>
 
316
</html>