diff options
author | Miguel de Icaza <miguel@gnu.org> | 1999-11-29 06:26:39 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-11-29 06:26:39 +0800 |
commit | 1a0d4df95730ab26981b3f26aa365aae84da36f5 (patch) | |
tree | 887f57713f7baefffc4022b66b20c67160b4be80 /widgets/table/table-test.c | |
parent | 8d75b6689bdf5dc7c1efad65867cba2a656f2dcc (diff) | |
download | gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.tar gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.tar.gz gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.tar.bz2 gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.tar.lz gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.tar.xz gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.tar.zst gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.zip |
New methods; They implement editing.
1999-11-28 Miguel de Icaza <miguel@gnu.org>
* e-cell-text.c (ect_enter_edit, ect_leave_edit): New methods;
They implement editing.
* e-cell.h: new methods: enter_edit, leave_edit
* e-table-model.h (set_value_at): make val argument const.
* e-table-simple.c (simple_set_value_at): Make value argument const;
* e-table-item.c (eti_set_arg): Add new mode: draw_focus;
svn path=/trunk/; revision=1442
Diffstat (limited to 'widgets/table/table-test.c')
-rw-r--r-- | widgets/table/table-test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/table-test.c b/widgets/table/table-test.c index 3517ecf692..f677e9e2d1 100644 --- a/widgets/table/table-test.c +++ b/widgets/table/table-test.c @@ -151,7 +151,7 @@ value_at (ETableModel *etc, int col, int row, void *data) } static void -set_value_at (ETableModel *etc, int col, int row, void *val, void *data) +set_value_at (ETableModel *etc, int col, int row, const void *val, void *data) { g_assert (col < cols); g_assert (row < lines); @@ -236,6 +236,7 @@ main (int argc, char *argv []) "x", 10, "y", 30, "drawgrid", TRUE, + "drawfocus", TRUE, NULL); gtk_main (); |