You may return to the Cvo Object Documenation Index from this document. This document contains the following sections describing the Cvo__Inform object:
Cvo__Inform
Cvo_Window
#include
<Cvo/Inform.h++>
void
Cvo_Inform ( char *resource,
Cvo_Object *parent,
[ char *fmt, ... ] )
The Cvo__Inform object is always created by the Cvo_Inform()
function. An information box is brought up centered on the object
parent. The optional arguments starting with fmt are passed
to sprintf(3)
to produce the message in the confirmation box. If
the X resource label
is defined, it will override fmt. If
neither fmt nor the label
X resource are defined,
resource will be used.
The Cvo_Inform()
function returns when the dismiss Cvo_Button is
pressed.
This object is composed of the following Cvo objects. Each object has the shown resource name. This link displays the composition of the parent object.
Cvo_Label
:
*CvoInform.label
Cvo_Button
:
*CvoInform.inform
This object uses the following X resources in addition to those used by its parent and ancestor objects.
*CvoInform.label
(class:
Label
)The value of this resource will be used as the text appearing in the Cvo_Label object in this Cvo__Inform object.
*Inform.dismiss
(class:
Message
) (default value:
Dismiss
)
The value of this resource will be used as the text label for the dismissal Cvo_Button in the object.
This object modifies the following X resources which are used by its parent or other ancestors.
*CvoInform.Pad
(new value:
10
)
*CvoInform.InternalPad
(new value:
10
)
*Color*CvoInform.Raise
(new value:
)
See the example source code for an example of how to use this object.
See the legend for information about the conventions used in this documentation.