Next Previous Up Top Contents Index

5.3 DUIM-Sheets Module

with-text-style

Statement macro

Summary

Runs a body of code in the context of a text style.

Macro call

with-text-style ({medium} #rest {style-initargs}*) {body} end

Arguments

medium
A Dylan expressionbnf.

style-initargs
Dylan argumentsbnf.

body
A Dylan bodybnf.

Values

None.

Library

duim-sheets

Module

duim-sheets

Description

Executes body using the text style characteristics specified by style-initargs, and applies the results to medium.

The medium specified should be an instance of type <medium>. The style-initargs can be any valid arguments that specify an instance of <text-style>.

Methods for do-with-text-style are invoked to run the code.

See also

do-with-text-style, page 260


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index