.\" Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "Gnome2::IconTheme 3pm" .TH Gnome2::IconTheme 3pm "2017-07-23" "perl v5.26.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Gnome2::IconTheme \- wrapper for GnomeIconTheme .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 2 \& Glib::Object \& +\-\-\-\-Gnome2::IconTheme .Ve .SH "METHODS" .IX Header "METHODS" .SS "icontheme = Gnome2::IconTheme\->\fBnew\fP" .IX Subsection "icontheme = Gnome2::IconTheme->new" .ie n .SS "boolean = $theme\->\fBget_allow_svg\fP" .el .SS "boolean = \f(CW$theme\fP\->\fBget_allow_svg\fP" .IX Subsection "boolean = $theme->get_allow_svg" .ie n .SS "$theme\->\fBset_allow_svg\fP ($allow_svg)" .el .SS "\f(CW$theme\fP\->\fBset_allow_svg\fP ($allow_svg)" .IX Subsection "$theme->set_allow_svg ($allow_svg)" .IP "\(bu" 4 \&\f(CW$allow_svg\fR (boolean) .ie n .SS "$theme\->\fBappend_search_path\fP ($path)" .el .SS "\f(CW$theme\fP\->\fBappend_search_path\fP ($path)" .IX Subsection "$theme->append_search_path ($path)" .IP "\(bu" 4 \&\f(CW$path\fR (string) .ie n .SS "$theme\->\fBset_custom_theme\fP ($theme_name)" .el .SS "\f(CW$theme\fP\->\fBset_custom_theme\fP ($theme_name)" .IX Subsection "$theme->set_custom_theme ($theme_name)" .IP "\(bu" 4 \&\f(CW$theme_name\fR (string) .ie n .SS "string = $theme\->\fBget_example_icon_name\fP" .el .SS "string = \f(CW$theme\fP\->\fBget_example_icon_name\fP" .IX Subsection "string = $theme->get_example_icon_name" .ie n .SS "boolean = $theme\->\fBhas_icon\fP ($icon_name)" .el .SS "boolean = \f(CW$theme\fP\->\fBhas_icon\fP ($icon_name)" .IX Subsection "boolean = $theme->has_icon ($icon_name)" .IP "\(bu" 4 \&\f(CW$icon_name\fR (string) .ie n .SS "list = $theme\->\fBlist_icons\fP ($context=undef)" .el .SS "list = \f(CW$theme\fP\->\fBlist_icons\fP ($context=undef)" .IX Subsection "list = $theme->list_icons ($context=undef)" .IP "\(bu" 4 \&\f(CW$context\fR (string) .PP Returns a list of icons. .ie n .SS "list = $icon_theme\->\fBlookup\fP ($thumbnail_factory, $file_uri, $custom_icon, $file_info, $mime_type, $flags)" .el .SS "list = \f(CW$icon_theme\fP\->\fBlookup\fP ($thumbnail_factory, \f(CW$file_uri\fP, \f(CW$custom_icon\fP, \f(CW$file_info\fP, \f(CW$mime_type\fP, \f(CW$flags\fP)" .IX Subsection "list = $icon_theme->lookup ($thumbnail_factory, $file_uri, $custom_icon, $file_info, $mime_type, $flags)" .IP "\(bu" 4 \&\f(CW$thumbnail_factory\fR (Gnome2::ThumbnailFactory or undef) .IP "\(bu" 4 \&\f(CW$file_uri\fR (string) .IP "\(bu" 4 \&\f(CW$custom_icon\fR (scalar) .IP "\(bu" 4 \&\f(CW$file_info\fR (Gnome2::VFS::FileInfo) .IP "\(bu" 4 \&\f(CW$mime_type\fR (string) .IP "\(bu" 4 \&\f(CW$flags\fR (Gnome2::IconLookupFlags) .PP Returns the icon name and a GnomeIconLookupFlags. .ie n .SS "list = $theme\->\fBlookup_icon\fP ($icon_name, $size)" .el .SS "list = \f(CW$theme\fP\->\fBlookup_icon\fP ($icon_name, \f(CW$size\fP)" .IX Subsection "list = $theme->lookup_icon ($icon_name, $size)" .IP "\(bu" 4 \&\f(CW$icon_name\fR (string) .IP "\(bu" 4 \&\f(CW$size\fR (integer) .PP Returns the filename, the icon data and the base size. .ie n .SS "list = $icon_theme\->\fBlookup_sync\fP ($thumbnail_factory, $file_uri, $custom_icon, $flags)" .el .SS "list = \f(CW$icon_theme\fP\->\fBlookup_sync\fP ($thumbnail_factory, \f(CW$file_uri\fP, \f(CW$custom_icon\fP, \f(CW$flags\fP)" .IX Subsection "list = $icon_theme->lookup_sync ($thumbnail_factory, $file_uri, $custom_icon, $flags)" .IP "\(bu" 4 \&\f(CW$thumbnail_factory\fR (Gnome2::ThumbnailFactory or undef) .IP "\(bu" 4 \&\f(CW$file_uri\fR (string) .IP "\(bu" 4 \&\f(CW$custom_icon\fR (scalar) .IP "\(bu" 4 \&\f(CW$flags\fR (Gnome2::IconLookupFlags) .PP Returns the icon name and a GnomeIconLookupFlags. .ie n .SS "$theme\->\fBprepend_search_path\fP ($path)" .el .SS "\f(CW$theme\fP\->\fBprepend_search_path\fP ($path)" .IX Subsection "$theme->prepend_search_path ($path)" .IP "\(bu" 4 \&\f(CW$path\fR (string) .ie n .SS "boolean = $theme\->\fBrescan_if_needed\fP" .el .SS "boolean = \f(CW$theme\fP\->\fBrescan_if_needed\fP" .IX Subsection "boolean = $theme->rescan_if_needed" .ie n .SS "list = $theme\->\fBget_search_path\fP" .el .SS "list = \f(CW$theme\fP\->\fBget_search_path\fP" .IX Subsection "list = $theme->get_search_path" Returns a list of paths. .ie n .SS "$theme\->\fBset_search_path\fP (...)" .el .SS "\f(CW$theme\fP\->\fBset_search_path\fP (...)" .IX Subsection "$theme->set_search_path (...)" .IP "\(bu" 4 \&... (list) of paths .SH "SIGNALS" .IX Header "SIGNALS" .IP "\fBchanged\fR (Gnome2::IconTheme)" 4 .IX Item "changed (Gnome2::IconTheme)" .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "flags Gnome2::IconLookupFlags" .IX Subsection "flags Gnome2::IconLookupFlags" .PD 0 .IP "\(bu" 4 .PD \&'none' / '\s-1GNOME_ICON_LOOKUP_FLAGS_NONE\s0' .IP "\(bu" 4 \&'embedding\-text' / '\s-1GNOME_ICON_LOOKUP_FLAGS_EMBEDDING_TEXT\s0' .IP "\(bu" 4 \&'show\-small\-images\-as\-themselves' / '\s-1GNOME_ICON_LOOKUP_FLAGS_SHOW_SMALL_IMAGES_AS_THEMSELVES\s0' .IP "\(bu" 4 \&'allow\-svg\-as\-themselves' / '\s-1GNOME_ICON_LOOKUP_FLAGS_ALLOW_SVG_AS_THEMSELVES\s0' .SH "SEE ALSO" .IX Header "SEE ALSO" Gnome2, Glib::Object .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2003\-2004 by the gtk2\-perl team. .PP This software is licensed under the \s-1LGPL.\s0 See Gnome2 for a full notice.