aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/test-table.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-01 05:07:06 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-01 05:07:06 +0800
commit832150b0dda320f18f1aedf2da23d0b087cde748 (patch)
treea81426b3f8f314cdd91eb152072ab5d53f9e3c2b /widgets/table/test-table.c
parent2f6721bf5bd7d5c853279db40b1fb15ded4745a2 (diff)
downloadgsoc2013-evolution-832150b0dda320f18f1aedf2da23d0b087cde748.tar
gsoc2013-evolution-832150b0dda320f18f1aedf2da23d0b087cde748.tar.gz
gsoc2013-evolution-832150b0dda320f18f1aedf2da23d0b087cde748.tar.bz2
gsoc2013-evolution-832150b0dda320f18f1aedf2da23d0b087cde748.tar.lz
gsoc2013-evolution-832150b0dda320f18f1aedf2da23d0b087cde748.tar.xz
gsoc2013-evolution-832150b0dda320f18f1aedf2da23d0b087cde748.tar.zst
gsoc2013-evolution-832150b0dda320f18f1aedf2da23d0b087cde748.zip
Test frozen columns
2000-02-29 Christopher James Lahey <clahey@helixcode.com> * test-table.c: Test frozen columns * e-table.c: Make frozen columns available through the xml file. * e-table-header.c, e-table-header.h, e-table-header-item.c: Added frozen columns API to let you specify some number of leading columns as undraggable. * Makefile.am: Add e-table-example-1.c and e-table-example-2.c. * e-table-example-1.c, e-table-example-2.c: New files. A couple of examples of ETable use. svn path=/trunk/; revision=1993
Diffstat (limited to 'widgets/table/test-table.c')
-rw-r--r--widgets/table/test-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/test-table.c b/widgets/table/test-table.c
index 0fdf32fcbe..401cacb285 100644
--- a/widgets/table/test-table.c
+++ b/widgets/table/test-table.c
@@ -323,7 +323,7 @@ e_table_test (void)
load_data ();
if (1){/*getenv ("DO")){*/
- do_e_table_demo ("<ETableSpecification> <columns-shown> <column> 0 </column> <column> 1 </column> <column> 2 </column> <column> 3 </column> <column> 4 </column> </columns-shown> <grouping> <leaf column=\"3\" ascending=\"1\"/> </grouping> </ETableSpecification>");
+ do_e_table_demo ("<ETableSpecification> <columns-shown frozen_columns=\"2\"> <column> 0 </column> <column> 1 </column> <column> 2 </column> <column> 3 </column> <column> 4 </column> </columns-shown> <grouping> <leaf column=\"3\" ascending=\"1\"/> </grouping> </ETableSpecification>");
do_e_table_demo ("<ETableSpecification> <columns-shown> <column> 0 </column> <column> 0 </column> <column> 1 </column> <column> 2 </column> <column> 3 </column> <column> 4 </column> </columns-shown> <grouping> <group column=\"3\" ascending=\"1\"> <group column=\"4\" ascending=\"0\"> <leaf column=\"2\" ascending=\"1\"/> </group> </group> </grouping> </ETableSpecification>");
}
do_e_table_demo ("<ETableSpecification> <columns-shown> <column> 0 </column> <column> 1 </column> <column> 2 </column> <column> 3 </column> <column> 4 </column> </columns-shown> <grouping> <group column=\"4\" ascending=\"1\"> <leaf column=\"2\" ascending=\"1\"/> </group> </grouping> </ETableSpecification>");