Gtk.CellRenderer Members

The members of Gtk.CellRenderer are listed below.

See Also: Inherited members from Gtk.Object

Public Constructors

Internal constructor

Protected Constructors

Protected constructor.
Protected Constructor.

Public Properties

[write-only]
CellBackgroundstring. Cell background color as a string.
CellBackgroundGdkGdk.Color. Cell background color as a Gdk.Color.
[read-only]
static
GTypeGLib.GType. GType Property.
Heightint. The fixed height.
IsExpandedbool. Row is an expander row, and is expanded.
IsExpanderbool. Row has children.
ModeCellRendererMode. Editable mode of the CellRenderer.
Sensitivebool. Display the cell sensitive.
Visiblebool. Display the cell.
Widthint. The fixed width.
Xalignfloat. The x-align.
Xpaduint. The xpad.
Yalignfloat. The y-align.
Ypaduint. The ypad.

Public Methods

Activate(Gdk.Event, Widget, string, Gdk.Rectangle, Gdk.Rectangle, CellRendererState) : bool
Passes an activate event to the Gtk.CellRenderer for possible processing.
CancelEditing()
Causes the cell renderer to fire an CellRenderer.EditingCanceled event.
GetFixedSize(out int, out int)
Fills in width and height with the appropriate size.
GetSize(Widget, ref Gdk.Rectangle, out int, out int, out int, out int)
Obtains the width and height needed to render the cell.
Render(Gdk.Window, Widget, Gdk.Rectangle, Gdk.Rectangle, Gdk.Rectangle, CellRendererState)
Invokes the virtual render function of the Gtk.CellRenderer.
SetFixedSize(int, int)
Sets the renderer size to be explicit, independent of the properties set.
StartEditing(Gdk.Event, Widget, string, Gdk.Rectangle, Gdk.Rectangle, CellRendererState) : CellEditable
Passes an activate event to the Gtk.CellRenderer for possible processing.
StopEditing(bool)
Informs the cell renderer that the editing is stopped.

Protected Methods

OnEditingCanceled()
Default handler for the CellRenderer.EditingCanceled event.
OnEditingStarted(CellEditable, string)
Default handler for the CellRenderer.EditingStarted event.
Render(Gdk.Drawable, Widget, Gdk.Rectangle, Gdk.Rectangle, Gdk.Rectangle, CellRendererState)
Invokes the virtual render function of the .. The three passed-in rectangles are areas of window. Most renderers will draw within cell_area; the xalign, yalign, xpad, and ypad fields of the . should be honored with respect to cell_area. background_area includes the blank space around the cell, and also the area containing the tree expander; so the background_area rectangles for all cells tile to cover the entire window. expose_area is a clip rectangle.

Public Events

EditingCanceled This event is raised when the user cancels the process of editing a cell.
EditingStartedThis signal gets emitted when a cell starts to be edited.