Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

tab-control-labels

Generic function

Summary

Returns the tab labels of the specified pane.

Signature

tab-control-labels tab-control => labels

Arguments

tab-control
An instance of type <tab-control>.

Values

labels
An instance of type limited(<sequence>, of: <label>.

Library

duim-gadgets

Module

duim-gadgets

Description

Returns the tab labels of tab-control, as a sequence. Each element in labels is an instance of <label>.

Example

Given the tab control created by the code below:

*tab* := contain
           (make
             (<tab-control>, 
              pages: 
               vector(make(<tab-control-page>,
                           label: "First"),
                      make(<tab-control-page>, 
                           label: "Second"),
                      make(<tab-control-page>, 
                           label: "Third"),
                      make(<tab-control-page>, 
                           label: "Fourth"),
                      make(<tab-control-page>, 
                           label: "Fifth"))));

You can return a list of the labels as follows:

tab-control-labels(*tab*);

See also

<tab-control>, page 656

tab-control-pages, page 663


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index