CellRenderer Class Reference

Inheritance diagram for CellRenderer:

CellRendererPixbuf CellRendererText CellRendererToggle List of all members.

Detailed Description

Cell renderer.

Used on tree and list (TreeStore and ListStore tree types)


Protected Member Functions

void getSize (Widget widget, Rectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, gint *height)
 get size
void render (WindowG windowG, Widget widget, Rectangle *background_area, Rectangle *cell_area, Rectangle *expose_area, GtkCellRendererState flags)
 render
bit rendererActivate (Event event, Widget widget, char[] path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags)
 Rederer Activate.
GtkCellEditable * startEditing (Event event, Widget widget, char[] path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags)
 Start Editing.
void setFixedSize (gint width, gint height)
 Sets the cell Fixed size.
void getFixedSize (gint *width, gint *height)
 Gets the cell's fixed size.


Member Function Documentation

void CellRenderer.getFixedSize gint *  width,
gint *  height
[protected]
 

Gets the cell's fixed size.

Parameters:
width 
heigth 

void CellRenderer.getSize Widget  widget,
Rectangle *  cell_area,
gint *  x_offset,
gint *  y_offset,
gint *  width,
gint *  height
[protected]
 

get size

Parameters:
widget 
cell_area 
x_offset 
y_offset 
width 
height 

void CellRenderer.render WindowG  windowG,
Widget  widget,
Rectangle *  background_area,
Rectangle *  cell_area,
Rectangle *  expose_area,
GtkCellRendererState  flags
[protected]
 

render

Parameters:
windowG 
widget 
background_area 
cell_area 
expose_area 
flags 

bit CellRenderer.rendererActivate Event  event,
Widget  widget,
char[]  path,
GdkRectangle *  background_area,
GdkRectangle *  cell_area,
GtkCellRendererState  flags
[protected]
 

Rederer Activate.

void CellRenderer.setFixedSize gint  width,
gint  height
[protected]
 

Sets the cell Fixed size.

Parameters:
width 
heigth 

GtkCellEditable* CellRenderer.startEditing Event  event,
Widget  widget,
char[]  path,
GdkRectangle *  background_area,
GdkRectangle *  cell_area,
GtkCellRendererState  flags
[protected]
 

Start Editing.


SourceForge.net Logo DSource.org Logo digitalmars.com Logo