Gnome2::IconTheme(3pm)

Gnome2::IconTheme3pm

Wrapper for gnomeicontheme

Hierarchy

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

Methods

icontheme = Gnome2::IconTheme->new

boolean = $theme->get_allow_svg

$theme->set_allow_svg ($allow_svg)

•

$allow_svg (boolean)

$theme->append_search_path ($path)

•

$path (string)

$theme->set_custom_theme ($theme_name)

•

$theme_name (string)

string = $theme->get_example_icon_name

boolean = $theme->has_icon ($icon_name)

•

$icon_name (string)

list = $theme->list_icons ($context=undef)

•

$context (string)

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)

•

$path (string)

boolean = $theme->rescan_if_needed

list = $theme->get_search_path

Returns a list of paths.

$theme->set_search_path (...)

•

... (list) of paths

Signals

changed (Gnome2::IconTheme)

Enums and flags

flags Gnome2::IconLookupFlags

•

'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'

Releases

7 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9

From libgnome2-perl 1.046-3+b1 in Debian 9 (Stretch). Parsed by carta from the page's man source.