Gtk2::CellRendererText Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::CellRenderer +----Gtk2::CellRendererText

cellrenderer = Gtk2::CellRendererText->new

$renderer->set_fixed_height_from_font ($number_of_rows)
$number_of_rows (integer) Whether this tag affects the alignment mode How to align the lines A list of style attributes to apply to the text of the renderer Background color as a string Background color as a GdkColor Whether this tag affects the background color Whether the text can be modified by the user Whether this tag affects text editability The preferred place to ellipsize the string, if the cell renderer does not have enough room to display the entire string Whether this tag affects the ellipsize mode Name of the font family, e.g. Sans, Helvetica, Times, Monospace Whether this tag affects the font family Font description as a string, e.g. "Sans Italic 12" Font description as a PangoFontDescription struct Foreground color as a string Foreground color as a GdkColor Whether this tag affects the foreground color 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 Whether this tag affects the language the text is rendered as Marked up text to render Offset of text above the baseline (below the baseline if rise is negative) Whether this tag affects the rise Font scaling factor Whether this tag scales the font size by a factor Whether or not to keep all text in a single paragraph Font size Font size in points Whether this tag affects the font size Font stretch Whether this tag affects the font stretch Whether to strike through the text Whether this tag affects strikethrough Font style Whether this tag affects the font style Text to render Style of underline for this text Whether this tag affects underlining Font variant Whether this tag affects the font variant Font weight Whether this tag affects the font weight The desired width of the label, in characters How to break the string into multiple lines, if the cell renderer does not have enough room to display the entire string The width at which the text is wrapped

enum Pango::Alignment
'left' / 'PANGO_ALIGN_LEFT' 'center' / 'PANGO_ALIGN_CENTER' 'right' / 'PANGO_ALIGN_RIGHT'

enum Pango::EllipsizeMode
'none' / 'PANGO_ELLIPSIZE_NONE' 'start' / 'PANGO_ELLIPSIZE_START' 'middle' / 'PANGO_ELLIPSIZE_MIDDLE' 'end' / 'PANGO_ELLIPSIZE_END'

enum Pango::Stretch
'ultra-condensed' / 'PANGO_STRETCH_ULTRA_CONDENSED' 'extra-condensed' / 'PANGO_STRETCH_EXTRA_CONDENSED' 'condensed' / 'PANGO_STRETCH_CONDENSED' 'semi-condensed' / 'PANGO_STRETCH_SEMI_CONDENSED' 'normal' / 'PANGO_STRETCH_NORMAL' 'semi-expanded' / 'PANGO_STRETCH_SEMI_EXPANDED' 'expanded' / 'PANGO_STRETCH_EXPANDED' 'extra-expanded' / 'PANGO_STRETCH_EXTRA_EXPANDED' 'ultra-expanded' / 'PANGO_STRETCH_ULTRA_EXPANDED'

enum Pango::Style
'normal' / 'PANGO_STYLE_NORMAL' 'oblique' / 'PANGO_STYLE_OBLIQUE' 'italic' / 'PANGO_STYLE_ITALIC'

enum Pango::Underline
'none' / 'PANGO_UNDERLINE_NONE' 'single' / 'PANGO_UNDERLINE_SINGLE' 'double' / 'PANGO_UNDERLINE_DOUBLE' 'low' / 'PANGO_UNDERLINE_LOW' 'error' / 'PANGO_UNDERLINE_ERROR'

enum Pango::Variant
'normal' / 'PANGO_VARIANT_NORMAL' 'small-caps' / 'PANGO_VARIANT_SMALL_CAPS'

enum Pango::WrapMode
'word' / 'PANGO_WRAP_WORD' 'char' / 'PANGO_WRAP_CHAR' 'word-char' / 'PANGO_WRAP_WORD_CHAR' Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::CellRenderer Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.