Next Previous Up Top Contents Index

5.3 DUIM-Sheets Module

text-style-mapping-exists?

Generic function

Summary

Returns true if a mapping exists for the specified text style on the specified port.

Signature

text-style-mapping-exists? port text-style #key character-set exact-size? => boolean

Arguments

port
An instance of type <port>.

text-style
An instance of type <text-style>.

character-set
An instance of type <object>.

exact-size?
An instance of type <boolean>. Default value: #f.

Values

boolean
An instance of type <boolean>.

Library

duim-sheets

Module

duim-sheets

Description

Returns true if a mapping exists for text-style on port. This control function is useful if, for example, you are setting up text style mappings for a range of text styles in one go, or for a range of different ports. Using this function, you can test for the existence of a previous mapping before creating a new one, thereby ensuring that existing mappings are not overwritten.

See also

text-style-mapping, page 368

text-style-mapping-setter, page 370

<undefined-text-style-mapping>, page 372


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index