Gtk2::CellRendererText(3) User Contributed Perl Documentation NAME Gtk2::CellRendererText - wrapper for GtkCellRendererText HIERARCHY Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::CellRenderer +----Gtk2::CellRendererText METHODS cellrenderer = Gtk2::CellRendererText->new $renderer->set_fixed_height_from_font ($number_of_rows) o $number_of_rows (integer) PROPERTIES 'align-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects the alignment mode 'alignment' (Pango::Alignment : default "left" : readable / writable / private / static-nick / static-blurb) How to align the lines '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 'background' (string : default undef : writable / private / static-nick / static-blurb) Background color as a string 'background-gdk' (Gtk2::Gdk::Color : default undef : readable / writable / private / static-nick / static-blurb) Background color as a GdkColor 'background-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects the background color 'editable' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether the text can be modified by the user 'editable-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects text editability '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 'ellipsize-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects the ellipsize mode 'family' (string : default undef : readable / writable / private / static-nick / static-blurb) Name of the font family, e.g. Sans, Helvetica, Times, Monospace 'family-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects the font family 'font' (string : default undef : readable / writable / private / static-nick / static-blurb) Font description as a string, e.g. "Sans Italic 12" 'font-desc' (Pango::FontDescription : default undef : readable / writable / private / static-nick / static-blurb) Font description as a PangoFontDescription struct 'foreground' (string : default undef : writable / private / static-nick / static-blurb) Foreground color as a string 'foreground-gdk' (Gtk2::Gdk::Color : default undef : readable / writable / private / static-nick / static-blurb) Foreground color as a GdkColor 'foreground-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects the foreground color '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 'language-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects the language the text is rendered as 'markup' (string : default undef : writable / private / static-nick / static-blurb) Marked up text to render 'rise' (integer : default 0 : readable / writable / private / static-nick / static-blurb) Offset of text above the baseline (below the baseline if rise is negative) 'rise-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects the rise 'scale' (double : default 1 : readable / writable / private / static-nick / static-blurb) Font scaling factor 'scale-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag scales the font size by a factor 'single-paragraph-mode' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether or not to keep all text in a single paragraph 'size' (integer : default 0 : readable / writable / private / static-nick / static-blurb) Font size 'size-points' (double : default 0 : readable / writable / private / static-nick / static-blurb) Font size in points 'size-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects the font size 'stretch' (Pango::Stretch : default "normal" : readable / writable / private / static-nick / static-blurb) Font stretch 'stretch-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects the font stretch 'strikethrough' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether to strike through the text 'strikethrough-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects strikethrough 'style' (Pango::Style : default "normal" : readable / writable / private / static-nick / static-blurb) Font style 'style-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects the font style 'text' (string : default undef : readable / writable / private / static-nick / static-blurb) Text to render 'underline' (Pango::Underline : default "none" : readable / writable / private / static-nick / static-blurb) Style of underline for this text 'underline-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects underlining 'variant' (Pango::Variant : default "normal" : readable / writable / private / static-nick / static-blurb) Font variant 'variant-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects the font variant 'weight' (integer : default 400 : readable / writable / private / static-nick / static-blurb) Font weight 'weight-set' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether this tag affects the font weight 'width-chars' (integer : default -1 : readable / writable / private / static-nick / static-blurb) The desired width of the label, in characters '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 'wrap-width' (integer : default -1 : readable / writable / private / static-nick / static-blurb) The width at which the text is wrapped SIGNALS edited (Gtk2::CellRendererText, string, string) ENUMS AND FLAGS enum Pango::Alignment o 'left' / 'PANGO_ALIGN_LEFT' o 'center' / 'PANGO_ALIGN_CENTER' o 'right' / 'PANGO_ALIGN_RIGHT' enum Pango::EllipsizeMode o 'none' / 'PANGO_ELLIPSIZE_NONE' o 'start' / 'PANGO_ELLIPSIZE_START' o 'middle' / 'PANGO_ELLIPSIZE_MIDDLE' o 'end' / 'PANGO_ELLIPSIZE_END' enum Pango::Stretch o 'ultra-condensed' / 'PANGO_STRETCH_ULTRA_CONDENSED' o 'extra-condensed' / 'PANGO_STRETCH_EXTRA_CONDENSED' o 'condensed' / 'PANGO_STRETCH_CONDENSED' o 'semi-condensed' / 'PANGO_STRETCH_SEMI_CONDENSED' o 'normal' / 'PANGO_STRETCH_NORMAL' o 'semi-expanded' / 'PANGO_STRETCH_SEMI_EXPANDED' o 'expanded' / 'PANGO_STRETCH_EXPANDED' o 'extra-expanded' / 'PANGO_STRETCH_EXTRA_EXPANDED' o 'ultra-expanded' / 'PANGO_STRETCH_ULTRA_EXPANDED' enum Pango::Style o 'normal' / 'PANGO_STYLE_NORMAL' o 'oblique' / 'PANGO_STYLE_OBLIQUE' o 'italic' / 'PANGO_STYLE_ITALIC' enum Pango::Underline o 'none' / 'PANGO_UNDERLINE_NONE' o 'single' / 'PANGO_UNDERLINE_SINGLE' o 'double' / 'PANGO_UNDERLINE_DOUBLE' o 'low' / 'PANGO_UNDERLINE_LOW' o 'error' / 'PANGO_UNDERLINE_ERROR' o 'single-line' / 'PANGO_UNDERLINE_SINGLE_LINE' o 'double-line' / 'PANGO_UNDERLINE_DOUBLE_LINE' o 'error-line' / 'PANGO_UNDERLINE_ERROR_LINE' enum Pango::Variant o 'normal' / 'PANGO_VARIANT_NORMAL' o 'small-caps' / 'PANGO_VARIANT_SMALL_CAPS' o 'all-small-caps' / 'PANGO_VARIANT_ALL_SMALL_CAPS' o 'petite-caps' / 'PANGO_VARIANT_PETITE_CAPS' o 'all-petite-caps' / 'PANGO_VARIANT_ALL_PETITE_CAPS' o 'unicase' / 'PANGO_VARIANT_UNICASE' o 'title-caps' / 'PANGO_VARIANT_TITLE_CAPS' enum Pango::WrapMode o 'word' / 'PANGO_WRAP_WORD' o 'char' / 'PANGO_WRAP_CHAR' o 'word-char' / 'PANGO_WRAP_WORD_CHAR' SEE ALSO Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::CellRenderer COPYRIGHT Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.38.0 2023-07-25 Gtk2::CellRendererText(3)