| Top |
|
|
(*ETableSearchFunc) () |
| ECellView * | e_cell_new_view () |
|
|
e_cell_kill_view () |
|
|
e_cell_event () |
|
|
e_cell_realize () |
|
|
e_cell_unrealize () |
|
|
e_cell_draw () |
|
|
e_cell_print () |
|
|
e_cell_print_height () |
|
|
e_cell_max_width () |
|
|
e_cell_max_width_by_row () |
|
|
e_cell_max_width_by_row_implemented () |
|
|
e_cell_get_bg_color () |
|
|
e_cell_style_updated () |
|
|
e_cell_focus () |
|
|
e_cell_unfocus () |
|
|
e_cell_height () |
|
|
e_cell_enter_edit () |
|
|
e_cell_leave_edit () |
|
|
e_cell_save_state () |
|
|
e_cell_load_state () |
|
|
e_cell_free_state () |
ECellView * e_cell_new_view (,ECell *ecell,ETableModel *table_model);gpointer e_table_item_view
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).
void e_cell_kill_view (ECellView *ecell_view);
This method it used to destroy a view of an ECell renderer
gint e_cell_event (ECellView *ecell_view,,GdkEvent *event,gint model_col,gint view_col,gint rowECellFlags flags,ECellActions *actions);
Dispatches the event event
to the ecell_view
for.
ecell_view |
The ECellView where the event will be dispatched |
|
event |
The GdkEvent. |
|
model_col |
the column in the model |
|
view_col |
the column in the view |
|
row |
the row |
|
flags |
flags about the current state |
|
actions |
a second return value in case the cell wants to take some action (specifically grabbing & ungrabbing) |
void e_cell_realize (ECellView *ecell_view);
This function is invoked to give a chance to the ECellView to allocate any resources it needs from Gdk, equivalent to the GtkWidget::realize signal.
void e_cell_unrealize (ECellView *ecell_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.
void e_cell_draw (ECellView *ecell_view,,cairo_t *cr,gint model_col,gint view_col,gint rowECellFlags flags,,gint x1,gint y1,gint x2);gint y2
This instructs the ECellView to render itself into the Cairo context. 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 |
|
cr |
a Cairo context |
|
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 |
void e_cell_print (ECellView *ecell_view,,GtkPrintContext *context,gint model_col,gint view_col,gint row,gdouble width);gdouble height
FIXME:
gdouble e_cell_print_height (ECellView *ecell_view,,GtkPrintContext *context,gint model_col,gint view_col,gint row);gdouble width
gint e_cell_max_width (ECellView *ecell_view,,gint model_col);gint view_col
gint e_cell_max_width_by_row (ECellView *ecell_view,,gint model_col,gint view_col);gint row
gboolean e_cell_max_width_by_row_implemented (ECellView *ecell_view);
void e_cell_focus (ECellView *ecell_view,,gint model_col,gint view_col,gint row,gint x1,gint y1,gint x2);gint y2
gint e_cell_height (ECellView *ecell_view,,gint model_col,gint view_col);gint row
gpointer e_cell_enter_edit (ECellView *ecell_view,,gint model_col,gint view_col);gint row
Notifies the ECellView that it is about to enter editing mode for
model_col
, row
rendered at view_col
, row
.
void e_cell_leave_edit (ECellView *ecell_view,,gint model_col,gint view_col,gint row);gpointer edit_context
Notifies the ECellView that editing is finished at model_col
, row
rendered at view_col
, row
.
gpointer e_cell_save_state (ECellView *ecell_view,,gint model_col,gint view_col,gint row);gpointer edit_context
void e_cell_load_state (ECellView *ecell_view,,gint model_col,gint view_col,gint row,gpointer edit_context);gpointer save_state
Requests that the ECellView load from the given save state.
void e_cell_free_state (ECellView *ecell_view,,gint model_col,gint view_col,gint row);gpointer save_state
Requests that the ECellView free the given save state.