ECell renderers new to be bound to a table_model and to the actual view
during their life time to actually render the data. This method is invoked
by the ETableItem canvas item to instatiate a new view of the ECell.
This is invoked when the ETableModel is attached to the ETableItem (a CanvasItem
that can render ETableModels in the screen).
ecell :
the Ecell that will create the new view
table_model :
the table model the ecell is bound to
e_table_item_view :
An ETableItem object (the CanvasItem that reprensents the view of the table)
Returns :
a new ECellView for this ecell on the table_model displayed on the e_table_item_view.
This function is invoked to give a chance to the ECellView to
release any resources it allocated during the realize method,
equivalent to the GtkWidget::unrealize signal.
ecell_view :
The ECellView to be unrealized.
e_cell_draw ()
void e_cell_draw (ECellView *ecell_view,
GdkDrawable *drawable,
int model_col,
int view_col,
int row,
ECellFlags flags,
int x1,
int y1,
int x2,
int y2);
This instructs the ECellView to render itself into the drawable. The
region to be drawn in given by (x1,y1)-(x2,y2).
The most important flags are E_CELL_SELECTED and E_CELL_FOCUSED, other
flags include alignments and justifications.
ecell_view :
the ECellView to redraw
drawable :
draw desination
model_col :
the column in the model being drawn.
view_col :
the column in the view being drawn (what the model maps to).
row :
the row being drawn
flags :
rendering flags.
x1 :
boudary for the rendering
y1 :
boudary for the rendering
x2 :
boudary for the rendering
y2 :
boudary for the rendering
e_cell_print ()
void e_cell_print (ECellView *ecell_view,
GnomePrintContext *context,
int model_col,
int view_col,
int row,
double width,
double height);
FIXME:
ecell_view :
context :
model_col :
view_col :
row :
width :
height :
e_cell_print_height ()
gdouble e_cell_print_height (ECellView *ecell_view,
GnomePrintContext *context,
int model_col,
int view_col,
int row,
gdouble width);
ecell_view :
context :
model_col :
view_col :
row :
width :
Returns :
e_cell_max_width ()
int e_cell_max_width (ECellView *ecell_view,
int model_col,
int view_col);
ecell_view :
the ECellView that will leave editing
model_col :
the column in the model
view_col :
the column in the view.
Returns :
the maximum width for the ECellview at model_col which
is being rendered as view_col
e_cell_show_tooltip ()
void e_cell_show_tooltip (ECellView *ecell_view,
int model_col,
int view_col,
int row,
int col_width,
ETableTooltip *tooltip);
ecell_view :
model_col :
view_col :
row :
col_width :
tooltip :
e_cell_focus ()
void e_cell_focus (ECellView *ecell_view,
int model_col,
int view_col,
int row,
int x1,
int y1,
int x2,
int y2);