1Traits(file formats)                                      Traits(file formats)
2
3
4

NAME

6       Traits — Lists the traits used by the Motif Toolkit.
7

DESCRIPTION

9       A  trait is a characteristic of a widget. A widget holding a particular
10       trait is announcing a particular ability to other widgets.  The follow‐
11       ing table summarizes the standard Motif traits.
12
13       ┌──────────────────────────────────────────────────────────┐
14       │                  Purpo│se of Each Trait                   │
15       │Trait Name             │ A  Widget Holding This Trait Can │
16       │                       │ Do The Following:                │
17       ├───────────────────────┼──────────────────────────────────┤
18       │XmQTaccessTextual      │ Display one primary text parcel. │
19       ├───────────────────────┼──────────────────────────────────┤
20       │XmQTactivatable        │ Become a  command  button  in  a │
21       │                       │ dialog box.                      │
22       ├───────────────────────┼──────────────────────────────────┤
23       │XmQTcareParentVisual   │ Borrow   its   parent's   visual │
24       │                       │ information.                     │
25       ├───────────────────────┼──────────────────────────────────┤
26       │XmQTcontainer          │ Manage container item children.  │
27       ├───────────────────────┼──────────────────────────────────┤
28       │XmQTcontainerItem      │ Become a child  of  a  container │
29       │                       │ widget.                          │
30       ├───────────────────────┼──────────────────────────────────┤
31       │XmQTdialogShellSavvy   │ Become a child of a DialogShell. │
32       ├───────────────────────┼──────────────────────────────────┤
33       │XmQTjoinSide           │ Attach  itself  to one side of a │
34       │                       │ suitable parent.                 │
35       ├───────────────────────┼──────────────────────────────────┤
36       │XmQTmenuSavvy          │ Become a menu child.             │
37       ├───────────────────────┼──────────────────────────────────┤
38       │XmQTmenuSystem         │ Manage a menu system.            │
39       ├───────────────────────┼──────────────────────────────────┤
40       │XmQTnavigator          │ Act as a navigator to  a  scrol‐ │
41       │                       │ lable widget.                    │
42       ├───────────────────────┼──────────────────────────────────┤
43       │XmQTscrollFrame        │ Handle  one  or  more  navigator │
44       │                       │ widgets.                         │
45       ├───────────────────────┼──────────────────────────────────┤
46       │XmQTspecifyRenderTable │ Supply the names of its  default │
47       │                       │ render tables.                   │
48       ├───────────────────────┼──────────────────────────────────┤
49       │XmQTtakesDefault       │ Change  its  appearance  to show │
50       │                       │ that it is the default button.   │
51       ├───────────────────────┼──────────────────────────────────┤
52       │XmQTtransfer           │ Transfer data to  other  widgets │
53       │                       │ and/or  receive  data from other │
54       │                       │ widgets                          │
55       ├───────────────────────┼──────────────────────────────────┤
56       └───────────────────────┴──────────────────────────────────┘
57       Traits are not often used  in  Motif  application  programs.   However,
58       traits  are  very important to widget writers.  For complete details on
59       traits, see the Motif Widget Writer's Guide.
60
61       The following table lists the names of all widgets and gadgets  in  the
62       standard  Motif  widget set that hold a particular trait.  For example,
63       the following table shows that the XmQTcontainerItem trait is  held  by
64       the  XmIconGadget.  As the table suggests, some traits are held by many
65       of the standard Motif widgets.
66
67       ┌──────────────────────────────────────────────────────────┐
68       │        Trait Installat│ion in Standard Widget Set         │
69       │Trait Name             │ Is Installed  on  The  Following │
70       │                       │ Widgets:                         │
71       ├───────────────────────┼──────────────────────────────────┤
72       │XmQTaccessTextual      │ XmLabel  and all its subclasses; │
73       │                       │ XmLabelGadget and all  its  sub‐ │
74       │                       │ classes; XmText; XmTextField     │
75       ├───────────────────────┼──────────────────────────────────┤
76       │XmQTactivatable        │ XmArrowButton; XmArrowButtonGad‐ │
77       │                       │ get;  XmDrawnButton;  XmPushBut‐ │
78       │                       │ ton; XmPushButtonGadget          │
79       ├───────────────────────┼──────────────────────────────────┤
80       │XmQTcareParentVisual   │ All  the  subclasses of XmGadget │