GtkCellRendererText

Displays the contents of a cell in a GtkTreeView as text.

Object Hierarchy

GObject
`-- GtkObject
       `-- GtkCellRenderer
              `-- GtkCellRendererText

Direct Subclasses

Description

Constructors

-- Creates a new GtkCellRendererText.

Methods

set_fixed_height_from_font()
  Sets the heigth of the renderer to a value determined by its current font and y_pad values.

Properties

Use get_property and set_property methods to access these.

background:
  The background color of the text as a string.
background-gdk:
  The background color of the text as a GdkColor
background-set:
  If TRUE the text background color is set by this cellrenderer. Default: FALSE.
editable:
  True/False. Indicates if the text can be modified by the user.
family:
  Name of the font family, e.g. Sans, Helvetica, Times, Monospace.
font:
  Font description as a string.
foreground:
  Foreground color as a string.
size-points:
  Font size in points.
text:
  Text to render.

Signals

"edited"
  Emitted when the text in the cell has been edited.