Go to the first, previous, next, last section, table of contents.


table_widget4 (library)

Author(s): Isabel Martín.

Version: 1.10#7 (2006/4/26, 19:22:13 CEST)

Version of last change: 1.9#169 (2003/12/4, 17:39:54 CET)

In addition to the features explained in the introduction, predicates exported by this module display tables in which the font weight for the elements placed in the first row and column is bold. The remaining elements are in medium weight font.

If the arguments are not in a correct format the exception error8 will be thrown.

Usage and interface (table_widget4)

Documentation on exports (table_widget4)

PREDICATE: tablewidget4/4:

tablewidget4(Title, Header, ElementTable, Footer)

Shows a regular table in a window. The system sets a default background image for the widget.

Example:

tablewidget4('Some sterEUtypes',
  'Source: Eurostat yearbook, 1999',
  [['Country','Adult alcohol intake per year (litres)',
       'Cigarettes smoked per day per adult',
             'Suicides per 100000 people'],
      ['Finland','8.4','2.2','26.3'],['Spain','11.4','5.3','7.5'],
      ['Austria','11.9','4.6','20.7'],['Britain','9.4','4.2','7.1'],
      ['USA','4.7','4.9','13'],['European Union','11.1','4.5','11.9']],
  'This is part of the published table').

PREDICATE: tablewidget4/5:

tablewidget4(Title, Header, ElementTable, Footer, BackgroundImage)

This predicate and tablewidget4/4 are comparable, except that in the already defined you must set the background image.

Example:

tablewidget4('Some sterEUtypes',
  'Source: Eurostat yearbook, 1999',
  [['Country','Adult alcohol intake per year (litres)',
       'Cigarettes smoked per day per adult',
           'Suicides per 100000 people'],
      ['Finland','8.4','2.2','26.3'],['Spain','11.4','5.3','7.5'],
      ['Austria','11.9','4.6','20.7'],['Britain','9.4','4.2','7.1'],
      ['USA','4.7','4.9','13'],['European Union','11.1','4.5','11.9']],
  'This is part of the published table',
  './images/rain.gif').


Go to the first, previous, next, last section, table of contents.