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)
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
•
|
|
•
|
|
Returns the icon name and a GnomeIconLookupFlags.
list = $theme->lookup_icon ($icon_name, $size)
•
|
|
|---|---|
•
|
|
Returns the filename, the icon data and the base size.
list = $icon_theme->lookup_sync ($thumbnail_factory, $file_uri, $custom_icon, $flags)
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
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.