XbaeCaption(3) | Library Functions Manual | XbaeCaption(3) |
XbaeCaption - The Bellcore Application Environment (BAE) XbaeCaption widget class.
#include <Xbae/Caption.h>
XbaeCaption is a simple manager used to associate a label with its single child. The label may be either an XmString or a Pixmap and can be displayed in any one of twelve positions around the edge of the child. XbaeCaption performs geometry management so that its size always matches its child's size plus the size of the label and label offset. By using XbaeCaption with an XmFrame child, groups of related widgets can be labeled in a visually appealing manner. XbaeCaption is also useful for associating labels with individual XmTextFields.
XbaeCaption inherits behavior and resources from the
Core, Composite, Constraint and XmManager widget
classes.
The class pointer is xbaeCaptionWidgetClass.
The class name is XbaeCaption.
The following table lists the new resources defined by XbaeCaption. The codes in the Access column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G).
XbaeCaption Resource Set | ||||
Name | Class | Type | Default | Access |
XmNfontList | XmCFontList | FontList | dynamic | CSG |
XmNlabelAlignment | XmCLabelAlignment | XbaeLabelAlignment | XbaeAlignmentCenter | CSG |
XmNlabelOffset | XmCLabelOffset | Int | 0 | CSG |
XmNlabelPixmap | XmCLabelPixmap | PrimForegroundPixmap | XmUNSPECIFIED_PIXMAP | CSG |
XmNlabelPosition | XmCLabelPosition | XbaeLabelPosition | XbaePositionLeft | CSG |
XmNlabelString | XmCXmString | XmString | widget name | CSG |
XmNlabelTextAlignment | XmCAlignment | Alignment | XmALIGNMENT_CENTER | CSG |
XmNlabelType | XmCLabelType | LabelType | XmString | CSG |
The following table lists the resources which XbaeCaption inherits from it's superclasses XmManager, Compositeand Core. For a complete description of each resource, refer to the man page for that superclass. The codes in the "Access" column indicate whether the given resource can be set at creation time (C), or set by using XtSetValues (S), or retrieved by using XtGetValues (G).
XmManager Resource Set | ||||
Name | Class | Type | Default | Access |
XmNbottomShadowColor | XmCBottomShadowColor | Pixel | dynamic | CSG |
XmNbottomShadowPixmap | XmCBottomShadowPixmap | Pixmap | XmUNSPECIFIED_PIXMAP | CSG |
XmNforeground | XmCForeground | Pixel | dynamic | CSG |
XmNhelpCallback | XmCCallback | Callback | NULL | CSG |
XmNhighlightColor | XmCHighlightColor | Pixel | dynamic | CSG |
XmNhighlightPixmap | XmCHighlightPixmap | Pixmap | dynamic | CSG |
XmNnavigationType | XmCNavigationType | XmNavigationType | XmTAB_GROUP | CSG |
XmNshadowThickness | XmCShadowThickness | Dimension | 2 | CSG |
XmNstringDirection | XmCStringDirection | XmStringDirection | dynamic | CG |
XmNtopShadowColor | XmCTopShadowColor | Pixel | dynamic | CSG |
XmNtopShadowPixmap | XmCTopShadowPixmap | Pixmap | dynamic | CSG |
XmNtraversalOn | XmCTraversalOn | Boolean | True | CSG |
XmNunitType | XmCUnitType | UnsignedChar | dynamic | CSG |
XmNuserData | XmCUserData | Pointer | NULL | CSG |
Composite Resource Set | ||||
Name | Class | Type | Default | Access |
XmNchildren | XmCReadOnly | WidgetList | private | G |
XmNinsertPosition | XmCInsertPosition | Function | NULL | CSG |
XmNnumChildren | XmCReadOnly | Cardinal | 4 | G |
Core Resource Set | ||||
Name | Class | Type | Default | Access |
XmNaccelerators | XmCAccelerators | AcceleratorTable | NULL | CSG |
XmNancestorSensitive | XmCSensitive | Boolean | dynamic | CSG |
XmNbackground | XmCBackground | Pixel | dynamic | G |
XmNbackgroundPixmap | XmCPixmap | Pixmap | XmUNSPECIFIED_PIXMAP | CSG |
XmNborderColor | XmCBorderColor | Pixel | XtDefaultForeground | CSG |
XmNborderPixmap | XmCPixmap | Pixmap | XmUNSPECIFIED_PIXMAP | CSG |
XmNborderWidth | XmCBorderWidth | Dimension | 0 | CSG |
XmNcolormap | XmCColormap | Colormap | dynamic | CG |
XmNdepth | XmCDepth | Int | dynamic | CG |
XmNdestroyCallback | XmCCallback | Callback | NULL | CSG |
XmNheight | XmCHeight | Dimension | dynamic | CSG |
XmNinitialResourcesPersistent | XmCInitialResourcesPersistent | Boolean | True | CG |
XmNmappedWhenManaged | XmCMappedWhenManaged | Boolean | True | CSG |
XmNscreen | XmCScreen | Screen | dynamic | CG |
XmNsensitive | XmCSensitive | Boolean | True | CSG |
XmNtranslations | XmCTranslations | TranslationTable | internal | CSG |
XmNwidth | XmCWidth | Dimension | dynamic | CSG |
XmNx | XmCPosition | Position | 0 | CSG |
XmNy | XmCPosition | Position | 0 | CSG |
XbaeCaption inherits translations from XmManager.
In addition to the standard type converters registered by Xt and Motif, XbaeCaption registers the following additional type converters:
The following external entry points to XbaeCaption class methods are defined:
XbaeCreateCaption()
Widget XbaeCreateCaption() | ||
Widget | parent; | |
String | name; | |
ArgList | arglist; | |
Cardinal | argcount; |
XbaeCreateCaption() creates an instance of an XbaeCaption widget and returns the associated widget ID.
The bindings for virtual keys are vendor specific. For information about bindings for virtual buttons and keys, see VirtualBindings(3X).
Andrew Wason, Bellcore, Piscataway NJ; author
(aw@bae.bellcore.com)
Andrew Lister
(lister@db.com)
This document describes XbaeCaption from Xbae Version 4.9.
Bellcore, previous and current maintainers of the Xbae widgets (collectively 'authors') provide this information solely to professionals who have the appropriate degree of experience to understand and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations. No recommendations as to products or vendors is made or should be implied.
While the information contained herein has been prepared from sources deemed to be reliable, the authors reserve the right to revise the information without notice, but have no obligation to do so. Unless the recipient has been expressly granted a license by Bellcore under separate applicable written agreement with Bellcore, no license, expressed or implied, is granted under any patents, copyrights or other intellectual property rights. Use of the information is at your discretion and shall not be deemed an inducement by Bellcore to infringe any existing or later-issued patent, copyrights or other intellectual property right.
THE AUTHORS MAKE NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE INFORMATION, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST INFRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE INFORMATION IS PROVIDED ``AS IS'', AND IN NO EVENT SHALL THE AUTHORS OR ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELATING TO THE INFORMATION.
Copyright 1991 Bellcore. All Rights Reserved. Copyright 1995-99
Andrew Lister All Rights Reserved.
Copyright 1999-2002 LessTif Developers
The above no warranty extends to all additions and contributions. No contributor shall be held liable; this work is provided ``as is''. If this is a problem for you, then don't use this software.
4.60.4 | xbae |