Top | ![]() |
![]() |
![]() |
![]() |
void | e_table_item_set_cursor () |
gint | e_table_item_get_focused_column () |
void | e_table_item_leave_edit () |
void | e_table_item_enter_edit () |
void | e_table_item_redraw_range () |
EPrintable * | e_table_item_get_printable () |
void | e_table_item_compute_location () |
void | e_table_item_compute_mouse_over () |
void | e_table_item_get_cell_geometry () |
gint | e_table_item_row_diff () |
gboolean | e_table_item_is_editing () |
void | e_table_item_cursor_scrolled () |
void | e_table_item_cancel_scroll_to_cursor () |
gboolean | e_table_item_get_row_selected () |
void | e_table_item_freeze () |
void | e_table_item_thaw () |
ETableHeader * | ETableHeader | Write |
ETableModel * | ETableModel | Write |
gboolean | alternating-row-colors | Write |
int | cursor-mode | Write |
int | cursor-row | Read / Write |
gboolean | drawfocus | Write |
double | height | Read |
gboolean | horizontal-draw-grid | Write |
gboolean | is-editing | Read |
int | length-threshold | Write |
double | minimum-width | Read / Write |
ESelectionModel * | selection-model | Write |
gboolean | uniform-row-height | Read / Write |
gboolean | vertical-draw-grid | Write |
double | width | Read / Write |
gboolean | click | Run Last |
void | cursor-activated | Run Last |
void | cursor-change | Run Last |
void | double-click | Run Last |
gboolean | get-bg-color | Run Last |
gboolean | key-press | Run Last |
gboolean | right-click | Run Last |
void | selection-model-added | Action |
void | selection-model-removed | Action |
gboolean | start-drag | Run Last |
void | 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.
eti |
|
|
col |
Column to select. -1 means the last column. |
|
row |
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.
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.
eti |
|
|
col |
The view col to edit. |
|
row |
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.
eti |
|
|
start_col |
The first col to redraw. |
|
start_row |
The first row to redraw. |
|
end_col |
The last col to redraw. |
|
end_row |
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
.
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.
eti |
|
|
x |
A pointer to the x location to find in the |
|
y |
A pointer to the y location to find in the |
|
row |
A pointer to the location to store the found row in. |
|
col |
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
);
void
e_table_item_cursor_scrolled (ETableItem *eti
);
Does necessary recalculations after cursor scrolled, like whether the cursor is on screen or not anymore.
void
e_table_item_cancel_scroll_to_cursor (ETableItem *eti
);
gboolean e_table_item_get_row_selected (ETableItem *eti
,gint row
);
“ETableHeader”
property“ETableHeader” ETableHeader *
Table header.
Owner: ETableItem
Flags: Write
“alternating-row-colors”
property “alternating-row-colors” gboolean
Alternating Row Colors.
Owner: ETableItem
Flags: Write
Default value: FALSE
“cursor-mode”
property “cursor-mode” int
Cursor mode.
Owner: ETableItem
Flags: Write
Allowed values: [0,2]
Default value: 0
“cursor-row”
property “cursor-row” int
Cursor row.
Owner: ETableItem
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“drawfocus”
property “drawfocus” gboolean
Draw focus.
Owner: ETableItem
Flags: Write
Default value: FALSE
“height”
property “height” double
Height.
Owner: ETableItem
Flags: Read
Allowed values: >= 0
Default value: 0
“horizontal-draw-grid”
property “horizontal-draw-grid” gboolean
Horizontal Draw Grid.
Owner: ETableItem
Flags: Write
Default value: FALSE
“is-editing”
property “is-editing” gboolean
Whether is in an editing mode.
Owner: ETableItem
Flags: Read
Default value: FALSE
“length-threshold”
property “length-threshold” int
Length Threshold.
Owner: ETableItem
Flags: Write
Allowed values: >= -1
Default value: 0
“minimum-width”
property “minimum-width” double
Minimum Width.
Owner: ETableItem
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“selection-model”
property“selection-model” ESelectionModel *
Selection model.
Owner: ETableItem
Flags: Write
“uniform-row-height”
property “uniform-row-height” gboolean
Uniform row height.
Owner: ETableItem
Flags: Read / Write
Default value: FALSE
“vertical-draw-grid”
property “vertical-draw-grid” gboolean
Vertical Draw Grid.
Owner: ETableItem
Flags: Write
Default value: FALSE
“click”
signalgboolean user_function (ETableItem *etableitem, int arg1, int arg2, GdkEvent *arg3, gpointer user_data)
Flags: Run Last
“cursor-activated”
signalvoid user_function (ETableItem *etableitem, int arg1, gpointer user_data)
Flags: Run Last
“cursor-change”
signalvoid user_function (ETableItem *etableitem, int arg1, gpointer user_data)
Flags: Run Last
“double-click”
signalvoid user_function (ETableItem *etableitem, int arg1, int arg2, GdkEvent *arg3, gpointer user_data)
Flags: Run Last
“get-bg-color”
signalgboolean user_function (ETableItem *etableitem, int arg1, int arg2, gpointer arg3, gpointer user_data)
Flags: Run Last
“key-press”
signalgboolean user_function (ETableItem *etableitem, int arg1, int arg2, GdkEvent *arg3, gpointer user_data)
Flags: Run Last
“right-click”
signalgboolean user_function (ETableItem *etableitem, int arg1, int arg2, GdkEvent *arg3, gpointer user_data)
Flags: Run Last
“selection-model-added”
signalvoid user_function (ETableItem *etableitem, gpointer arg1, gpointer user_data)
Flags: Action
“selection-model-removed”
signalvoid user_function (ETableItem *etableitem, gpointer arg1, gpointer user_data)
Flags: Action
“start-drag”
signalgboolean user_function (ETableItem *etableitem, int arg1, int arg2, GdkEvent *arg3, gpointer user_data)
Flags: Run Last
“style-updated”
signalvoid user_function (ETableItem *etableitem, gpointer user_data)
Flags: Run Last