GtkCellRendererClass

struct GtkCellRendererClass {}

Members

Variables

activate
bool 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 gtk.cell_renderer.CellRenderer.

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.

padding
void*[8] padding;
parentClass
GInitiallyUnownedClass parentClass;
snapshot
void function(GtkCellRenderer* cell, GtkSnapshot* snapshot, GtkWidget* widget, const(GdkRectangle)* backgroundArea, const(GdkRectangle)* cellArea, GtkCellRendererState flags) snapshot;

Called to snapshot the content of the gtk.cell_renderer.CellRenderer.

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 gtk.cell_renderer.CellRenderer.