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">
7
<!-- Généré par Doxygen 1.5.3 -->
10
<li><a href="index.html"><span>Page principale</span></a></li>
11
<li><a href="annotated.html"><span>Structures de données</span></a></li>
12
<li class="current"><a href="files.html"><span>Fichiers</span></a></li>
14
<form action="search.php" method="get">
15
<table cellspacing="0" cellpadding="0" border="0">
17
<td><label> Rechercher </label></td>
18
<td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
25
<h1>Référence du fichier /opt/cairo-dock/trunk/cairo-dock/src/cairo-dock-themes-manager.h</h1>
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">
29
<tr><td colspan="2"><br><h2>Macros</h2></td></tr>
30
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </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) 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>
32
<tr><td colspan="2"><br><h2>Fonctions</h2></td></tr>
33
<tr><td class="memItemLeft" nowrap align="right" valign="top">GHashTable * </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>
35
<tr><td class="memItemLeft" nowrap align="right" valign="top">gchar * </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>
37
<tr><td class="memItemLeft" nowrap align="right" valign="top">gchar * </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>
39
<tr><td class="memItemLeft" nowrap align="right" valign="top">gchar * </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>
41
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </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>
43
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </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>
45
<tr><td class="memItemLeft" nowrap align="right" valign="top">gboolean </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>
47
<tr><td class="memItemLeft" nowrap align="right" valign="top">gboolean </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>
49
<tr><td class="mdescLeft"> </td><td class="mdescRight">int cairo_dock_ask_initial_theme (void); <a href="#665a38cee72eb60c7cc0af494e617b9f"></a><br></td></tr>
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)" -->
54
<div class="memproto">
55
<table class="memname">
57
<td class="memname">#define cairo_dock_update_conf_file_with_themes </td>
59
<td class="paramtype">pOpenedKeyFile, <tr>
60
<td class="paramkey"></td>
62
<td class="paramtype">cAppletConfFilePath, <tr>
63
<td class="paramkey"></td>
65
<td class="paramtype">pThemeTable, <tr>
66
<td class="paramkey"></td>
68
<td class="paramtype">cGroupName, <tr>
69
<td class="paramkey"></td>
71
<td class="paramtype">cKeyName </td>
72
<td class="paramname"> </td>
73
<td> ) </td>
74
<td width="100%"> cairo_dock_update_conf_file_with_hash_table (pOpenedKeyFile, cAppletConfFilePath, pThemeTable, cGroupName, cKeyName, NULL, (GHFunc) cairo_dock_write_one_theme_name, TRUE, FALSE)</td>
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)" -->
87
<div class="memproto">
88
<table class="memname">
90
<td class="memname">GHashTable* cairo_dock_list_themes </td>
92
<td class="paramtype">gchar * </td>
93
<td class="paramname"> <em>cThemesDir</em>, </td>
96
<td class="paramkey"></td>
98
<td class="paramtype">GHashTable * </td>
99
<td class="paramname"> <em>hProvidedTable</em>, </td>
102
<td class="paramkey"></td>
104
<td class="paramtype">GError ** </td>
105
<td class="paramname"> <em>erreur</em></td><td> </td>
110
<td></td><td></td><td width="100%"></td>
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> </td><td>le repertoire contenant les themes. </td></tr>
120
<tr><td valign="top"></td><td valign="top"><em>hProvidedTable</em> </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> </td><td>: erreur positionnee au cas ou le repertoire serait illisible. </td></tr>
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>
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">
133
<td class="memname">gchar* cairo_dock_edit_themes </td>
135
<td class="paramtype">GHashTable ** </td>
136
<td class="paramname"> <em>hThemeTable</em>, </td>
139
<td class="paramkey"></td>
141
<td class="paramtype">gboolean </td>
142
<td class="paramname"> <em>bSafeMode</em></td><td> </td>
147
<td></td><td></td><td width="100%"></td>
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">
162
<td class="memname">gchar* cairo_dock_get_chosen_theme </td>
164
<td class="paramtype">gchar * </td>
165
<td class="paramname"> <em>cConfFile</em>, </td>
168
<td class="paramkey"></td>
170
<td class="paramtype">gboolean * </td>
171
<td class="paramname"> <em>bUseThemeBehaviour</em>, </td>
174
<td class="paramkey"></td>
176
<td class="paramtype">gboolean * </td>
177
<td class="paramname"> <em>bUseThemeLaunchers</em></td><td> </td>
182
<td></td><td></td><td width="100%"></td>
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">
197
<td class="memname">gchar* cairo_dock_get_theme_path </td>
199
<td class="paramtype">gchar * </td>
200
<td class="paramname"> <em>cThemeName</em>, </td>
203
<td class="paramkey"></td>
205
<td class="paramtype">GHashTable * </td>
206
<td class="paramname"> <em>hThemeTable</em></td><td> </td>
211
<td></td><td></td><td width="100%"></td>
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">
226
<td class="memname">void cairo_dock_load_theme </td>
228
<td class="paramtype">gchar * </td>
229
<td class="paramname"> <em>cThemePath</em> </td>
230
<td> ) </td>
231
<td width="100%"></td>
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">
246
<td class="memname">void cairo_dock_mark_theme_as_modified </td>
248
<td class="paramtype">gboolean </td>
249
<td class="paramname"> <em>bModified</em> </td>
250
<td> ) </td>
251
<td width="100%"></td>
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">
266
<td class="memname">gboolean cairo_dock_theme_need_save </td>
268
<td class="paramtype">void </td>
269
<td class="paramname"> </td>
270
<td> ) </td>
271
<td width="100%"></td>
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">
286
<td class="memname">gboolean cairo_dock_manage_themes </td>
288
<td class="paramtype">GtkWidget * </td>
289
<td class="paramname"> <em>pWidget</em>, </td>
292
<td class="paramkey"></td>
294
<td class="paramtype">gboolean </td>
295
<td class="paramname"> <em>bSafeMode</em></td><td> </td>
300
<td></td><td></td><td width="100%"></td>
307
int cairo_dock_ask_initial_theme (void);
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
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>