BOoRFGOnZ 发表于 2009-6-24 14:15:55

改了icon不变 等 用 gtk-update-icon-cache

[*]Home[*]News[*]Projects[*]Art[*]Support[*]Development[*]CommunityGNOME Documentation Library

[*]Home[*]Users[*]Administrators[*]Developers[*]About



http://library.gnome.org/devel/gtk/2.15/left.pnghttp://library.gnome.org/devel/gtk/2.15/up.pnghttp://library.gnome.org/devel/gtk/2.15/home.pngGTK+ Reference Manualhttp://library.gnome.org/devel/gtk/2.15/right.pnggtk-update-icon-cachegtk-update-icon-cache — Icon theme caching utility


Synopsisgtk-update-icon-cache[--force] [--ignore-theme-index] [--index-only] [--source] [--quiet] [--validate] {iconpath}


Descriptiongtk-update-icon-cache creates mmap()able cache files foricon themes.
It expects to be given the path to a icon theme directory containing anindex.theme, e.g. /usr/share/icons/hicolor, and writes a icon-theme.cache containing cached informationabout the icons in the directory tree below the given directory.
GTK+ can use the cache files created by gtk-update-icon-cacheto 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 betweenmultiple applications, the overall memory consumption is reduced as well.

Options--force, -f
Overwrite an existing cache file even if it appears to be          uptodate.
--ignore-theme-index, -t
Don't check for the existence of 'index.theme' in the icon theme   directory. Without this option, gtk-update-icon-cache refuses   to create an icon cache in a directory which does not appear to be the toplevel   directory of an icon theme.   
--index-only, -i
Don't include image data in the cache.   
--source, -c
Output a C header file declaring a constant      name with the contents of the icon      cache.
--quiet, -q
Turn off verbose output.   
--validate, -v
Validate existing icon cache.   


BugsNone known yet.


          Generated by GTK-Doc V1.11
页: [1]
查看完整版本: 改了icon不变 等 用 gtk-update-icon-cache