1XmBulletinBoard(library call)                    XmBulletinBoard(library call)
2
3
4

NAME

6       XmBulletinBoard — The BulletinBoard widget class
7

SYNOPSIS

9       #include <Xm/BulletinB.h>
10

DESCRIPTION

12       BulletinBoard  is a composite widget that provides simple geometry man‐
13       agement for child widgets.  It does not force positioning on its  chil‐
14       dren,  but  can be set to reject geometry requests that result in over‐
15       lapping children.  BulletinBoard is the base  widget  for  most  dialog
16       widgets and is also used as a general container widget.
17
18       Modal  and  modeless  dialogs are implemented as collections of widgets
19       that include a DialogShell, a BulletinBoard (or subclass) child of  the
20       shell,  and various dialog components (buttons, labels, and so on) that
21       are children of BulletinBoard.  BulletinBoard defines callbacks  useful
22       for  dialogs  (focus,  map, unmap), which are available for application
23       use.  If its parent is a DialogShell, BulletinBoard  passes  title  and
24       input  mode (based on dialog style) information to the parent, which is
25       responsible for appropriate communication with the window manager.
26
27       The default value for XmNinitialFocus is the value of XmNdefaultButton.
28
29       BulletinBoard uses the XmQTtakesDefault trait, and  holds  the  XmQTdi‐
30       alogShellSavvy and XmQTspecifyRenderTable traits.
31
32   Classes
33       BulletinBoard  inherits  behavior, resources, and traits from the Core,
34       Composite, Constraint, and XmManager classes.
35
36       The class pointer is xmBulletinBoardWidgetClass.
37
38       The class name is XmBulletinBoard.
39
40   New Resources
41       The following table defines a set of widget resources used by the  pro‐
42       grammer  to specify data. The programmer can also set the resource val‐
43       ues for the inherited classes to set attributes  for  this  widget.  To
44       reference  a  resource by name or by class in a .Xdefaults file, remove
45       the XmN or XmC prefix and use the remaining letters. To specify one  of
46       the  defined  values for a resource in a .Xdefaults file, remove the Xm
47       prefix and use the remaining letters (in either lowercase or uppercase,
48       but  include  any  underscores between words).  The codes in the access
49       column indicate if the given resource can be set at creation time  (C),
50       set by using XtSetValues (S), retrieved by using XtGetValues (G), or is
51       not applicable (N/A).
52
53       ┌─────────────────────────────────────────────────────────────────────────────────────┐
54       │                     │      XmBulletinBoard │Resource Set     │              │        │
55Name                 Class                Type           Default      Access 
56       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
57       │XmNallowOverlap      │ XmCAllowOverlap      │ Boolean        │ True         │ CSG    │
58       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
59       │XmNautoUnmanage      │ XmCAutoUnmanage      │ Boolean        │ True         │ CG     │
60       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
61       │XmNbuttonFontList    │ XmCButtonFontList    │ XmFontList     │ dynamic      │ CSG    │
62       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
63       │XmNbuttonRenderTable │ XmCButtonRenderTable │ XmRenderTable  │ dynamic      │ CSG    │
64       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
65       │XmNcancelButton      │ XmCWidget            │ Widget         │ NULL         │ SG     │
66       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
67       │XmNdefaultButton     │ XmCWidget            │ Widget         │ NULL         │ SG     │
68       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
69       │XmNdefaultPosition   │ XmCDefaultPosition   │ Boolean        │ True         │ CSG    │
70       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
71       │XmNdialogStyle       │ XmCDialogStyle       │ unsigned char  │ dynamic      │ CSG    │
72       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
73       │XmNdialogTitle       │ XmCDialogTitle       │ XmString       │ NULL         │ CSG    │
74       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
75       │XmNfocusCallback     │ XmCCallback          │ XtCallbackList │ NULL         │ C      │
76       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
77       │XmNlabelFontList     │ XmCLabelFontList     │ XmFontList     │ dynamic      │ CSG    │
78       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
79       │XmNlabelRenderTable  │ XmCLabelRenderTable  │ XmRenderTable  │ dynamic      │ CSG    │
80       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
81       │XmNmapCallback       │ XmCCallback          │ XtCallbackList │ NULL         │ C      │
82       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
83       │XmNmarginHeight      │ XmCMarginHeight      │ Dimension      │ 10           │ CSG    │
84       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
85       │XmNmarginWidth       │ XmCMarginWidth       │ Dimension      │ 10           │ CSG    │
86       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
87       │XmNnoResize          │ XmCNoResize          │ Boolean        │ False        │ CSG    │
88       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
89       │XmNresizePolicy      │ XmCResizePolicy      │ unsigned char  │ XmRESIZE_ANY │ CSG    │
90       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
91       │XmNshadowType        │ XmCShadowType        │ unsigned char  │ XmSHADOW_OUT │ CSG    │
92       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
93       │XmNtextFontList      │ XmCTextFontList      │ XmFontList     │ dynamic      │ CSG    │
94       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
95       │XmNtextRenderTable   │ XmCTextRenderTable   │ XmRenderTable  │ dynamic      │ CSG    │
96       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
97       │XmNtextTranslations  │ XmCTranslations      │ XtTranslations │ NULL         │ C      │
98       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
99       │XmNunmapCallback     │ XmCCallback          │ XtCallbackList │ NULL         │ C      │
100       ├─────────────────────┼──────────────────────┼────────────────┼──────────────┼────────┤
101       └─────────────────────┴──────────────────────┴────────────────┴──────────────┴────────┘
102       XmNallowOverlap
103                 Controls the policy for overlapping child widgets.   If  this
104                 resource is True, BulletinBoard allows geometry requests that
105                 result in overlapping children.
106
107       XmNautoUnmanage
108                 Controls whether or not BulletinBoard is automatically unman‐
109                 aged  after  a button is activated.  If this resource is True
110                 on initialization and if  the  BulletinBoard's  parent  is  a
111                 DialogShell, BulletinBoard adds a callback to button children
112                 (PushButtons,  PushButtonGadgets,  and   DrawnButtons)   that
113                 unmanages  the  BulletinBoard when a button is activated.  If
114                 this resource is False on initialization or  if  the  Bullet‐
115                 inBoard's  parent  is not a DialogShell, the BulletinBoard is
116                 not automatically unmanaged.   For  BulletinBoard  subclasses
117                 with Apply or Help buttons, activating those buttons does not
118                 automatically unmanage the BulletinBoard.
119
120       XmNbuttonFontList
121                 Specifies the font list used for button descendants. See  the
122                 XmNbuttonRenderTable resource.
123
124       XmNbuttonRenderTable
125                 Specifies  the  render  table used for BulletinBoard's button
126                 descendants.  If this value is NULL  at  initialization,  the
127                 parent  hierarchy  of  the widget is searched for an ancestor
128                 that holds the  XmQTspecifyRenderTable  trait.   If  such  an
129                 ancestor  is  found,  the  render table is initialized to the
130                 XmBUTTON_RENDER_TABLE value of the  ancestor  widget.  If  no
131                 such  ancestor is found, the default is implementation depen‐
132                 dent. Refer to XmRenderTable(3) for more information  on  the
133                 creation and structure of a render table.
134
135       XmNcancelButton
136                 Specifies the widget ID of the Cancel button. BulletinBoard's
137                 subclasses, which define a Cancel button, set this  resource.
138                 BulletinBoard does not directly provide any behavior for that
139                 button.
140
141       XmNdefaultButton
142                 Specifies the widget ID of the default button.  Some  Bullet‐
143                 inBoard  subclasses,  which define a default button, set this
144                 resource. BulletinBoard  defines  translations  and  installs
145                 accelerators  that  activate  that  button  when KActivate is
146                 pressed and the keyboard focus is not in another button.
147
148       XmNdefaultPosition
149                 Controls the positioning of a DialogShell managing a  Bullet‐
150                 inBoard.   If  the  BulletinBoard  is  not being managed by a
151                 DialogShell, then this resource has no effect. If XmNdefault‐
152                 Position  is  True, the DialogShell will center itself at the
153                 center of its own parent.  For example, if the parent of  the
154                 DialogShell  is  an  ApplicationShell, then the center of the
155                 DialogShell will be at the same coordinates as the center  of
156                 the  ApplicationShell.   If  the DialogShell becomes unmapped
157                 (but stays managed) and then remapped, this resource  has  no
158                 influence on the DialogShell's position.  If this resource is
159                 False, the DialogShell does not automatically center itself.
160
161       XmNdialogStyle
162                 Indicates the dialog style associated with the BulletinBoard.
163                 If the parent of the BulletinBoard is a DialogShell, the par‐
164                 ent's XmNmwmInputMode is set according to the value  of  this
165                 resource.  This resource can be set only if the BulletinBoard
166                 is unmanaged.  Possible values for this resource include  the
167                 following:
168
169                 XmDIALOG_SYSTEM_MODAL
170                           Used  for  dialogs that must be responded to before
171                           any other interaction in any application.
172
173                 XmDIALOG_PRIMARY_APPLICATION_MODAL
174                           Used for dialogs that must be responded  to  before
175                           some other interactions in ancestors of the widget.
176
177                 XmDIALOG_APPLICATION_MODAL
178                           Used  for  dialogs that must be responded to before
179                           some other interactions in ancestors of the widget.
180                           This value is the same as XmDIALOG_PRIMARY_APPLICA‐
181                           TION_MODAL, and remains for compatibility.
182
183                 XmDIALOG_FULL_APPLICATION_MODAL
184                           Used for dialogs that must be responded  to  before
185                           some other interactions in the same application.
186
187                 XmDIALOG_MODELESS
188                           Used  for dialogs that do not interrupt interaction
189                           of any application.  This is the default  when  the
190                           parent of the BulletinBoard is a DialogShell.
191
192                 XmDIALOG_WORK_AREA
193                           Used  for  BulletinBoard  widgets whose parents are
194                           not DialogShells.  XmNdialogStyle is forced to have
195                           this  value when the parent of the BulletinBoard is
196                           not a DialogShell.
197
198                 Posting a modal dialog in response to a button  down  or  key
199                 down  event  (via translation actions or callbacks) can cause
200                 the corresponding button up or key up event to be  lost.  For
201                 example,  posting a modal dialog from an XmNincrementCallback
202                 of XmScrollBar will cause the loss of the  button  up  event,
203                 causing the XmScrollBar to auto-increment indefinitely.
204
205       XmNdialogTitle
206                 Specifies the dialog title. If this resource is not NULL, and
207                 the parent of the BulletinBoard is  a  subclass  of  WMShell,
208                 BulletinBoard  sets  the XmNtitle and XmNtitleEncoding of its
209                 parent.  If the  only  character  set  in  XmNdialogTitle  is
210                 ISO8859-1,  XmNtitle  is  set to the string of the title, and
211                 XmNtitleEncoding is set to STRING.   If  XmNdialogTitle  con‐
212                 tains character sets other than ISO8859-1, XmNtitle is set to
213                 the string of the title converted to a compound text  string,
214                 and  XmNtitleEncoding is set to COMPOUND_TEXT.  The direction
215                 of the title is based on the XmNlayoutDirection  resource  of
216                 the widget.
217
218       XmNfocusCallback
219                 Specifies  the list of callbacks that is called when the Bul‐
220                 letinBoard widget or one of its descendants accepts the input
221                 focus.  The callback reason is XmCR_FOCUS.
222
223       XmNlabelFontList
224                 Specifies  the  font list used for label descendants. See the
225                 XmNlabelRenderTable resource.
226
227       XmNlabelRenderTable
228                 Specifies the render table  used  for  BulletinBoard's  label
229                 descendants.   If  this  value is NULL at initialization, the
230                 parent hierarchy of the widget is searched  for  an  ancestor
231                 that  holds  the  XmQTspecifyRenderTable  trait.   If such an
232                 ancestor is found, the render table  is  initialized  to  the
233                 XmLABEL_RENDER_TABLE value of the ancestor widget. If no such
234                 ancestor is found, the default is  implementation  dependent.
235                 Refer  to  XmRenderTable(3)  for more information on the cre‐
236                 ation and structure of a render table.
237
238       XmNmapCallback
239                 Specifies the list of callbacks that is called only when  the
240                 parent  of  the BulletinBoard is a DialogShell. In this case,
241                 this callback list is invoked when the  BulletinBoard  widget
242                 is  mapped.   The  callback reason is XmCR_MAP.  DialogShells
243                 are usually mapped when the DialogShell is managed.
244
245       XmNmarginHeight
246                 Specifies the minimum spacing in pixels between  the  top  or
247                 bottom edge of BulletinBoard and any child widget.
248
249       XmNmarginWidth
250                 Specifies  the  minimum spacing in pixels between the left or
251                 right edge of BulletinBoard and any child widget.
252
253       XmNnoResize
254                 Controls whether or not resize controls are included  in  the
255                 window  manager  frame around the BulletinBoard's parent.  If
256                 this resource is set to True, mwm  does  not  include  resize
257                 controls in the window manager frame containing the parent of
258                 the BulletinBoard if the parent is a subclass of VendorShell.
259                 If  this  resource  is set to False, the window manager frame
260                 does include resize controls.  Other controls provided by mwm
261                 can  be  included  or excluded through the mwm resources pro‐
262                 vided by VendorShell.
263
264       XmNresizePolicy
265                 Controls the policy for resizing BulletinBoard widgets.  Pos‐
266                 sible values include
267
268                 XmRESIZE_NONE
269                           Fixed size
270
271                 XmRESIZE_ANY
272                           Shrink or grow as needed
273
274                 XmRESIZE_GROW
275                           Grow only
276
277       XmNshadowType
278                 Describes  the  shadow  drawing style for BulletinBoard. This
279                 resource can have the following values:
280
281                 XmSHADOW_IN
282                           Draws the BulletinBoard shadow so that  it  appears
283                           inset.   This  means that the bottom shadow visuals
284                           and top shadow visuals are reversed.
285
286                 XmSHADOW_OUT
287                           Draws the BulletinBoard shadow so that  it  appears
288                           outset.
289
290                 XmSHADOW_ETCHED_IN
291                           Draws  the BulletinBoard shadow using a double line
292                           giving the effect of a line etched into the window,
293                           similar to the Separator widget.
294
295                 XmSHADOW_ETCHED_OUT
296                           Draws  the BulletinBoard shadow using a double line
297                           giving the effect of a line coming out of the  win‐
298                           dow, similar to the Separator widget.
299
300       XmNtextFontList
301                 Specifies  the  font  list used for text descendants. See the
302                 XmNtextRenderTable resource.
303
304       XmNtextRenderTable
305                 Specifies the render  table  used  for  BulletinBoard's  text
306                 descendants.   If  this  value is NULL at initialization, the
307                 parent hierarchy of the widget is searched  for  an  ancestor
308                 that  holds  the  XmQTspecifyRenderTable  trait.   If such an
309                 ancestor is found, the render table  is  initialized  to  the
310                 XmTEXT_RENDER_TABLE  value of the ancestor widget. If no such
311                 ancestor is found, the default is  implementation  dependent.
312                 Refer  to  XmRenderTable(3)  for more information on the cre‐
313                 ation and structure of a render table.
314
315       XmNtextTranslations
316                 It adds translations to any Text widget or Text  widget  sub‐
317                 class that is added as a child of BulletinBoard.
318
319       XmNunmapCallback
320                 Specifies  the list of callbacks that is called only when the
321                 parent of the BulletinBoard is a DialogShell.  In this  case,
322                 this  callback  list is invoked when the BulletinBoard widget
323                 is   unmapped.    The   callback   reason   is    XmCR_UNMAP.
324                 DialogShells  are  usually  unmapped  when the DialogShell is
325                 unmanaged.
326
327   Inherited Resources
328       BulletinBoard inherits behavior and  resources  from  the  superclasses
329       described  in the following tables.  For a complete description of each
330       resource, refer to the reference page for that superclass.
331
332       ┌────────────────────────────────────────────────────────────────────────────────────────────────────┐
333       │                        │             XmManager │Resource Set        │                      │        │
334Name                    Class                 Type              Default              Access 
335       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
336       │XmNbottomShadowColor    │ XmCBottomShadowColor  │ Pixel             │ dynamic              │ CSG    │
337       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
338       │XmNbottomShadowPixmap   │ XmCBottomShadowPixmap │ Pixmap            │ XmUNSPECIFIED_PIXMAP │ CSG    │
339       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
340       │XmNforeground           │ XmCForeground         │ Pixel             │ dynamic              │ CSG    │
341       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
342       │XmNhelpCallback         │ XmCCallback           │ XtCallbackList    │ NULL                 │ C      │
343       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
344       │XmNhighlightColor       │ XmCHighlightColor     │ Pixel             │ dynamic              │ CSG    │
345       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
346       │XmNhighlightPixmap      │ XmCHighlightPixmap    │ Pixmap            │ dynamic              │ CSG    │
347       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
348       │XmNinitialFocus         │ XmCInitialFocus       │ Widget            │ dynamic              │ CSG    │
349       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
350       │XmNlayoutDirection      │ XmCLayoutDirection    │ XmDirection       │ dynamic              │ CG     │
351       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
352       │XmNnavigationType       │ XmCNavigationType     │ XmNavigationType  │ XmTAB_GROUP          │ CSG    │
353       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
354       │XmNpopupHandlerCallback │ XmCCallback           │ XtCallbackList    │ NULL                 │ C      │
355       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
356       │XmNshadowThickness      │ XmCShadowThickness    │ Dimension         │ dynamic              │ CSG    │
357       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
358       │XmNstringDirection      │ XmCStringDirection    │ XmStringDirection │ dynamic              │ CG     │
359       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
360       │XmNtopShadowColor       │ XmCTopShadowColor     │ Pixel             │ dynamic              │ CSG    │
361       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
362       │XmNtopShadowPixmap      │ XmCTopShadowPixmap    │ Pixmap            │ dynamic              │ CSG    │
363       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
364       │XmNtraversalOn          │ XmCTraversalOn        │ Boolean           │ True                 │ CSG    │
365       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
366       │XmNunitType             │ XmCUnitType           │ unsigned char     │ dynamic              │ CSG    │
367       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
368       │XmNuserData             │ XmCUserData           │ XtPointer         │ NULL                 │ CSG    │
369       ├────────────────────────┼───────────────────────┼───────────────────┼──────────────────────┼────────┤
370       └────────────────────────┴───────────────────────┴───────────────────┴──────────────────────┴────────┘
371       ┌───────────────────────────────────────────────────────────────────────┐
372       │                  │     Composite Reso│urce Set      │         │        │
373Name              Class             Type        Default Access 
374       ├──────────────────┼───────────────────┼─────────────┼─────────┼────────┤
375       │XmNchildren       │ XmCReadOnly       │ WidgetList  │ NULL    │ G      │
376       ├──────────────────┼───────────────────┼─────────────┼─────────┼────────┤
377       │XmNinsertPosition │ XmCInsertPosition │ XtOrderProc │ NULL    │ CSG    │
378       ├──────────────────┼───────────────────┼─────────────┼─────────┼────────┤
379       │XmNnumChildren    │ XmCReadOnly       │ Cardinal    │ 0       │ G      │
380       ├──────────────────┼───────────────────┼─────────────┼─────────┼────────┤
381       └──────────────────┴───────────────────┴─────────────┴─────────┴────────┘
382       ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
383       │                              │               Core Resource Se│t                │                      │        │
384Name                          Class                         Type           Default              Access 
385       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
386       │XmNaccelerators               │ XmCAccelerators               │ XtAccelerators │ dynamic              │ N/A    │
387       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
388       │XmNancestorSensitive          │ XmCSensitive                  │ Boolean        │ dynamic              │ G      │
389       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
390       │XmNbackground                 │ XmCBackground                 │ Pixel          │ dynamic              │ CSG    │
391       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
392       │XmNbackgroundPixmap           │ XmCPixmap                     │ Pixmap         │ XmUNSPECIFIED_PIXMAP │ CSG    │
393       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
394       │XmNborderColor                │ XmCBorderColor                │ Pixel          │ XtDefaultForeground  │ CSG    │
395       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
396       │XmNborderPixmap               │ XmCPixmap                     │ Pixmap         │ XmUNSPECIFIED_PIXMAP │ CSG    │
397       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
398       │XmNborderWidth                │ XmCBorderWidth                │ Dimension      │ 0                    │ CSG    │
399       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
400       │XmNcolormap                   │ XmCColormap                   │ Colormap       │ dynamic              │ CG     │
401       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
402       │XmNdepth                      │ XmCDepth                      │ int            │ dynamic              │ CG     │
403       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
404       │XmNdestroyCallback            │ XmCCallback                   │ XtCallbackList │ NULL                 │ C      │
405       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
406       │XmNheight                     │ XmCHeight                     │ Dimension      │ dynamic              │ CSG    │
407       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
408       │XmNinitialResourcesPersistent │ XmCInitialResourcesPersistent │ Boolean        │ True                 │ C      │
409       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
410       │XmNmappedWhenManaged          │ XmCMappedWhenManaged          │ Boolean        │ True                 │ CSG    │
411       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
412       │XmNscreen                     │ XmCScreen                     │ Screen *       │ dynamic              │ CG     │
413       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
414       │XmNsensitive                  │ XmCSensitive                  │ Boolean        │ True                 │ CSG    │
415       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
416       │XmNtranslations               │ XmCTranslations               │ XtTranslations │ dynamic              │ CSG    │
417       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
418       │XmNwidth                      │ XmCWidth                      │ Dimension      │ dynamic              │ CSG    │
419       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
420       │XmNx                          │ XmCPosition                   │ Position       │ 0                    │ CSG    │
421       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
422       │XmNy                          │ XmCPosition                   │ Position       │ 0                    │ CSG    │
423       ├──────────────────────────────┼───────────────────────────────┼────────────────┼──────────────────────┼────────┤
424       └──────────────────────────────┴───────────────────────────────┴────────────────┴──────────────────────┴────────┘
425   Callback Information
426       A pointer to the following structure is passed to each callback:
427
428       typedef struct
429       {
430               int reason;
431               XEvent * event;
432       } XmAnyCallbackStruct;
433
434       reason    Indicates why the callback was invoked
435
436       event     Points to the XEvent that triggered the callback
437
438   Translations
439       XmBulletinBoard includes the translations from XmManager.
440
441   Additional Behavior
442       The XmBulletinBoard widget has the following additional behavior:
443
444       <Key><osfCancel>:
445                 Calls the activate callbacks for the cancel button if  it  is
446                 sensitive.   If  no cancel button exists and if the parent of
447                 the BulletinBoard is a manager, passes the event to the  par‐
448                 ent.
449
450       <Key><osfActivate>:
451                 Calls the activate callbacks for the button with the keyboard
452                 focus.  If no button has the keyboard focus, calls the  acti‐
453                 vate callbacks for the default button if it is sensitive.  In
454                 a List widget or single-line Text widget, the  List  or  Text
455                 action  associated  with  <Key><osfActivate> is called before
456                 the BulletinBoard actions associated with <Key><osfActivate>.
457
458                 In a multiline  Text  widget,  any  <Key><osfActivate>  event
459                 except  <Key><Enter>  calls  the  Text action associated with
460                 <Key><osfActivate>, then the BulletinBoard actions associated
461                 with  <Key><osfActivate>.   If  no  button  has the focus, no
462                 default button exists, and the parent of the BulletinBoard is
463                 a manager, passes the event to the parent.
464
465       <FocusIn>:
466                 Calls  the  callbacks  for  XmNfocusCallback.  When the focus
467                 policy is  XmPOINTER,  the  callbacks  are  called  when  the
468                 pointer  enters  the  window.  When the focus policy is XmEX‐
469                 PLICIT, the callbacks are called when the user  traverses  to
470                 the widget.
471
472       <Map>:    Calls the callbacks for XmNmapCallback.
473
474       <Unmap>:  Calls the callbacks for XmNunmapCallback.
475
476   Virtual Bindings
477       The  bindings  for  virtual  keys are vendor specific.  For information
478       about bindings for virtual buttons and keys, see VirtualBindings(3).
479
481       Composite(3), Constraint(3), Core(3), XmCreateBulletinBoard(3),  XmCre‐
482       ateBulletinBoardDialog(3),  XmDialogShell(3), XmManager(3), XmVaCreate‐
483       BulletinBoard(3), and XmVaCreateManagedBulletinBoard(3).
484
485
486
487                                                 XmBulletinBoard(library call)
Impressum