aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-text.h
diff options
context:
space:
mode:
authorTim Wo <tim.wo@sun.com>2003-12-02 15:20:04 +0800
committerGilbert Fang <gilbertfang@src.gnome.org>2003-12-02 15:20:04 +0800
commitaddb2f0ea7693e78b2a52dc8b3fbabfdcf59e92d (patch)
tree449bf2c0a768a24fa691aa2c2776b3a3b2c7bb96 /widgets/table/e-cell-text.h
parent3e2e35b2a2fda14262d3fb50b0442441e0fcada0 (diff)
downloadgsoc2013-evolution-addb2f0ea7693e78b2a52dc8b3fbabfdcf59e92d.tar
gsoc2013-evolution-addb2f0ea7693e78b2a52dc8b3fbabfdcf59e92d.tar.gz
gsoc2013-evolution-addb2f0ea7693e78b2a52dc8b3fbabfdcf59e92d.tar.bz2
gsoc2013-evolution-addb2f0ea7693e78b2a52dc8b3fbabfdcf59e92d.tar.lz
gsoc2013-evolution-addb2f0ea7693e78b2a52dc8b3fbabfdcf59e92d.tar.xz
gsoc2013-evolution-addb2f0ea7693e78b2a52dc8b3fbabfdcf59e92d.tar.zst
gsoc2013-evolution-addb2f0ea7693e78b2a52dc8b3fbabfdcf59e92d.zip
a11y implementations for ECellText. new functions to support corresponding
2003-12-02 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_text), (ect_get_character_at_offset), (ect_get_caret_offset), (ect_get_character_count), (ect_get_n_selections), (ect_get_selection), (ect_add_selection), (ect_remove_selection), (ect_set_selection), (ect_set_caret_offset), (ect_set_text_contents), (ect_insert_text), (ect_copy_text), (ect_delete_text), (ect_cut_text), (ect_paste_text), (ect_class_init): a11y implementations for ECellText. * gal/e-table/e-cell-text.c: (e_cell_text_set_selection), (e_cell_text_get_selection), (e_cell_text_copy_clipboard), (e_cell_text_paste_clipboard), (e_cell_text_delete_selection): new functions to support corresponding atk operations. * gal/e-table/e-cell-text.h: some APIs added to support atk operations. svn path=/trunk/; revision=23568
Diffstat (limited to 'widgets/table/e-cell-text.h')
-rw-r--r--widgets/table/e-cell-text.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/widgets/table/e-cell-text.h b/widgets/table/e-cell-text.h
index 6c51f32fd8..5310ffc5f9 100644
--- a/widgets/table/e-cell-text.h
+++ b/widgets/table/e-cell-text.h
@@ -101,6 +101,21 @@ void e_cell_text_free_text (ECellText *cell, char *text);
/* Sets the ETableModel value, based on the given string. */
void e_cell_text_set_value (ECellText *cell, ETableModel *model, int col, int row, const char *text);
+/* Sets the selection of given text cell */
+gboolean e_cell_text_set_selection (ECellView *cell_view, gint col, gint row, gint start, gint end);
+
+/* Gets the selection of given text cell */
+gboolean e_cell_text_get_selection (ECellView *cell_view, gint col, gint row, gint *start, gint *end);
+
+/* Copys the selected text to the clipboard */
+void e_cell_text_copy_clipboard (ECellView *cell_view, gint col, gint row);
+
+/* Pastes the text from the clipboard */
+void e_cell_text_paste_clipboard (ECellView *cell_view, gint col, gint row);
+
+/* Deletes selected text */
+void e_cell_text_delete_selection (ECellView *cell_view, gint col, gint row);
+
G_END_DECLS
#endif /* _E_CELL_TEXT_H_ */