Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

<table-column>

Sealed class

Summary

The class of columns in table controls.

Superclasses

<object> 

Init-keywords

heading:
An instance of type <string>.

width:
An instance of type <integer>. Default value: 100.

alignment:
An instance of type one-of(#"left", #"right", #"center"). Default value: #"left".

generator:
An instance of type <function>.

callback:
An instance of type false-or(<function>). Default value: #f.

Library

duim-gadgets

Module

duim-gadgets

Description

The class of columns in table controls.

The width: init-keyword lets you specify the width of the column. The alignment: init-keyword is used to specify how the column should be aligned in the table.

To populate the table column, the function specified by generator: is invoked. This function is called for each item in the table control, and the value returned is placed at the appropriate place in the column.

In addition, you can also specify a callback that can be used for sorting the items in the table column, using the callback: init-keyword.

Operations

None.

Example

See also

<table-control>, page 666


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index