GtkCellRendererClass

struct GtkCellRendererClass {}

Members

Variables

GtkReserved2
void function() GtkReserved2;
GtkReserved3
void function() GtkReserved3;
GtkReserved4
void function() GtkReserved4;
activate
gboolean function(GtkCellRenderer* cell, GdkEvent* event, GtkWidget* widget, const(char)* path, const(GdkRectangle)* backgroundArea, const(GdkRectangle)* cellArea, GtkCellRendererState flags) activate;

Called to activate the content of the #GtkCellRenderer.

editingCanceled
void function(GtkCellRenderer* cell) editingCanceled;

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

editingStarted
void function(GtkCellRenderer* cell, GtkCellEditable* editable, const(char)* path) editingStarted;

Signal gets emitted when a cell starts to be edited.

getAlignedArea
void function(GtkCellRenderer* cell, GtkWidget* widget, GtkCellRendererState flags, const(GdkRectangle)* cellArea, GdkRectangle* alignedArea) getAlignedArea;

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

getPreferredHeight
void function(GtkCellRenderer* cell, GtkWidget* widget, int* minimumSize, int* naturalSize) getPreferredHeight;

Called to get a renderer’s natural height.

getPreferredHeightForWidth
void function(GtkCellRenderer* cell, GtkWidget* widget, int width, int* minimumHeight, int* naturalHeight) getPreferredHeightForWidth;

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

getPreferredWidth
void function(GtkCellRenderer* cell, GtkWidget* widget, int* minimumSize, int* naturalSize) getPreferredWidth;

Called to get a renderer’s natural width.

getPreferredWidthForHeight
void function(GtkCellRenderer* cell, GtkWidget* widget, int height, int* minimumWidth, int* naturalWidth) getPreferredWidthForHeight;

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

getRequestMode
GtkSizeRequestMode function(GtkCellRenderer* cell) getRequestMode;

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

getSize
void function(GtkCellRenderer* cell, GtkWidget* widget, const(GdkRectangle)* cellArea, int* xOffset, int* yOffset, int* width, int* height) getSize;

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

parentClass
GInitiallyUnownedClass parentClass;
priv
GtkCellRendererClassPrivate* priv;
render
void function(GtkCellRenderer* cell, cairo_t* cr, GtkWidget* widget, const(GdkRectangle)* backgroundArea, const(GdkRectangle)* cellArea, GtkCellRendererState flags) render;

Called to render the content of the #GtkCellRenderer.

startEditing
GtkCellEditable* function(GtkCellRenderer* cell, GdkEvent* event, GtkWidget* widget, const(char)* path, const(GdkRectangle)* backgroundArea, const(GdkRectangle)* cellArea, GtkCellRendererState flags) startEditing;

Called to initiate editing the content of the #GtkCellRenderer.