"Fossies" - the Fresh Open Source Software Archive

Member "SAOImageDS9/tk8.6/doc/ttk_label.n" (13 Nov 2019, 2604 Bytes) of package /linux/misc/ds9.8.1.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

ttk::label

NAME
SYNOPSIS
DESCRIPTION
WIDGET-SPECIFIC OPTIONS
WIDGET COMMAND
STYLING OPTIONS
SEE ALSO

NAME

ttk::label − Display a text string and/or image

SYNOPSIS

ttk::label pathName ?options?

DESCRIPTION

A ttk::label widget displays a textual label and/or image. The label may be linked to a Tcl variable to automatically change the displayed text. −class

−compound

−cursor −image

−padding

−state

−style

−takefocus −text

−textvariable

−underline −width

WIDGET-SPECIFIC OPTIONS

[−anchor anchor] Specifies how the information in the widget is positioned relative to the inner margins. Legal values are n, ne, e, se, s, sw, w, nw, and center. See also −justify. [−background frameColor] The widget’s background color. If unspecified, the theme default is used. [−font font] Font to use for label text. [−foreground textColor] The widget’s foreground color. If unspecified, the theme default is used. [−justify justify] If there are multiple lines of text, specifies how the lines are laid out relative to one another. One of left, center, or right. See also −anchor. [−relief relief] Specifies the 3-D effect desired for the widget border. Valid values are flat, groove, raised, ridge, solid, and sunken. [−wraplength wrapLength] Specifies the maximum line length (in pixels). If this option is less than or equal to zero, then automatic wrapping is not performed; otherwise the text is split into lines such that no line is longer than the specified value.

WIDGET COMMAND

Supports the standard widget commands configure, cget, identify, instate, and state; see ttk::widget(n).

STYLING OPTIONS

The class name for a ttk::label is TLabel.

Dynamic states: disabled, readonly.

TLabel styling options configurable with ttk::style are:

−background color
−foreground
color
−font
font

Some options are only available for specific themes.

See the ttk::style manual page for information on how to configure ttk styles.

SEE ALSO

ttk::widget(n), label(n)