|
NAMEGtk2::IconTheme - wrapper for GtkIconThemeHIERARCHYGlib::Object +----Gtk2::IconTheme METHODSicontheme = Gtk2::IconTheme->newGtk2::IconTheme->add_builtin_icon ($icon_name, $size, $pixbuf)
$icon_theme->append_search_path ($path)
iconinfo or undef = $icon_theme->choose_icon ($icon_names, $size, $flags)
Since: gtk+ 2.12 $icon_theme->set_custom_theme ($theme_name)
Cannot be used on a "Gtk2::IconTheme" returned by Gtk2::IconTheme->get_default or Gtk2::IconTheme->get_for_screen. icontheme = Gtk2::IconTheme->get_defaultstring or undef = $icon_theme->get_example_icon_nameicontheme = Gtk2::IconTheme->get_for_screen ($screen)
boolean = $icon_theme->has_icon ($icon_name)
list = $icon_theme->get_icon_sizes ($icon_name)
Since: gtk+ 2.6 list = $icon_theme->list_contextsSince: gtk+ 2.12list = $icon_theme->list_icons ($context)
pixbuf or undef = $icon_theme->load_icon ($icon_name, $size, $flags)
May croak with a Glib::Error in $@ on failure. iconinfo or undef = $icon_theme->lookup_icon ($icon_name, $size, $flags)
$icon_theme->prepend_search_path ($path)
boolean = $icon_theme->rescan_if_needed$icon_theme->set_screen ($screen)
list = $icon_theme->get_search_path$icon_theme->set_search_path (...)
SIGNALS
ENUMS AND FLAGSflags Gtk2::IconLookupFlags
enum Gtk2::IconThemeError
SEE ALSOGtk2, Glib::ObjectCOPYRIGHTCopyright (C) 2003-2011 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Visit the GSP FreeBSD Man Page Interface. |