Name

CellRendererText —

A CellRenderer which displays a single-line text.

Synopsis

cellRendererTextNew:: IO CellRendererText
cellBackground:: Attribute CellRendererText (Maybe String)
cellEditable:: Attribute CellRendererText (Maybe Bool)
cellForeground:: Attribute CellRendererText (Maybe String)
cellMarkup:: Attribute CellRendererText String
cellText:: Attribute CellRendererText String
onEdited:: TreeModelClass tm => CellRendererText -> tm -> (TreeIter -> String -> IO ()) -> IO (ConnectId CellRendererText)

Introduction

This widget derives from CellRenderer. It provides the possibility to display some text by setting the Attribute cellText to the column of a TreeModel by means of treeViewAddAttribute from TreeModelColumn.

Constructors

cellRendererTextNew

Create a new CellRendererText object.

cellRendererTextNew

Constants

cellBackground

A named color for the background paint.

cellBackground

cellEditable

Determines wether the content can be altered.

cellEditable

If this flag is set, the user can alter the cell.

cellForeground

A named color for the foreground paint.

cellForeground

cellMarkup

Define a markup string instead of a text.

cellMarkup

cellText

Define the attribute that specifies the text to be rendered.

cellText

Signals

onEdited

Emitted when the user finished editing a cell.

onEdited:: CellRendererText:: tm:: (TreeIter -> String -> IO ()):: IO (ConnectId CellRendererText)
crtmuser

This signal is not emitted when editing is disabled (see cellEditable) or when the user aborts editing.