XWFRAME(3Xh) — Stardent Computer Inc.
NAME
XwframeWidgetClass − the X Widget’s frame widget
SYNOPSIS
#include <X11/StringDefs.h>
#include <X11/Intrinsic.h>
#include <Xw/Xw.h>
#include <Xw/Frame.h>
CLASSES
The Frame widget is built from the Core, Composite, and XwManager classes.
The widget class to use when creating a frame is XwframeWidgetClass.
The class name for frame is Frame.
DESCRIPTION
The Frame widget is a very simple manager used to enclose a single child in a border drawn by the Frame widget. It uses the XwManager class resources for border drawing and performs geometry management such that its size will always match its child size plus the highlightThickness defined for it.
Frame is most often used to enclose other managers when the application developer desires the manager to have the same border appearance as the primitive widgets. Frame can also be used to enclose primitive widgets that do not support the same type of border drawing. This will give visual consistency when developing applications using diverse widget sets.
NEW RESOURCES
The Frame widget does not define any resources.
INHERITED RESOURCES
The following resources are inherited from the named superclasses:
| Core Resource Set -- CORE(3X) | |||
| Name | Class | Type | Default |
| XtNancestorSensitive | XtCSenstitive | Boolean | TRUE |
| XtNx | XtCPosition | int | 0 |
| XtNy | XtCPosition | int | 0 |
| XtNwidth | XtCWidth | int | 0 |
| XtNheight | XtCHeight | int | 0 |
| XtNdepth | XtCDepth | int | 0 |
| XtNbackground | XtCBackground | Pixel | White |
| XtNbackgroundPixmap | XtCPixmap | Pixmap | Unspecified |
| XtNborderWidth | XtCBorderWidth | int | 1 |
| XtNborderColor | XtCBorderColor | Pixel | Black |
| XtNborderPixmap | XtCPixmap | Pixmap | Unspecified |
| XtNsensitive | XtCSensitive | Boolean | TRUE |
| XtNmappedWhenManaged | XtCMappedWhenManaged | Boolean | TRUE |
| XtNdestroyCallback | XtCCallback | Pointer | NULL |
| XtNtranslations | XtCTranslations | XtTranslations | NULL |
| Manager Resource Set -- XWMANAGER(3X) | |||
| Name | Class | Type | Default |
| XtNforeground | XtCForeground | Pixel | Black |
| XtNbackgroundTile | XtCBackgroundTile | int | background |
| XtNhighlightThickness | XtCHighlightThickness | int | 0 |
| XtNshadowOn | XtCShadowOn | Boolean | TRUE |
| XtNtopShadowColor | XtCBackground | Pixel | White |
| XtNtopShadowTile | XtCTopShadowTile | int | 50_foreground |
| XtNbottomShadowColor | XtCForeground | Pixel | Black |
| XtNbottomShadowTile | XtCBottomShadowTile | int | foreground |
| XtNtraversalOn | XtCTraversalOn | Boolean | FALSE |
| XtNlayout | XtCLayout | int | minimize |
| XtNnextTop | XtCCallback | Pointer | NULL |
KEYBOARD TRAVERSAL
If the XtNtraversalOn resource is set to TRUE at either create time or during a call to XtSetValues, the XwManager superclass will automatically augment the manager widget’s translations to support keyboard traversal. Refer to the XwManager man page for a complete description of these translations.
ORIGIN
Hewlett-Packard Company.
SEE ALSO
September 29, 2021