.\" Automatically generated by Pod::Man 4.10 (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 .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::IconTheme 3pm" .TH Gtk2::IconTheme 3pm "2019-09-16" "perl v5.28.1" "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" Gtk2::IconTheme \- wrapper for GtkIconTheme .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 2 \& Glib::Object \& +\-\-\-\-Gtk2::IconTheme .Ve .SH "METHODS" .IX Header "METHODS" .SS "icontheme = Gtk2::IconTheme\->\fBnew\fP" .IX Subsection "icontheme = Gtk2::IconTheme->new" .ie n .SS "Gtk2::IconTheme\->\fBadd_builtin_icon\fP ($icon_name, $size, $pixbuf)" .el .SS "Gtk2::IconTheme\->\fBadd_builtin_icon\fP ($icon_name, \f(CW$size\fP, \f(CW$pixbuf\fP)" .IX Subsection "Gtk2::IconTheme->add_builtin_icon ($icon_name, $size, $pixbuf)" .IP "\(bu" 4 \&\f(CW$icon_name\fR (string) .IP "\(bu" 4 \&\f(CW$size\fR (integer) .IP "\(bu" 4 \&\f(CW$pixbuf\fR (Gtk2::Gdk::Pixbuf) .ie n .SS "$icon_theme\->\fBappend_search_path\fP ($path)" .el .SS "\f(CW$icon_theme\fP\->\fBappend_search_path\fP ($path)" .IX Subsection "$icon_theme->append_search_path ($path)" .IP "\(bu" 4 \&\f(CW$path\fR (localized file name) .ie n .SS "iconinfo or undef = $icon_theme\->\fBchoose_icon\fP ($icon_names, $size, $flags)" .el .SS "iconinfo or undef = \f(CW$icon_theme\fP\->\fBchoose_icon\fP ($icon_names, \f(CW$size\fP, \f(CW$flags\fP)" .IX Subsection "iconinfo or undef = $icon_theme->choose_icon ($icon_names, $size, $flags)" .IP "\(bu" 4 \&\f(CW$icon_names\fR (scalar) .IP "\(bu" 4 \&\f(CW$size\fR (integer) .IP "\(bu" 4 \&\f(CW$flags\fR (Gtk2::IconLookupFlags) .PP Since: gtk+ 2.12 .ie n .SS "$icon_theme\->\fBset_custom_theme\fP ($theme_name)" .el .SS "\f(CW$icon_theme\fP\->\fBset_custom_theme\fP ($theme_name)" .IX Subsection "$icon_theme->set_custom_theme ($theme_name)" .IP "\(bu" 4 \&\f(CW$theme_name\fR (string or undef) .PP Cannot be used on a \f(CW\*(C`Gtk2::IconTheme\*(C'\fR returned by Gtk2::IconTheme\->get_default or Gtk2::IconTheme\->get_for_screen. .SS "icontheme = Gtk2::IconTheme\->\fBget_default\fP" .IX Subsection "icontheme = Gtk2::IconTheme->get_default" .ie n .SS "string or undef = $icon_theme\->\fBget_example_icon_name\fP" .el .SS "string or undef = \f(CW$icon_theme\fP\->\fBget_example_icon_name\fP" .IX Subsection "string or undef = $icon_theme->get_example_icon_name" .SS "icontheme = Gtk2::IconTheme\->\fBget_for_screen\fP ($screen)" .IX Subsection "icontheme = Gtk2::IconTheme->get_for_screen ($screen)" .IP "\(bu" 4 \&\f(CW$screen\fR (Gtk2::Gdk::Screen) .ie n .SS "boolean = $icon_theme\->\fBhas_icon\fP ($icon_name)" .el .SS "boolean = \f(CW$icon_theme\fP\->\fBhas_icon\fP ($icon_name)" .IX Subsection "boolean = $icon_theme->has_icon ($icon_name)" .IP "\(bu" 4 \&\f(CW$icon_name\fR (string) .ie n .SS "list = $icon_theme\->\fBget_icon_sizes\fP ($icon_name)" .el .SS "list = \f(CW$icon_theme\fP\->\fBget_icon_sizes\fP ($icon_name)" .IX Subsection "list = $icon_theme->get_icon_sizes ($icon_name)" .IP "\(bu" 4 \&\f(CW$icon_name\fR (string) .PP Since: gtk+ 2.6 .ie n .SS "list = $icon_theme\->\fBlist_contexts\fP" .el .SS "list = \f(CW$icon_theme\fP\->\fBlist_contexts\fP" .IX Subsection "list = $icon_theme->list_contexts" Since: gtk+ 2.12 .ie n .SS "list = $icon_theme\->\fBlist_icons\fP ($context)" .el .SS "list = \f(CW$icon_theme\fP\->\fBlist_icons\fP ($context)" .IX Subsection "list = $icon_theme->list_icons ($context)" .IP "\(bu" 4 \&\f(CW$context\fR (string or undef) .ie n .SS "pixbuf or undef = $icon_theme\->\fBload_icon\fP ($icon_name, $size, $flags)" .el .SS "pixbuf or undef = \f(CW$icon_theme\fP\->\fBload_icon\fP ($icon_name, \f(CW$size\fP, \f(CW$flags\fP)" .IX Subsection "pixbuf or undef = $icon_theme->load_icon ($icon_name, $size, $flags)" .IP "\(bu" 4 \&\f(CW$icon_name\fR (string) .IP "\(bu" 4 \&\f(CW$size\fR (integer) .IP "\(bu" 4 \&\f(CW$flags\fR (Gtk2::IconLookupFlags) .PP May croak with a Glib::Error in $@ on failure. .ie n .SS "iconinfo or undef = $icon_theme\->\fBlookup_icon\fP ($icon_name, $size, $flags)" .el .SS "iconinfo or undef = \f(CW$icon_theme\fP\->\fBlookup_icon\fP ($icon_name, \f(CW$size\fP, \f(CW$flags\fP)" .IX Subsection "iconinfo or undef = $icon_theme->lookup_icon ($icon_name, $size, $flags)" .IP "\(bu" 4 \&\f(CW$icon_name\fR (string) .IP "\(bu" 4 \&\f(CW$size\fR (integer) .IP "\(bu" 4 \&\f(CW$flags\fR (Gtk2::IconLookupFlags) .ie n .SS "$icon_theme\->\fBprepend_search_path\fP ($path)" .el .SS "\f(CW$icon_theme\fP\->\fBprepend_search_path\fP ($path)" .IX Subsection "$icon_theme->prepend_search_path ($path)" .IP "\(bu" 4 \&\f(CW$path\fR (localized file name) .ie n .SS "boolean = $icon_theme\->\fBrescan_if_needed\fP" .el .SS "boolean = \f(CW$icon_theme\fP\->\fBrescan_if_needed\fP" .IX Subsection "boolean = $icon_theme->rescan_if_needed" .ie n .SS "$icon_theme\->\fBset_screen\fP ($screen)" .el .SS "\f(CW$icon_theme\fP\->\fBset_screen\fP ($screen)" .IX Subsection "$icon_theme->set_screen ($screen)" .IP "\(bu" 4 \&\f(CW$screen\fR (Gtk2::Gdk::Screen) .ie n .SS "list = $icon_theme\->\fBget_search_path\fP" .el .SS "list = \f(CW$icon_theme\fP\->\fBget_search_path\fP" .IX Subsection "list = $icon_theme->get_search_path" .ie n .SS "$icon_theme\->\fBset_search_path\fP (...)" .el .SS "\f(CW$icon_theme\fP\->\fBset_search_path\fP (...)" .IX Subsection "$icon_theme->set_search_path (...)" .IP "\(bu" 4 \&... (list) .SH "SIGNALS" .IX Header "SIGNALS" .IP "\fBchanged\fR (Gtk2::IconTheme)" 4 .IX Item "changed (Gtk2::IconTheme)" .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "flags Gtk2::IconLookupFlags" .IX Subsection "flags Gtk2::IconLookupFlags" .PD 0 .IP "\(bu" 4 .PD \&'no\-svg' / '\s-1GTK_ICON_LOOKUP_NO_SVG\s0' .IP "\(bu" 4 \&'force\-svg' / '\s-1GTK_ICON_LOOKUP_FORCE_SVG\s0' .IP "\(bu" 4 \&'use\-builtin' / '\s-1GTK_ICON_LOOKUP_USE_BUILTIN\s0' .IP "\(bu" 4 \&'generic\-fallback' / '\s-1GTK_ICON_LOOKUP_GENERIC_FALLBACK\s0' .IP "\(bu" 4 \&'force\-size' / '\s-1GTK_ICON_LOOKUP_FORCE_SIZE\s0' .SS "enum Gtk2::IconThemeError" .IX Subsection "enum Gtk2::IconThemeError" .IP "\(bu" 4 \&'not\-found' / '\s-1GTK_ICON_THEME_NOT_FOUND\s0' .IP "\(bu" 4 \&'failed' / '\s-1GTK_ICON_THEME_FAILED\s0' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the \s-1LGPL.\s0 See Gtk2 for a full notice.