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

Class

Cvo_GenericList

Base

Cvo_ViewPort

Syntax

#include <Cvo/GenericList.h++>

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

Overview

The Cvo_GenericList object displays a list of items in a Cvo_ViewPort object and allows the user to select one of them by clicking on it with a mouse button. The items to be displayed are given by the page argument.

Unlike the standard Cvo_List object, the Cvo_GenericList object requests the item in page draw itself and therefore the item may contain non-text data. Currently the NO_SUCH_ALIAS object uses this feature. Also note that when an item is selected, the Cvo_Page page has the chance to preview the request to determine if the item was really selected or something else was going on.

Member Functions

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

Cvo Events

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

Event Translations

This object defines the following event translations 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 example source code for an example of how to use this object.


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