Glib::Object
+----Gnome2::IconTheme
$theme->set_allow_svg ($allow_svg)
$theme->append_search_path ($path)
$theme->set_custom_theme ($theme_name)
boolean = $theme->has_icon ($icon_name)
list = $theme->list_icons ($context=undef)
Returns a list of icons.
list = $icon_theme->lookup ($thumbnail_factory,
$file_uri, $custom_icon, $file_info, $mime_type, $flags)
- $thumbnail_factory (Gnome2::ThumbnailFactory or
undef)
- $file_uri (string)
- $custom_icon (scalar)
- $file_info (Gnome2::VFS::FileInfo)
- $mime_type (string)
- $flags (Gnome2::IconLookupFlags)
Returns the icon name and a GnomeIconLookupFlags.
list = $theme->lookup_icon ($icon_name, $size)
- $icon_name (string)
- $size (integer)
Returns the filename, the icon data and the base size.
list = $icon_theme->lookup_sync ($thumbnail_factory,
$file_uri, $custom_icon, $flags)
- $thumbnail_factory (Gnome2::ThumbnailFactory or
undef)
- $file_uri (string)
- $custom_icon (scalar)
- $flags (Gnome2::IconLookupFlags)
Returns the icon name and a GnomeIconLookupFlags.
$theme->prepend_search_path ($path)
list = $theme->get_search_path
Returns a list of paths.
$theme->set_search_path (...)
- 'none' / 'GNOME_ICON_LOOKUP_FLAGS_NONE'
- 'embedding-text' / 'GNOME_ICON_LOOKUP_FLAGS_EMBEDDING_TEXT'
- 'show-small-images-as-themselves' /
'GNOME_ICON_LOOKUP_FLAGS_SHOW_SMALL_IMAGES_AS_THEMSELVES'
- 'allow-svg-as-themselves' /
'GNOME_ICON_LOOKUP_FLAGS_ALLOW_SVG_AS_THEMSELVES'
Copyright (C) 2003-2004 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2 for a full
notice.