.\" -*- 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::IconSize 3" .TH Gtk2::IconSize 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::IconSize \- wrapper for GtkIconSize .SH HIERARCHY .IX Header "HIERARCHY" .Vb 2 \& Glib::Enum \& +\-\-\-\-Gtk2::IconSize .Ve .SH METHODS .IX Header "METHODS" .SS "iconsize = Gtk2::IconSize\->\fBfrom_name\fP ($name)" .IX Subsection "iconsize = Gtk2::IconSize->from_name ($name)" .IP \(bu 4 \&\f(CW$name\fR (string) .SS "(width, height) = Gtk2::IconSize\->\fBlookup\fP ($size)" .IX Subsection "(width, height) = Gtk2::IconSize->lookup ($size)" .IP \(bu 4 \&\f(CW$size\fR (Gtk2::IconSize) .ie n .SS "(width, height) = Gtk2::IconSize\->\fBlookup_for_settings\fP ($settings, $size)" .el .SS "(width, height) = Gtk2::IconSize\->\fBlookup_for_settings\fP ($settings, \f(CW$size\fP)" .IX Subsection "(width, height) = Gtk2::IconSize->lookup_for_settings ($settings, $size)" .IP \(bu 4 \&\f(CW$settings\fR (Gtk2::Settings) .IP \(bu 4 \&\f(CW$size\fR (Gtk2::IconSize) .PP Since: gtk+ 2.2 .ie n .SS "iconsize = Gtk2::IconSize\->\fBregister\fP ($name, $width, $height)" .el .SS "iconsize = Gtk2::IconSize\->\fBregister\fP ($name, \f(CW$width\fP, \f(CW$height\fP)" .IX Subsection "iconsize = Gtk2::IconSize->register ($name, $width, $height)" .IP \(bu 4 \&\f(CW$name\fR (string) .IP \(bu 4 \&\f(CW$width\fR (integer) .IP \(bu 4 \&\f(CW$height\fR (integer) .ie n .SS "Gtk2::IconSize\->\fBregister_alias\fP ($alias, $target)" .el .SS "Gtk2::IconSize\->\fBregister_alias\fP ($alias, \f(CW$target\fP)" .IX Subsection "Gtk2::IconSize->register_alias ($alias, $target)" .IP \(bu 4 \&\f(CW$alias\fR (string) .IP \(bu 4 \&\f(CW$target\fR (Gtk2::IconSize) .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' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Enum .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.