Forum und email

GtkCellRendererText

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

オブジェクトの階層

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

Direct Subclasses

説明

コンストラクタ

-- Creates a new GtkCellRendererText.

メソッド

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

プロパティ

これらにアクセスするには、get_property および set_property メソッドを使用します。

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.

シグナル

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