You may return to the Cvo Object Documenation Index from this document. This document contains the following sections describing the Cvo_TextBoard object:
Cvo_TextBoard
Cvo_Window
#include
<Cvo/TextBoard.h++>
new
Cvo_TextBoard ( char *resource_name,
{ Cvo_Object *parent | Display *display } )
The Cvo_TextBoard object is used to display pieces of text at specific locations. Each piece of text is associated with a pixel location where it is displayed. Typically this is used to position labels above columns in a graphical display.
Each piece of text is represented by a NO_SUCH_ALIAS object.
This object defines the following member functions in addition to those defined by its parent and ancestor objects.
NO_SUCH_ALIAS *AddString (
char *string,
[ int x, int y ] )
Create a new NO_SUCH_ALIAS with the text string. If x and y are specified, the text will appear at that location, otherwise the text will start off screen.
RemoveString (
NO_SUCH_ALIAS *item )
Remove the specified NO_SUCH_ALIAS item.
Erase (
)
Remove all NO_SUCH_ALIAS objects from the Cvo_TextBoard, and clear the window.
This object modifies the following X resources which are used by its parent or other ancestors.
*CvoTextBoard.BorderWidth
(new value:
0
)
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.