XmtLayoutSeparator - an XmtLayout gadget that draws a line.
- Include File:
- #include <Xmt/LayoutG.h>
- Constructor:
- XmtCreateLayoutSeparator()
- Class Name:
- XmtLayoutSeparator
- Class Pointer:
- xmtLayoutSeparatorGadgetClass
- Class Hierarchy:
- RectObj → XmtLayoutGadget → XmtLayoutSeparator
The XmtLayoutSeparator is a gadget that draws an etched line or ``separator''
horizontally or vertically in an XmtLayout widget. Because it is specially
implemented to work with the Layout widget, it is significantly cheaper than
using an XmLabel or XmLabelGadget for this purpose.
RESOURCES
The LayoutSeparator inherits the resources of the RectObj and
XmtLayoutGadget classes, and defines the following single new resource:
Name |
Type |
Class |
Access |
Default |
XmtNorientation |
XmROrientation |
XmCOrientation |
CG |
XmHORIZONTAL |
- XmtNorientation
- The orientation of the separator. XmHORIZONTAL draws a horizontal
line, and XmVERTICAL draws a vertical line. Note that the value of
this resource cannot be changed once the gadget has been created.
Chapter 19, The Layout Widget: The Details,
XmtCreateLayoutSeparator(), XmtLayout, XmtLayoutBox,
XmtLayoutPixmap, XmtLayoutSpace, XmtLayoutString.