File: gtk-update-icon-cache.html

package info (click to toggle)
gtk%2B2.0 2.20.1-2%2Bdeb6u2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 136,284 kB
  • ctags: 66,487
  • sloc: ansic: 590,318; sh: 10,559; makefile: 5,573; xml: 1,357; python: 866; perl: 776; asm: 457; awk: 72; cpp: 34
file content (106 lines) | stat: -rw-r--r-- 4,668 bytes parent folder | download | duplicates (2)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gtk-update-icon-cache</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="prev" href="gtk-query-immodules-2.0.html" title="gtk-query-immodules-2.0">
<link rel="next" href="gtk-builder-convert.html" title="gtk-builder-convert">
<meta name="generator" content="GTK-Doc V1.14 (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="2"><tr valign="middle">
<td><a accesskey="p" href="gtk-query-immodules-2.0.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="pt05.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="gtk-builder-convert.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry" title="gtk-update-icon-cache">
<a name="gtk-update-icon-cache"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">gtk-update-icon-cache</span></h2>
<p>gtk-update-icon-cache — Icon theme caching utility</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">gtk-update-icon-cache</code>  [--force] [--ignore-theme-index] [--index-only] [--source[name]] [--quiet] [--validate] {iconpath}</p></div>
</div>
<div class="refsect1" title="Description">
<a name="id1198739"></a><h2>Description</h2>
<p><span class="command"><strong>gtk-update-icon-cache</strong></span> creates mmap()able cache files for
icon themes. 
</p>
<p>
It expects to be given the path to a icon theme directory containing an
<code class="filename">index.theme</code>, e.g. <code class="filename">/usr/share/icons/hicolor</code>, 
and writes a <code class="filename">icon-theme.cache</code> containing cached information
about the icons in the directory tree below the given directory.
</p>
<p>
GTK+ can use the cache files created by <span class="command"><strong>gtk-update-icon-cache</strong></span>
to avoid a lot of system call and disk seek overhead when the application starts.
Since the format of the cache files allows them to be mmap()ed shared between
multiple applications, the overall memory consumption is reduced as well.
</p>
</div>
<div class="refsect1" title="Options">
<a name="id1373508"></a><h2>Options</h2>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">--force, </span><span class="term">-f</span></p></td>
<td><p>Overwrite an existing cache file even if it appears to be 
         uptodate.</p></td>
</tr>
<tr>
<td><p><span class="term">--ignore-theme-index, </span><span class="term">-t</span></p></td>
<td><p>Don't check for the existence of 'index.theme' in the icon theme
     directory. Without this option, <span class="command"><strong>gtk-update-icon-cache</strong></span> refuses
     to create an icon cache in a directory which does not appear to be the toplevel
     directory of an icon theme. 
    </p></td>
</tr>
<tr>
<td><p><span class="term">--index-only, </span><span class="term">-i</span></p></td>
<td><p>Don't include image data in the cache.
    </p></td>
</tr>
<tr>
<td><p><span class="term">--source, </span><span class="term">-c</span></p></td>
<td><p>Output a C header file declaring a constant 
     <em class="replaceable"><code>name</code></em> with the contents of the icon 
     cache.</p></td>
</tr>
<tr>
<td><p><span class="term">--quiet, </span><span class="term">-q</span></p></td>
<td><p>Turn off verbose output. 
    </p></td>
</tr>
<tr>
<td><p><span class="term">--validate, </span><span class="term">-v</span></p></td>
<td><p>Validate existing icon cache.
    </p></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1" title="Bugs">
<a name="id1374149"></a><h2>Bugs</h2>
<p>
None known yet.
</p>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.14</div>
</body>
</html>