aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/test-table.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1999-12-13 12:39:18 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-12-13 12:39:18 +0800
commitdf80388fd94f635a0fecb08314eafd5e25131800 (patch)
tree40dd55a1c27190d9180960a1e9fcffc05dab7205 /widgets/test-table.c
parent8846da8e48cacd7ab792bdcbec8eef19a9c19736 (diff)
downloadgsoc2013-evolution-df80388fd94f635a0fecb08314eafd5e25131800.tar
gsoc2013-evolution-df80388fd94f635a0fecb08314eafd5e25131800.tar.gz
gsoc2013-evolution-df80388fd94f635a0fecb08314eafd5e25131800.tar.bz2
gsoc2013-evolution-df80388fd94f635a0fecb08314eafd5e25131800.tar.lz
gsoc2013-evolution-df80388fd94f635a0fecb08314eafd5e25131800.tar.xz
gsoc2013-evolution-df80388fd94f635a0fecb08314eafd5e25131800.tar.zst
gsoc2013-evolution-df80388fd94f635a0fecb08314eafd5e25131800.zip
Works with GnomeCanvasGroups -miguel
svn path=/trunk/; revision=1484
Diffstat (limited to 'widgets/test-table.c')
-rw-r--r--widgets/test-table.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/widgets/test-table.c b/widgets/test-table.c
index 83a130d72a..8bf22f980d 100644
--- a/widgets/test-table.c
+++ b/widgets/test-table.c
@@ -186,6 +186,7 @@ table_browser_test (void)
ETableModel *e_table_model;
ETableHeader *e_table_header;
ECell *cell_left_just;
+ GnomeCanvasItem *group;
int i;
load_data ();
@@ -231,13 +232,20 @@ table_browser_test (void)
"y", 0,
NULL);
- gnome_canvas_item_new (
+ group = gnome_canvas_item_new (
gnome_canvas_root (GNOME_CANVAS (canvas)),
+ gnome_canvas_group_get_type (),
+ "x", 30.0,
+ "y", 30.0,
+ NULL);
+
+ gnome_canvas_item_new (
+ GNOME_CANVAS_GROUP (group),
e_table_item_get_type (),
"ETableHeader", e_table_header,
"ETableModel", e_table_model,
- "x", 10,
- "y", 30,
+ "x", 0,
+ "y", 0,
"drawgrid", TRUE,
"drawfocus", TRUE,
"spreadsheet", TRUE,