Rechercher une page de manuel
Gtk2::CellRendererText.3pm
Langue: en
Version: 2010-05-02 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Gtk2::CellRendererTextHIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::CellRenderer +----Gtk2::CellRendererText
METHODS
cellrenderer = Gtk2::CellRendererText->new
$renderer->set_fixed_height_from_font ($number_of_rows)
-
- *
- $number_of_rows (integer)
PROPERTIES
- 'align-set' (boolean : readable / writable / private)
- Whether this tag affects the alignment mode
- 'alignment' (Gtk2::Pango::Alignment : readable / writable / private)
- How to align the lines
- 'attributes' (Gtk2::Pango::AttrList : readable / writable / private)
- A list of style attributes to apply to the text of the renderer
- 'background' (string : writable / private)
- Background color as a string
- 'background-gdk' (Gtk2::Gdk::Color : readable / writable / private)
- Background color as a GdkColor
- 'background-set' (boolean : readable / writable / private)
- Whether this tag affects the background color
- 'editable' (boolean : readable / writable / private)
- Whether the text can be modified by the user
- 'editable-set' (boolean : readable / writable / private)
- Whether this tag affects text editability
- 'ellipsize' (Gtk2::Pango::EllipsizeMode : readable / writable / private)
- The preferred place to ellipsize the string, if the cell renderer does not have enough room to display the entire string
- 'ellipsize-set' (boolean : readable / writable / private)
- Whether this tag affects the ellipsize mode
- 'family' (string : readable / writable / private)
- Name of the font family, e.g. Sans, Helvetica, Times, Monospace
- 'family-set' (boolean : readable / writable / private)
- Whether this tag affects the font family
- 'font' (string : readable / writable / private)
- Font description as a string, e.g. ``Sans Italic 12''
- 'font-desc' (Gtk2::Pango::FontDescription : readable / writable / private)
- Font description as a PangoFontDescription struct
- 'foreground' (string : writable / private)
- Foreground color as a string
- 'foreground-gdk' (Gtk2::Gdk::Color : readable / writable / private)
- Foreground color as a GdkColor
- 'foreground-set' (boolean : readable / writable / private)
- Whether this tag affects the foreground color
- 'language' (string : readable / writable / private)
- 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 : readable / writable / private)
- Whether this tag affects the language the text is rendered as
- 'markup' (string : writable / private)
- Marked up text to render
- 'rise' (integer : readable / writable / private)
- Offset of text above the baseline (below the baseline if rise is negative)
- 'rise-set' (boolean : readable / writable / private)
- Whether this tag affects the rise
- 'scale' (double : readable / writable / private)
- Font scaling factor
- 'scale-set' (boolean : readable / writable / private)
- Whether this tag scales the font size by a factor
- 'single-paragraph-mode' (boolean : readable / writable / private)
- Whether or not to keep all text in a single paragraph
- 'size' (integer : readable / writable / private)
- Font size
- 'size-points' (double : readable / writable / private)
- Font size in points
- 'size-set' (boolean : readable / writable / private)
- Whether this tag affects the font size
- 'stretch' (Gtk2::Pango::Stretch : readable / writable / private)
- Font stretch
- 'stretch-set' (boolean : readable / writable / private)
- Whether this tag affects the font stretch
- 'strikethrough' (boolean : readable / writable / private)
- Whether to strike through the text
- 'strikethrough-set' (boolean : readable / writable / private)
- Whether this tag affects strikethrough
- 'style' (Gtk2::Pango::Style : readable / writable / private)
- Font style
- 'style-set' (boolean : readable / writable / private)
- Whether this tag affects the font style
- 'text' (string : readable / writable / private)
- Text to render
- 'underline' (Gtk2::Pango::Underline : readable / writable / private)
- Style of underline for this text
- 'underline-set' (boolean : readable / writable / private)
- Whether this tag affects underlining
- 'variant' (Gtk2::Pango::Variant : readable / writable / private)
- Font variant
- 'variant-set' (boolean : readable / writable / private)
- Whether this tag affects the font variant
- 'weight' (integer : readable / writable / private)
- Font weight
- 'weight-set' (boolean : readable / writable / private)
- Whether this tag affects the font weight
- 'width-chars' (integer : readable / writable / private)
- The desired width of the label, in characters
- 'wrap-mode' (Gtk2::Pango::WrapMode : readable / writable / private)
- 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 : readable / writable / private)
- The width at which the text is wrapped
SIGNALS
- edited (Gtk2::CellRendererText, string, string)
ENUMS AND FLAGS
enum Gtk2::Pango::Alignment
- *
- 'left' / 'PANGO_ALIGN_LEFT'
- *
- 'center' / 'PANGO_ALIGN_CENTER'
- *
- 'right' / 'PANGO_ALIGN_RIGHT'
enum Gtk2::Pango::EllipsizeMode
- *
- 'none' / 'PANGO_ELLIPSIZE_NONE'
- *
- 'start' / 'PANGO_ELLIPSIZE_START'
- *
- 'middle' / 'PANGO_ELLIPSIZE_MIDDLE'
- *
- 'end' / 'PANGO_ELLIPSIZE_END'
enum Gtk2::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 Gtk2::Pango::Style
- *
- 'normal' / 'PANGO_STYLE_NORMAL'
- *
- 'oblique' / 'PANGO_STYLE_OBLIQUE'
- *
- 'italic' / 'PANGO_STYLE_ITALIC'
enum Gtk2::Pango::Underline
- *
- 'none' / 'PANGO_UNDERLINE_NONE'
- *
- 'single' / 'PANGO_UNDERLINE_SINGLE'
- *
- 'double' / 'PANGO_UNDERLINE_DOUBLE'
- *
- 'low' / 'PANGO_UNDERLINE_LOW'
- *
- 'error' / 'PANGO_UNDERLINE_ERROR'
enum Gtk2::Pango::Variant
- *
- 'normal' / 'PANGO_VARIANT_NORMAL'
- *
- 'small-caps' / 'PANGO_VARIANT_SMALL_CAPS'
enum Gtk2::Pango::WrapMode
- *
- 'word' / 'PANGO_WRAP_WORD'
- *
- 'char' / 'PANGO_WRAP_CHAR'
- *
- 'word-char' / 'PANGO_WRAP_WORD_CHAR'
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::CellRendererCOPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre