diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1999-12-13 12:39:18 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-12-13 12:39:18 +0800 |
commit | df80388fd94f635a0fecb08314eafd5e25131800 (patch) | |
tree | 40dd55a1c27190d9180960a1e9fcffc05dab7205 /widgets/table/test-table.c | |
parent | 8846da8e48cacd7ab792bdcbec8eef19a9c19736 (diff) | |
download | gsoc2013-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/table/test-table.c')
-rw-r--r-- | widgets/table/test-table.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/widgets/table/test-table.c b/widgets/table/test-table.c index 83a130d72a..8bf22f980d 100644 --- a/widgets/table/test-table.c +++ b/widgets/table/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, |