Gnome2::IconTheme(3pm)

NAME

Gnome2::IconTheme - wrapper for GnomeIconTheme

HIERARCHY

Glib::Object
+----Gnome2::IconTheme

METHODS

icontheme = Gnome2::IconTheme->new boolean = $theme->get_allow_svg $theme->set_allow_svg ($allow_svg)
o $allow_svg (boolean)
$theme->append_search_path ($path)
o $path (string)
$theme->set_custom_theme ($theme_name)
o $theme_name (string)
string = $theme->get_example_icon_name boolean = $theme->has_icon ($icon_name)
o $icon_name (string)
list = $theme->list_icons ($context=undef)
o $context (string)
Returns a list of icons.
list = $icon_theme->lookup ($thumbnail_factory, $file_uri, $custom_icon,
$file_info, $mime_type, $flags) o $thumbnail_factory (Gnome2::ThumbnailFactory or undef)
o $file_uri (string)
o $custom_icon (scalar)
o $file_info (Gnome2::VFS::FileInfo)
o $mime_type (string)
o $flags (Gnome2::IconLookupFlags)
Returns the icon name and a GnomeIconLookupFlags.
list = $theme->lookup_icon ($icon_name, $size)
o $icon_name (string)
o $size (integer)
Returns the filename, the icon data and the base size.
list = $icon_theme->lookup_sync ($thumbnail_factory, $file_uri,
$custom_icon, $flags)
o $thumbnail_factory (Gnome2::ThumbnailFactory or undef)
o $file_uri (string)
o $custom_icon (scalar)
o $flags (Gnome2::IconLookupFlags)
Returns the icon name and a GnomeIconLookupFlags.
$theme->prepend_search_path ($path)
o $path (string)
boolean = $theme->rescan_if_needed list = $theme->get_search_path
Returns a list of paths.
$theme->set_search_path (...)
o ... (list) of paths

SIGNALS

changed (Gnome2::IconTheme)

ENUMS AND FLAGS

flags Gnome2::IconLookupFlags
o 'none' / 'GNOME_ICON_LOOKUP_FLAGS_NONE'
o 'embedding-text' / 'GNOME_ICON_LOOKUP_FLAGS_EMBEDDING_TEXT'
o 'show-small-images-as-themselves' /
'GNOME_ICON_LOOKUP_FLAGS_SHOW_SMALL_IMAGES_AS_THEMSELVES'
o 'allow-svg-as-themselves' /
'GNOME_ICON_LOOKUP_FLAGS_ALLOW_SVG_AS_THEMSELVES'

SEE ALSO

Gnome2, Glib::Object

COPYRIGHT

Copyright (C) 2003-2004 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2 for a full
notice.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout