Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmdirection(3) [hpux man page]

XmDirection(library call)												 XmDirection(library call)

NAME
XmDirection -- Data type for the direction of widget components SYNOPSIS
#include <Xm/Xm.h> DESCRIPTION
XmDirection is the data type specifying the direction in which the system displays subwidgets, children of widgets, or other visual compo- nents that are to be laid out. This data type also affects traversal order within tab groups. XmDirection is implemented as an unsigned char bit mask. The horizontal and vertical directions can be specified independent of each other. XmDirection also specifies the precedence of the horizontal and vertical directions relative to each other. For example, a value of XmRIGHT_TO_LEFT_TOP_TO_BOTTOM lays out a component horizontally from right to left first, then vertically top to bottom. XmDirection provides the following masks, each of which corresponds to a particular bit in XmDirection: o XmRIGHT_TO_LEFT_MASK o XmLEFT_TO_RIGHT_MASK o XmTOP_TO_BOTTOM_MASK o XmBOTTOM_TO_TOP_MASK o XmPRECEDENCE_HORIZ_MASK o XmPRECEDENCE_VERT_MASK In addition to the preceding single bit masks, XmDirection also provides the following multiple bit masks. These multiple bit masks are particularly useful as arguments to XmDirectionMatchPartial: o XmHORIZONTAL_MASK o XmPRECEDENCE_MASK o XmVERTICAL_MASK Motif also provides the following enumerated constants for specifying various combinations of directions: XmRIGHT_TO_LEFT_TOP_TO_BOTTOM Specifies that the components are laid out from right to left first, then top to bottom. XmLEFT_TO_RIGHT_TOP_TO_BOTTOM Specifies that the components are laid out from left to right first, then top to bottom. XmRIGHT_TO_LEFT_BOTTOM_TO_TOP Specifies that the components are laid out from right to left first, then bottom to top. XmLEFT_TO_RIGHT_BOTTOM_TO_TOP Specifies that the components are laid out from left to right first, then bottom to top. XmTOP_TO_BOTTOM_RIGHT_TO_LEFT Specifies that the components are laid out from top to bottom first, then right to left. XmTOP_TO_BOTTOM_LEFT_TO_RIGHT Specifies that the components are laid out from top to bottom first, then left to right. XmBOTTOM_TO_TOP_RIGHT_TO_LEFT Specifies that the components are laid out from bottom to top first, then right to left. XmBOTTOM_TO_TOP_LEFT_TO_RIGHT Specifies that the components are laid out from bottom to top first, then left to right. XmTOP_TO_BOTTOM Specifies that the components are laid out from top to bottom. If horizontal direction is important, do not use this constant. XmBOTTOM_TO_TOP Specifies that the components are laid out from bottom to top. If horizontal direction is important, do not use this constant. XmDEFAULT_DIRECTION Specifies that the components are laid out according to the default direction. (This constant is primarily for widget writers.) XmLEFT_TO_RIGHT Specifies that the components are laid out from left to right. If vertical direction is important, do not use this constant. XmRIGHT_TO_LEFT Specifies that the components are laid out from right to left. If vertical direction is important, do not use this constant. RELATED
XmDirectionMatch(3), XmDirectionMatchPartial(3), XmDirectionToStringDirection(3), XmString(3), XmStringDirection(3), and XmStringDirection- ToDirection(3). XmDirection(library call)

Check Out this Related Man Page

ttk::label(n)							 Tk Themed Widget						     ttk::label(n)

__________________________________________________________________________________________________________________________________________________

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. STANDARD OPTIONS
-class -compound -cursor -image -style -takefocus -text -textvariable -underline -width See the ttk_widget manual entry for details on the standard options. 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. [-padding padding] Specifies the amount of extra space to allocate for the widget. The padding is a list of up to four length specifications left top right bottom. If fewer than four elements are specified, bottom defaults to top, right defaults to left, and top defaults to left. [-relief relief] Specifies the 3-D effect desired for the widget border. Valid values are flat, groove, raised, ridge, solid, and sunken. [-text text] Specifies a text string to be displayed inside the widget (unless overridden by -textvariable). [-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 speci- fied value. WIDGET COMMAND
Supports the standard widget commands configure, cget, identify, instate, and state; see ttk::widget(n). SEE ALSO
ttk::widget(n), label(n) Tk 8.5 ttk::label(n)
Man Page