You may return to the Cvo Object Documenation Index from this document. This document contains the following sections describing the Cvo_FileView object:

Class

Cvo_FileView

Base

Cvo_Window

Syntax

#include <Cvo/FileView.h++>

new Cvo_FileView ( char *resource_name,
{ Cvo_Object *parent | Display *display },
char *title,
{ char *filename | Cvo_Page *page } )

Overview

A Cvo_FileView object is used to create a window with a title, a Cvo_Pin, and a text viewport. The title argument is the title to display above the viewport and to the right of the Cvo_Pin. The text to be displayed may either be in a Cvo_Page referenced by page or the text file named by filename. If filename cannot be opened, an error message will appear in the viewport. Typically, a Cvo_FileView object will be created with a parent of Cvo_MAINWINDOW so that it appears as a popup window.

Member Functions

This object defines the following member functions in addition to those defined by its parent and ancestor objects.

Children Objects

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.


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.