CellRendererText
Object Hierarchy:
Description:
[
CCode ( type_id =
"gtk_cell_renderer_text_get_type ()" ) ]
public class CellRendererText :
CellRenderer
A CellRendererText renders a given text in its cell, using the font, color and style information provided by
its properties.
The text will be ellipsized if it is too long and the ellipsize
property allows it.
If the mode is gtk_cell_renderer_mode_editable
, the CellRendererText allows to edit its text using an entry.
Content:
Properties:
- public bool align_set { get; set; }
- public Alignment alignment { get; set; }
Specifies how to align the lines of text with respect to each other.
- public AttrList attributes { owned get; set; }
- public string background { set; }
- public Color background_gdk { owned get; set; }
Background color as a Color
- public RGBA background_rgba { owned get; set; }
Background color as a RGBA
- public bool background_set { get; set; }
- public bool editable { get; set; }
- public bool editable_set { get; set; }
- public EllipsizeMode ellipsize { get; set; }
Specifies the preferred place to ellipsize the string, if the cell
renderer does not have enough room to display the entire string.
- public bool ellipsize_set { get; set; }
- public string family { owned get; set; }
- public bool family_set { get; set; }
- public string font { owned get; set; }
- public FontDescription font_desc { owned get; set; }
- public string foreground { set; }
- public Color foreground_gdk { owned get; set; }
Foreground color as a Color
- public RGBA foreground_rgba { owned get; set; }
Foreground color as a RGBA
- public bool foreground_set { get; set; }
- public string language { owned get; set; }
- public bool language_set { get; set; }
- public string markup { set; }
- public int max_width_chars { get; set; }
The desired maximum width of the cell, in characters.
- public string placeholder_text { owned get; set; }
- public int rise { get; set; }
- public bool rise_set { get; set; }
- public double scale { get; set; }
- public bool scale_set { get; set; }
- public bool single_paragraph_mode { get; set; }
- public int size { get; set; }
- public double size_points { get; set; }
- public bool size_set { get; set; }
- public Stretch stretch { get; set; }
- public bool stretch_set { get; set; }
- public bool strikethrough { get; set; }
- public bool strikethrough_set { get; set; }
- public Style style { get; set; }
- public bool style_set { get; set; }
- public string text { owned get; set; }
- public Underline underline { get; set; }
- public bool underline_set { get; set; }
- public Variant variant { get; set; }
- public bool variant_set { get; set; }
- public int weight { get; set; }
- public bool weight_set { get; set; }
- public int width_chars { get; set; }
The desired width of the cell, in characters.
- public WrapMode wrap_mode { get; set; }
Specifies how to break the string into multiple lines, if the cell
renderer does not have enough room to display the entire string.
- public int wrap_width { get; set; }
Specifies the minimum width at which the text is wrapped.
Creation methods:
Methods:
Signals:
Inherited Members:
All known members inherited from class Gtk.CellRenderer
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref