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

Class

Cvo_WindowViewPortPanner

Base

Cvo_Frame

Syntax

#include <Cvo/WindowViewPort.h++>

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

Overview

The Cvo_WindowViewPortPanner object provides a window which can be used to represent the contents of the Cvo_WindowViewPort object viewport, on a smaller scale. The mouse may be used within this smaller window to scroll the contents of viewport.

This object will draw a box within its window, which represents the currently viewable portion of the viewport object's contents. The position of this box will be updated as the viewable portion changes. The window the Cvo_WindowViewPortPanner creates will be empty otherwise. The member function Panner() returns a Cvo_Window object pointer, which may be used to draw something in this object's window.

Note that you should set the minimum or default size for this object, in order for it to initialize and appear correctly.

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.