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

Class

Cvo_Pin

Base

Cvo_BasicButton

Syntax

#include <Cvo/Pin.h++>

new Cvo_Pin ( char *resource,
{ Cvo_Object *parent | Display *display } )

Overview

A Cvo_Pin object provides a push pin that can be used in dialog boxes to indicate whether they should be saved or destroyed when the dialog box is used. They may be also used for pop up boxes. In general, a dialog box will start with the pin not pushed in, which implies that when a selection is made, the box should go away. If the pin is pushed in, the box will not go away when a selection is made. If the pin is released after being pushed in, the box is canceled.

The other method of using a pin is to start with it pushed in. When the pin is removed, the item being pinned should go away.

Member Functions

This object defines the following member functions 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.

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.