1RectObj(library call) RectObj(library call)
2
3
4
6 RectObj — The RectObj widget class
7
9 #include <Xm/Xm.h>
10
12 RectObj is never instantiated. Its sole purpose is as a supporting
13 superclass for other widget classes.
14
15 Classes
16 RectObj inherits behavior and a resource from Object.
17
18 The class pointer is rectObjClass.
19
20 The class name is RectObj.
21
22 New Resources
23 The following table defines a set of widget resources used by the pro‐
24 grammer to specify data. The programmer can also set the resource val‐
25 ues for the inherited classes to set attributes for this widget. To
26 reference a resource by name or by class in a .Xdefaults file, remove
27 the XmN or XmC prefix and use the remaining letters. To specify one of
28 the defined values for a resource in a .Xdefaults file, remove the Xm
29 prefix and use the remaining letters (in either lowercase or uppercase,
30 but include any underscores between words). The codes in the access
31 column indicate if the given resource can be set at creation time (C),
32 set by using XtSetValues (S), retrieved by using XtGetValues (G), or is
33 not applicable (N/A).
34
35 ┌─────────────────────────────────────────────────────────────────────┐
36 │ │ RectObj Resour│ce Set │ │ │
37 │Name │ Class │ Type │ Default │ Access │
38 ├─────────────────────┼────────────────┼───────────┼─────────┼────────┤
39 │XmNancestorSensitive │ XmCSensitive │ Boolean │ dynamic │ G │
40 ├─────────────────────┼────────────────┼───────────┼─────────┼────────┤
41 │XmNborderWidth │ XmCBorderWidth │ Dimension │ 1 │ CSG │
42 ├─────────────────────┼────────────────┼───────────┼─────────┼────────┤
43 │XmNheight │ XmCHeight │ Dimension │ dynamic │ CSG │
44 ├─────────────────────┼────────────────┼───────────┼─────────┼────────┤
45 │XmNsensitive │ XmCSensitive │ Boolean │ True │ CSG │
46 ├─────────────────────┼────────────────┼───────────┼─────────┼────────┤
47 │XmNwidth │ XmCWidth │ Dimension │ dynamic │ CSG │
48 ├─────────────────────┼────────────────┼───────────┼─────────┼────────┤
49 │XmNx │ XmCPosition │ Position │ 0 │ CSG │
50 ├─────────────────────┼────────────────┼───────────┼─────────┼────────┤
51 │XmNy │ XmCPosition │ Position │ 0 │ CSG │
52 ├─────────────────────┼────────────────┼───────────┼─────────┼────────┤
53 └─────────────────────┴────────────────┴───────────┴─────────┴────────┘
54 XmNancestorSensitive
55 Specifies whether the immediate parent of the gadget receives
56 input events. Use the function XtSetSensitive if you are
57 changing the argument to preserve data integrity (see XmNsen‐
58 sitive). The default is the bitwise AND of the parent's
59 XmNsensitive and XmNancestorSensitive resources.
60
61 XmNborderWidth
62 Specifies the width of the border placed around the RectObj's
63 rectangular display area.
64
65 XmNheight Specifies the inside height (excluding the border) of the
66 RectObj's rectangular display area.
67
68 XmNsensitive
69 Determines whether a RectObj receives input events. If a
70 RectObj is sensitive, the parent dispatches to the gadget all
71 keyboard, mouse button, motion, window enter/leave, and focus
72 events. Insensitive gadgets do not receive these events.
73 Use the function XtSetSensitive to change the sensitivity
74 argument. Using XtSetSensitive ensures that if a parent wid‐
75 get has XmNsensitive set to False, the ancestor-sensitive
76 flag of all its children is appropriately set.
77
78 XmNwidth Specifies the inside width (excluding the border) of the Rec‐
79 tObj's rectangular display area.
80
81 XmNx Specifies the x-coordinate of the upper left outside corner
82 of the RectObj's rectangular display area. The value is rel‐
83 ative to the upper left inside corner of the parent window.
84
85 XmNy Specifies the y-coordinate of the upper left outside corner
86 of the RectObj's rectangular display area. The value is rel‐
87 ative to the upper left inside corner of the parent window.
88
89 Inherited Resources
90 RectObj inherits behavior and a resource from Object. For a description
91 of this resource, refer to the Object reference page.
92
93 ┌─────────────────────────────────────────────────────────────────────┐
94 │ │ Object Re│source Set │ │ │
95 │Name │ Class │ Type │ Default │ Access │
96 ├───────────────────┼─────────────┼────────────────┼─────────┼────────┤
97 │XmNdestroyCallback │ XmCCallback │ XtCallbackList │ NULL │ C │
98 ├───────────────────┼─────────────┼────────────────┼─────────┼────────┤
99 └───────────────────┴─────────────┴────────────────┴─────────┴────────┘
100 Translations
101 There are no translations for RectObj.
102
104 Object(3).
105
106
107
108 RectObj(library call)