.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" 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 .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . 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::IconSet 3" .TH Gtk2::IconSet 3 2023-07-25 "perl v5.38.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 Gtk2::IconSet \- wrapper for GtkIconSet .SH HIERARCHY .IX Header "HIERARCHY" .Vb 2 \& Glib::Boxed \& +\-\-\-\-Gtk2::IconSet .Ve .SH METHODS .IX Header "METHODS" .SS "iconset = Gtk2::IconSet\->\fBnew\fP" .IX Subsection "iconset = Gtk2::IconSet->new" .SS "iconset = Gtk2::IconSet\->\fBnew_from_pixbuf\fP ($pixbuf)" .IX Subsection "iconset = Gtk2::IconSet->new_from_pixbuf ($pixbuf)" .IP \(bu 4 \&\f(CW$pixbuf\fR (Gtk2::Gdk::Pixbuf) .ie n .SS "$icon_set\->\fBadd_source\fP ($source)" .el .SS "\f(CW$icon_set\fP\->\fBadd_source\fP ($source)" .IX Subsection "$icon_set->add_source ($source)" .IP \(bu 4 \&\f(CW$source\fR (Gtk2::IconSource) .ie n .SS "pixbuf = $icon_set\->\fBrender_icon\fP ($style, $direction, $state, $size, $widget, $detail=undef)" .el .SS "pixbuf = \f(CW$icon_set\fP\->\fBrender_icon\fP ($style, \f(CW$direction\fP, \f(CW$state\fP, \f(CW$size\fP, \f(CW$widget\fP, \f(CW$detail\fP=undef)" .IX Subsection "pixbuf = $icon_set->render_icon ($style, $direction, $state, $size, $widget, $detail=undef)" .IP \(bu 4 \&\f(CW$style\fR (Gtk2::Style or undef) .IP \(bu 4 \&\f(CW$direction\fR (Gtk2::TextDirection) .IP \(bu 4 \&\f(CW$state\fR (Gtk2::StateType) .IP \(bu 4 \&\f(CW$size\fR (Gtk2::IconSize) .IP \(bu 4 \&\f(CW$widget\fR (Gtk2::Widget or undef) .IP \(bu 4 \&\f(CW$detail\fR (string) .ie n .SS "list = $icon_set\->\fBget_sizes\fP" .el .SS "list = \f(CW$icon_set\fP\->\fBget_sizes\fP" .IX Subsection "list = $icon_set->get_sizes" Returns a list of Gtk2::IconSize's. .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::IconSize" .IX Subsection "enum Gtk2::IconSize" .IP \(bu 4 \&'invalid' / 'GTK_ICON_SIZE_INVALID' .IP \(bu 4 \&'menu' / 'GTK_ICON_SIZE_MENU' .IP \(bu 4 \&'small\-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR' .IP \(bu 4 \&'large\-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR' .IP \(bu 4 \&'button' / 'GTK_ICON_SIZE_BUTTON' .IP \(bu 4 \&'dnd' / 'GTK_ICON_SIZE_DND' .IP \(bu 4 \&'dialog' / 'GTK_ICON_SIZE_DIALOG' .SS "enum Gtk2::StateType" .IX Subsection "enum Gtk2::StateType" .IP \(bu 4 \&'normal' / 'GTK_STATE_NORMAL' .IP \(bu 4 \&'active' / 'GTK_STATE_ACTIVE' .IP \(bu 4 \&'prelight' / 'GTK_STATE_PRELIGHT' .IP \(bu 4 \&'selected' / 'GTK_STATE_SELECTED' .IP \(bu 4 \&'insensitive' / 'GTK_STATE_INSENSITIVE' .SS "enum Gtk2::TextDirection" .IX Subsection "enum Gtk2::TextDirection" .IP \(bu 4 \&'none' / 'GTK_TEXT_DIR_NONE' .IP \(bu 4 \&'ltr' / 'GTK_TEXT_DIR_LTR' .IP \(bu 4 \&'rtl' / 'GTK_TEXT_DIR_RTL' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Boxed .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.