Gtk.CellRendererClass

Fields

Name

Type

Access

Description

activate

object

r

Called to activate the content of the Gtk.CellRenderer.

editing_canceled

object

r

Signal gets emitted when the user cancels the process of editing a cell.

editing_started

object

r

Signal gets emitted when a cell starts to be edited.

get_aligned_area

object

r

Called to get the aligned area used by cell inside cell_area.

get_preferred_height

object

r

Called to get a renderer’s natural height.

get_preferred_height_for_width

object

r

Called to get a renderer’s natural height for width.

get_preferred_width

object

r

Called to get a renderer’s natural width.

get_preferred_width_for_height

object

r

Called to get a renderer’s natural width for height.

get_request_mode

object

r

Called to gets whether the cell renderer prefers a height-for-width layout or a width-for-height layout.

get_size

object

r

Called to get the width and height needed to render the cell. Deprecated: 3.0.

parent_class

GObject.InitiallyUnownedClass

r

render

object

r

Called to render the content of the Gtk.CellRenderer.

start_editing

object

r

Called to initiate editing the content of the Gtk.CellRenderer.

Methods

set_accessible_type (type)

Details

class Gtk.CellRendererClass
set_accessible_type(type)[source]
Parameters:

type (GObject.GType) – The object type that implements the accessible for widget_class. The type must be a subtype of Gtk.RendererCellAccessible

Sets the type to be used for creating accessibles for cells rendered by cell renderers of self. Note that multiple accessibles will be created.

This function should only be called from class init functions of cell renderers.