Gtk.CellRendererClass¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
activate |
r |
Called to activate the content of the |
|
editing_canceled |
r |
Signal gets emitted when the user cancels the process of editing a cell. |
|
editing_started |
r |
Signal gets emitted when a cell starts to be edited. |
|
get_aligned_area |
r |
Called to get the aligned area used by cell inside cell_area. |
|
get_preferred_height |
r |
Called to get a renderer’s natural height. |
|
get_preferred_height_for_width |
r |
Called to get a renderer’s natural height for width. |
|
get_preferred_width |
r |
Called to get a renderer’s natural width. |
|
get_preferred_width_for_height |
r |
Called to get a renderer’s natural width for height. |
|
get_request_mode |
r |
Called to gets whether the cell renderer prefers a height-for-width layout or a width-for-height layout. |
|
get_size |
r |
Called to get the width and height needed to render the cell. Deprecated: 3.0. |
|
parent_class |
r |
||
render |
r |
Called to render the content of the |
|
start_editing |
r |
Called to initiate editing the content of the |
Methods¶
|
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 ofGtk.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.