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

Class

Cvo_WindowViewPort

Base

Cvo_ViewPort

Syntax

#include <Cvo/WindowViewPort.h++>

new Cvo_WindowViewPort ( char *resource_name,
{ Cvo_Object *parent | Display *display } )

Overview

The Cvo_WindowViewPort object provides the capability to scroll a Cvo_Window object within a viewing window. The Cvo_Window object can be scrolled either by Cvo_ScrollBar objects, or by panning with the mouse pointer. When panning, the user may simply depress the mouse while the pointer is over the Cvo_Window object being viewed, and drag it in any direction to pan it. The Cvo_ScrollBar objects will be updated while the user pans the Cvo_Window object.

In order to use this object to view other Cvo visual objects, the Cvo_Window which is being viewed, and was created by the Cvo_WindowViewPort object, must be retrieved. The Frame() member function provides access to that Cvo_Window object. Other Cvo objects may be created as children of the Cvo_Window object being viewed, and they will also be viewed in the Cvo_WindowViewPort object.

Also see the Cvo_WindowViewPortPanner object, which can be used in conjunction with this object.

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.

New X Resources

This object uses the following X resources in addition to those used by its parent and ancestor objects.

Modified X Resources

This object modifies the following X resources which are used by its parent or other ancestors.


See the legend for information about the conventions used in this documentation.