Author(s): Isabel Martín García.
Version: 1.11#222 (2004/5/24, 13:8:7 CEST)
Version of last change: 1.9#167 (2003/12/4, 17:39:48 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 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.
table_widget2
)table_widget2
)
tablewidget2(Title, Header, ElementTable, Footer)
Shows a regular table in a window. The system sets a default background image for the widget.
Example:
tablewidget2('COM Features', 'Extracted from "Inside COM" book ', [['Feature','Rich people','Bean Plants','C++','COM'], ['Edible','Yes','Yes','No','No'], ['Supports inheritance','Yes','Yes','Yes','Yes and No'], ['Can run for President','Yes','No','No','No']], 'What do you think about COM?').
Usage:
Title
is a text (an atom) to be used as label, usually not very long.
(genbar1:title/1
)
Header
is a text (an atom) describing the header of the graph.
(genbar1:header/1
)
table_widget1:table(ElementTable)
(table_widget1:table/1
)
Footer
is a text (an atom) describing the footer of the graph.
(genbar1:footer/1
)
tablewidget2(Title, Header, ElementTable, Footer, BackgroundImage)
This predicate and
tablewidget2/4
are quite similar, except that in the already one defined you must set the background image.
Example:
tablewidget2('COM Features', 'Extracted from "Inside COM" book ', [['Feature','Rich people','Bean Plants','C++','COM'], ['Edible','Yes','Yes','No','No'], ['Supports inheritance','Yes','Yes','Yes','Yes and No'], ['Can run for President','Yes','No','No','No']], 'What do you think about COM?', './images/rain.gif').
Usage:
Title
is a text (an atom) to be used as label, usually not very long.
(genbar1:title/1
)
Header
is a text (an atom) describing the header of the graph.
(genbar1:header/1
)
table_widget1:table(ElementTable)
(table_widget1:table/1
)
Footer
is a text (an atom) describing the footer of the graph.
(genbar1:footer/1
)
table_widget1:image(BackgroundImage)
(table_widget1:image/1
)
Go to the first, previous, next, last section, table of contents.