.\" -*- 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::CellRendererText 3" .TH Gtk2::CellRendererText 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::CellRendererText \- wrapper for GtkCellRendererText .SH HIERARCHY .IX Header "HIERARCHY" .Vb 5 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::CellRenderer \& +\-\-\-\-Gtk2::CellRendererText .Ve .SH METHODS .IX Header "METHODS" .SS "cellrenderer = Gtk2::CellRendererText\->\fBnew\fP" .IX Subsection "cellrenderer = Gtk2::CellRendererText->new" .ie n .SS "$renderer\->\fBset_fixed_height_from_font\fP ($number_of_rows)" .el .SS "\f(CW$renderer\fP\->\fBset_fixed_height_from_font\fP ($number_of_rows)" .IX Subsection "$renderer->set_fixed_height_from_font ($number_of_rows)" .IP \(bu 4 \&\f(CW$number_of_rows\fR (integer) .SH PROPERTIES .IX Header "PROPERTIES" .IP "'align\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'align-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects the alignment mode .IP "'alignment' (Pango::Alignment : default ""left"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'alignment' (Pango::Alignment : default ""left"" : readable / writable / private / static-nick / static-blurb)" How to align the lines .IP "'attributes' (Pango::AttrList : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'attributes' (Pango::AttrList : default undef : readable / writable / private / static-nick / static-blurb)" A list of style attributes to apply to the text of the renderer .IP "'background' (string : default undef : writable / private / static-nick / static-blurb)" 4 .IX Item "'background' (string : default undef : writable / private / static-nick / static-blurb)" Background color as a string .IP "'background\-gdk' (Gtk2::Gdk::Color : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'background-gdk' (Gtk2::Gdk::Color : default undef : readable / writable / private / static-nick / static-blurb)" Background color as a GdkColor .IP "'background\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'background-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects the background color .IP "'editable' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'editable' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether the text can be modified by the user .IP "'editable\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'editable-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects text editability .IP "'ellipsize' (Pango::EllipsizeMode : default ""none"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'ellipsize' (Pango::EllipsizeMode : default ""none"" : readable / writable / private / static-nick / static-blurb)" The preferred place to ellipsize the string, if the cell renderer does not have enough room to display the entire string .IP "'ellipsize\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'ellipsize-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects the ellipsize mode .IP "'family' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'family' (string : default undef : readable / writable / private / static-nick / static-blurb)" Name of the font family, e.g. Sans, Helvetica, Times, Monospace .IP "'family\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'family-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects the font family .IP "'font' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'font' (string : default undef : readable / writable / private / static-nick / static-blurb)" Font description as a string, e.g. "Sans Italic 12" .IP "'font\-desc' (Pango::FontDescription : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'font-desc' (Pango::FontDescription : default undef : readable / writable / private / static-nick / static-blurb)" Font description as a PangoFontDescription struct .IP "'foreground' (string : default undef : writable / private / static-nick / static-blurb)" 4 .IX Item "'foreground' (string : default undef : writable / private / static-nick / static-blurb)" Foreground color as a string .IP "'foreground\-gdk' (Gtk2::Gdk::Color : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'foreground-gdk' (Gtk2::Gdk::Color : default undef : readable / writable / private / static-nick / static-blurb)" Foreground color as a GdkColor .IP "'foreground\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'foreground-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects the foreground color .IP "'language' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'language' (string : default undef : readable / writable / private / static-nick / static-blurb)" The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If you don't understand this parameter, you probably don't need it .IP "'language\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'language-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects the language the text is rendered as .IP "'markup' (string : default undef : writable / private / static-nick / static-blurb)" 4 .IX Item "'markup' (string : default undef : writable / private / static-nick / static-blurb)" Marked up text to render .IP "'rise' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'rise' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" Offset of text above the baseline (below the baseline if rise is negative) .IP "'rise\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'rise-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects the rise .IP "'scale' (double : default 1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'scale' (double : default 1 : readable / writable / private / static-nick / static-blurb)" Font scaling factor .IP "'scale\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'scale-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag scales the font size by a factor .IP "'single\-paragraph\-mode' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'single-paragraph-mode' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether or not to keep all text in a single paragraph .IP "'size' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'size' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" Font size .IP "'size\-points' (double : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'size-points' (double : default 0 : readable / writable / private / static-nick / static-blurb)" Font size in points .IP "'size\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'size-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects the font size .IP "'stretch' (Pango::Stretch : default ""normal"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'stretch' (Pango::Stretch : default ""normal"" : readable / writable / private / static-nick / static-blurb)" Font stretch .IP "'stretch\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'stretch-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects the font stretch .IP "'strikethrough' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'strikethrough' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether to strike through the text .IP "'strikethrough\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'strikethrough-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects strikethrough .IP "'style' (Pango::Style : default ""normal"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'style' (Pango::Style : default ""normal"" : readable / writable / private / static-nick / static-blurb)" Font style .IP "'style\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'style-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects the font style .IP "'text' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'text' (string : default undef : readable / writable / private / static-nick / static-blurb)" Text to render .IP "'underline' (Pango::Underline : default ""none"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'underline' (Pango::Underline : default ""none"" : readable / writable / private / static-nick / static-blurb)" Style of underline for this text .IP "'underline\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'underline-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects underlining .IP "'variant' (Pango::Variant : default ""normal"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'variant' (Pango::Variant : default ""normal"" : readable / writable / private / static-nick / static-blurb)" Font variant .IP "'variant\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'variant-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects the font variant .IP "'weight' (integer : default 400 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'weight' (integer : default 400 : readable / writable / private / static-nick / static-blurb)" Font weight .IP "'weight\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'weight-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether this tag affects the font weight .IP "'width\-chars' (integer : default \-1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'width-chars' (integer : default -1 : readable / writable / private / static-nick / static-blurb)" The desired width of the label, in characters .IP "'wrap\-mode' (Pango::WrapMode : default ""char"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'wrap-mode' (Pango::WrapMode : default ""char"" : readable / writable / private / static-nick / static-blurb)" How to break the string into multiple lines, if the cell renderer does not have enough room to display the entire string .IP "'wrap\-width' (integer : default \-1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'wrap-width' (integer : default -1 : readable / writable / private / static-nick / static-blurb)" The width at which the text is wrapped .SH SIGNALS .IX Header "SIGNALS" .IP "\fBedited\fR (Gtk2::CellRendererText, string, string)" 4 .IX Item "edited (Gtk2::CellRendererText, string, string)" .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Pango::Alignment" .IX Subsection "enum Pango::Alignment" .PD 0 .IP \(bu 4 .PD \&'left' / 'PANGO_ALIGN_LEFT' .IP \(bu 4 \&'center' / 'PANGO_ALIGN_CENTER' .IP \(bu 4 \&'right' / 'PANGO_ALIGN_RIGHT' .SS "enum Pango::EllipsizeMode" .IX Subsection "enum Pango::EllipsizeMode" .IP \(bu 4 \&'none' / 'PANGO_ELLIPSIZE_NONE' .IP \(bu 4 \&'start' / 'PANGO_ELLIPSIZE_START' .IP \(bu 4 \&'middle' / 'PANGO_ELLIPSIZE_MIDDLE' .IP \(bu 4 \&'end' / 'PANGO_ELLIPSIZE_END' .SS "enum Pango::Stretch" .IX Subsection "enum Pango::Stretch" .IP \(bu 4 \&'ultra\-condensed' / 'PANGO_STRETCH_ULTRA_CONDENSED' .IP \(bu 4 \&'extra\-condensed' / 'PANGO_STRETCH_EXTRA_CONDENSED' .IP \(bu 4 \&'condensed' / 'PANGO_STRETCH_CONDENSED' .IP \(bu 4 \&'semi\-condensed' / 'PANGO_STRETCH_SEMI_CONDENSED' .IP \(bu 4 \&'normal' / 'PANGO_STRETCH_NORMAL' .IP \(bu 4 \&'semi\-expanded' / 'PANGO_STRETCH_SEMI_EXPANDED' .IP \(bu 4 \&'expanded' / 'PANGO_STRETCH_EXPANDED' .IP \(bu 4 \&'extra\-expanded' / 'PANGO_STRETCH_EXTRA_EXPANDED' .IP \(bu 4 \&'ultra\-expanded' / 'PANGO_STRETCH_ULTRA_EXPANDED' .SS "enum Pango::Style" .IX Subsection "enum Pango::Style" .IP \(bu 4 \&'normal' / 'PANGO_STYLE_NORMAL' .IP \(bu 4 \&'oblique' / 'PANGO_STYLE_OBLIQUE' .IP \(bu 4 \&'italic' / 'PANGO_STYLE_ITALIC' .SS "enum Pango::Underline" .IX Subsection "enum Pango::Underline" .IP \(bu 4 \&'none' / 'PANGO_UNDERLINE_NONE' .IP \(bu 4 \&'single' / 'PANGO_UNDERLINE_SINGLE' .IP \(bu 4 \&'double' / 'PANGO_UNDERLINE_DOUBLE' .IP \(bu 4 \&'low' / 'PANGO_UNDERLINE_LOW' .IP \(bu 4 \&'error' / 'PANGO_UNDERLINE_ERROR' .IP \(bu 4 \&'single\-line' / 'PANGO_UNDERLINE_SINGLE_LINE' .IP \(bu 4 \&'double\-line' / 'PANGO_UNDERLINE_DOUBLE_LINE' .IP \(bu 4 \&'error\-line' / 'PANGO_UNDERLINE_ERROR_LINE' .SS "enum Pango::Variant" .IX Subsection "enum Pango::Variant" .IP \(bu 4 \&'normal' / 'PANGO_VARIANT_NORMAL' .IP \(bu 4 \&'small\-caps' / 'PANGO_VARIANT_SMALL_CAPS' .IP \(bu 4 \&'all\-small\-caps' / 'PANGO_VARIANT_ALL_SMALL_CAPS' .IP \(bu 4 \&'petite\-caps' / 'PANGO_VARIANT_PETITE_CAPS' .IP \(bu 4 \&'all\-petite\-caps' / 'PANGO_VARIANT_ALL_PETITE_CAPS' .IP \(bu 4 \&'unicase' / 'PANGO_VARIANT_UNICASE' .IP \(bu 4 \&'title\-caps' / 'PANGO_VARIANT_TITLE_CAPS' .SS "enum Pango::WrapMode" .IX Subsection "enum Pango::WrapMode" .IP \(bu 4 \&'word' / 'PANGO_WRAP_WORD' .IP \(bu 4 \&'char' / 'PANGO_WRAP_CHAR' .IP \(bu 4 \&'word\-char' / 'PANGO_WRAP_WORD_CHAR' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::CellRenderer .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.