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

Class

Cvo_MenuBar

Base

Cvo_Window

Syntax

#include <Cvo/MenuBar.h++>

new Cvo_MenuBar ( char *resource_name,
{ Cvo_Object *parent | Display *display },
Cvo_MenuBarList *menu_bar )

Overview

The Cvo_MenuBar is an object that contains a series of Cvo_ButtonMenu objects as well as the company logo, displayed from left to right. Typically the Cvo_ButtonMenu objects build from the left, but any item with the resource name of CvoMB_Help will be built from the right.

The menu_bar argument points to a NULL terminated array of Cvo_MenuBarList structures, which are used to construct the entries for the Cvo_MenuBar.

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 example source code for an example of how to use this object.


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