|  |  |  | Evolution Utilities Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | Signals | ||||
struct ETableItem; void e_table_item_set_cursor (ETableItem *eti,gint col,gint row); gint e_table_item_get_focused_column (ETableItem *eti); void e_table_item_leave_edit (ETableItem *eti); void e_table_item_enter_edit (ETableItem *eti,gint col,gint row); void e_table_item_redraw_range (ETableItem *eti,gint start_col,gint start_row,gint end_col,gint end_row); EPrintable * e_table_item_get_printable (ETableItem *eti); void e_table_item_compute_location (ETableItem *eti,gint *x,gint *y,gint *row,gint *col); void e_table_item_compute_mouse_over (ETableItem *eti,gint x,gint y,gint *row,gint *col); void e_table_item_get_cell_geometry (ETableItem *eti,gint *row,gint *col,gint *x,gint *y,gint *width,gint *height); gint e_table_item_row_diff (ETableItem *eti,gint start_row,gint end_row); gboolean e_table_item_is_editing (ETableItem *eti); void e_table_item_cursor_scrolled (ETableItem *eti);
"ETableHeader" ETableHeader* : Write "ETableModel" ETableModel* : Write "alternating-row-colors" gboolean : Write "cursor-mode" gint : Write "cursor-row" gint : Read / Write "drawfocus" gboolean : Write "height" gdouble : Read "horizontal-draw-grid" gboolean : Write "is-editing" gboolean : Read "length-threshold" gint : Write "minimum-width" gdouble : Read / Write "selection-model" ESelectionModel* : Write "uniform-row-height" gboolean : Read / Write "vertical-draw-grid" gboolean : Write "width" gdouble : Read / Write
"click" :Run Last"cursor-activated" :Run Last"cursor-change" :Run Last"double-click" :Run Last"key-press" :Run Last"right-click" :Run Last"selection-model-added" :Action"selection-model-removed" :Action"start-drag" :Run Last"style-updated" :Run Last
void e_table_item_set_cursor (ETableItem *eti,gint col,gint row);
This routine sets the cursor of the ETableItem canvas item.
| 
 | ETableItemwhich will have the cursor set. | 
| 
 | Column to select. -1 means the last column. | 
| 
 | Row to select. -1 means the last row. | 
gint                e_table_item_get_focused_column     (ETableItem *eti);
This routine gets the cursor of the ETableItem canvas item.
| 
 | ETableItemwhich will have the cursor retrieved. | 
| Returns : | The current cursor column. | 
void e_table_item_enter_edit (ETableItem *eti,gint col,gint row);
This routine starts the given ETableItem editing at the given view
column and row.
| 
 | ETableItemwhich will start being edited | 
| 
 | The view col to edit. | 
| 
 | The view row to edit. | 
void e_table_item_redraw_range (ETableItem *eti,gint start_col,gint start_row,gint end_col,gint end_row);
This routine redraws the given ETableItem in the range given.  The
range is inclusive at both ends.
| 
 | ETableItemwhich will be redrawn | 
| 
 | The first col to redraw. | 
| 
 | The first row to redraw. | 
| 
 | The last col to redraw. | 
| 
 | The last row to redraw. | 
EPrintable *        e_table_item_get_printable          (ETableItem *eti);
This routine creates and returns an EPrintable that can be used to
print the given ETableItem.
| 
 | ETableItemwhich will be printed | 
| Returns : | The EPrintable. | 
void e_table_item_compute_location (ETableItem *eti,gint *x,gint *y,gint *row,gint *col);
This routine locates the pixel location (*x, *y) in the
ETableItem.  If that location is in the ETableItem, *row and *col
are set to the view row and column where it was found.  If that
location is not in the ETableItem, the height of the ETableItem
is removed from the value y points to.
| 
 | ETableItemto look in. | 
| 
 | A pointer to the x location to find in the ETableItem. | 
| 
 | A pointer to the y location to find in the ETableItem. | 
| 
 | A pointer to the location to store the found row in. | 
| 
 | A pointer to the location to store the found col in. | 
void e_table_item_compute_mouse_over (ETableItem *eti,gint x,gint y,gint *row,gint *col);
void e_table_item_get_cell_geometry (ETableItem *eti,gint *row,gint *col,gint *x,gint *y,gint *width,gint *height);
gint e_table_item_row_diff (ETableItem *eti,gint start_row,gint end_row);
gboolean            e_table_item_is_editing             (ETableItem *eti);
| 
 | an ETableItem | 
| Returns : | Whether the table item is currently editing cell content. | 
void                e_table_item_cursor_scrolled        (ETableItem *eti);
Does necessary recalculations after cursor scrolled, like whether the cursor is on screen or not anymore.
| 
 | an ETableItem | 
"alternating-row-colors" property"alternating-row-colors" gboolean : Write
Alternating Row Colors.
Default value: FALSE
"cursor-mode" property"cursor-mode" gint : Write
Cursor mode.
Allowed values: [0,2]
Default value: 0
"cursor-row" property"cursor-row" gint : Read / Write
Cursor row.
Allowed values: >= 0
Default value: 0
"horizontal-draw-grid" property"horizontal-draw-grid" gboolean : Write
Horizontal Draw Grid.
Default value: FALSE
"is-editing" property"is-editing" gboolean : Read
Whether is in an editing mode.
Default value: FALSE
"length-threshold" property"length-threshold" gint : Write
Length Threshold.
Allowed values: >= -1
Default value: 0
"minimum-width" property"minimum-width" gdouble : Read / Write
Minimum Width.
Allowed values: >= 0
Default value: 0
"uniform-row-height" property"uniform-row-height" gboolean : Read / Write
Uniform row height.
Default value: FALSE
"vertical-draw-grid" property"vertical-draw-grid" gboolean : Write
Vertical Draw Grid.
Default value: FALSE
"click" signalgboolean            user_function                      (ETableItem *etableitem,
                                                        gint        arg1,
                                                        gint        arg2,
                                                        GdkEvent   *arg3,
                                                        gpointer    user_data)       : Run Last
"cursor-activated" signalvoid                user_function                      (ETableItem *etableitem,
                                                        gint        arg1,
                                                        gpointer    user_data)       : Run Last
"cursor-change" signalvoid                user_function                      (ETableItem *etableitem,
                                                        gint        arg1,
                                                        gpointer    user_data)       : Run Last
"double-click" signalvoid                user_function                      (ETableItem *etableitem,
                                                        gint        arg1,
                                                        gint        arg2,
                                                        GdkEvent   *arg3,
                                                        gpointer    user_data)       : Run Last
"key-press" signalgboolean            user_function                      (ETableItem *etableitem,
                                                        gint        arg1,
                                                        gint        arg2,
                                                        GdkEvent   *arg3,
                                                        gpointer    user_data)       : Run Last
"right-click" signalgboolean            user_function                      (ETableItem *etableitem,
                                                        gint        arg1,
                                                        gint        arg2,
                                                        GdkEvent   *arg3,
                                                        gpointer    user_data)       : Run Last
"selection-model-added" signalvoid                user_function                      (ETableItem *etableitem,
                                                        gpointer    arg1,
                                                        gpointer    user_data)       : Action
"selection-model-removed" signalvoid                user_function                      (ETableItem *etableitem,
                                                        gpointer    arg1,
                                                        gpointer    user_data)       : Action
"start-drag" signalgboolean            user_function                      (ETableItem *etableitem,
                                                        gint        arg1,
                                                        gint        arg2,
                                                        GdkEvent   *arg3,
                                                        gpointer    user_data)       : Run Last
"style-updated" signalvoid                user_function                      (ETableItem *etableitem,
                                                        gpointer    user_data)       : Run Last