.\" 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::IconSet 3pm" .TH Gtk2::IconSet 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::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' / '\s-1GTK_ICON_SIZE_INVALID\s0' .IP "\(bu" 4 \&'menu' / '\s-1GTK_ICON_SIZE_MENU\s0' .IP "\(bu" 4 \&'small\-toolbar' / '\s-1GTK_ICON_SIZE_SMALL_TOOLBAR\s0' .IP "\(bu" 4 \&'large\-toolbar' / '\s-1GTK_ICON_SIZE_LARGE_TOOLBAR\s0' .IP "\(bu" 4 \&'button' / '\s-1GTK_ICON_SIZE_BUTTON\s0' .IP "\(bu" 4 \&'dnd' / '\s-1GTK_ICON_SIZE_DND\s0' .IP "\(bu" 4 \&'dialog' / '\s-1GTK_ICON_SIZE_DIALOG\s0' .SS "enum Gtk2::StateType" .IX Subsection "enum Gtk2::StateType" .IP "\(bu" 4 \&'normal' / '\s-1GTK_STATE_NORMAL\s0' .IP "\(bu" 4 \&'active' / '\s-1GTK_STATE_ACTIVE\s0' .IP "\(bu" 4 \&'prelight' / '\s-1GTK_STATE_PRELIGHT\s0' .IP "\(bu" 4 \&'selected' / '\s-1GTK_STATE_SELECTED\s0' .IP "\(bu" 4 \&'insensitive' / '\s-1GTK_STATE_INSENSITIVE\s0' .SS "enum Gtk2::TextDirection" .IX Subsection "enum Gtk2::TextDirection" .IP "\(bu" 4 \&'none' / '\s-1GTK_TEXT_DIR_NONE\s0' .IP "\(bu" 4 \&'ltr' / '\s-1GTK_TEXT_DIR_LTR\s0' .IP "\(bu" 4 \&'rtl' / '\s-1GTK_TEXT_DIR_RTL\s0' .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 \s-1LGPL.\s0 See Gtk2 for a full notice.