rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvMenuItemPath Class Reference

Menu item class which stores a path. More...

#include <ilviews/gadgets/toolpath.h>

Inheritance diagram for IlvMenuItemPath:
IlvMenuItem IlvGadgetItem

List of all members.

Public Member Functions

 IlvMenuItemPath (const char *label)
 Constructor.
const IlPathNamegetPathName () const
 Returns the path.
void setPathName (const IlPathName &path)
 Sets the path.

Detailed Description

Menu item class which stores a path.

Library: ilvadvgdt

This menu item class is used by the IlvToolBarPath objects to store a path for each item of the toolbar and of the pop-up menus.

See also:
IlvToolBarPath, IlvMenuItem

Constructor & Destructor Documentation

IlvMenuItemPath::IlvMenuItemPath ( const char *  label  ) 

Constructor.

Initializes a new instance of the IlvMenuItem class.

Parameters:
label The label of the menu item.

Member Function Documentation

const IlPathName& IlvMenuItemPath::getPathName (  )  const

Returns the path.

Returns:
The full path which corresponds to the label of the menu item.
void IlvMenuItemPath::setPathName ( const IlPathName path  ) 

Sets the path.

Sets the full path which corresponds to the label of the menu item.

Parameters:
path The path.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.