Overview of Item Types

Label Items

Label items are widgets that simply display some text with a background color. They have no behavior. Labels are created with widget commands of the following form:

pathName create label [option value option value ...]

Labels are one of several widgets that are designed to mirror the functionality and usage of the standard widgets in Java's Abstract Windowing Toolkit (AWT). When labels are created, they automatically get the tag "Label".

The following options are supported for labels:

-fill [23] Specifies fill color of label

-font [24] Specifies font to use for text

-pen [45] Specifies pen color of label

-text [56] The text of the label


Pad++ Reference Manual - 20 JUN 1997

Copyright Computer Science Department, The University of New Mexico

Web Accessibility