Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Tree gadget item class with a pathname. More...
#include <ilviews/gadgets/filechoo.h>
Public Member Functions | |
IlvTreePathGadgetItem (const char *label, IlvGraphic *graphic, IlvPosition position=IlvRight, IlUShort spacing=IlvDefaultGadgetItemSpacing, IlBoolean copy=IlTrue) | |
Constructor. | |
IlvTreePathGadgetItem (const char *label, IlvBitmap *bitmap=0, IlvPosition position=IlvRight, IlUShort spacing=IlvDefaultGadgetItemSpacing, IlBoolean copy=IlTrue) | |
Constructor. | |
const IlPathName & | getPathName () const |
Returns the path. | |
void | setPathName (const IlPathName &path) |
Sets the path. |
Tree gadget item class with a pathname.
Library: ilvadvgdt
This tree gadget item class is used by the IlvFileChooserTree
objects to store a path for each item of the tree gadget.
IlvFileChooserTree
, IlvTreeGadgetItem
IlvTreePathGadgetItem::IlvTreePathGadgetItem | ( | const char * | label, | |
IlvBitmap * | bitmap = 0 , |
|||
IlvPosition | position = IlvRight , |
|||
IlUShort | spacing = IlvDefaultGadgetItemSpacing , |
|||
IlBoolean | copy = IlTrue | |||
) |
Constructor.
Initializes a new instance of the IlvTreePathGadgetItem
class. This constructor allows you to specify both a label and a bitmap, as well as their relative alignment and spacing. The bitmap is locked.
label | The item label. | |
bitmap | The item sensitive bitmap. | |
position | The label position relative to the picture. | |
spacing | The spacing between the label and the picture. | |
copy | A Boolean value specifying whether a label should be copied. If the value is IlFalse , then memory must be allocated for the label because the label characters are deleted from memory by the IlvTreePathGadgetItem . |
IlvTreePathGadgetItem::IlvTreePathGadgetItem | ( | const char * | label, | |
IlvGraphic * | graphic, | |||
IlvPosition | position = IlvRight , |
|||
IlUShort | spacing = IlvDefaultGadgetItemSpacing , |
|||
IlBoolean | copy = IlTrue | |||
) |
Constructor.
Initializes a new instance of the IlvTreePathGadgetItem
class. This constructor allows you to specify both a label and a graphic, as well as their relative alignment and spacing.
label | The item label. | |
graphic | The item picture. | |
position | The label position relative to the picture. | |
spacing | The spacing between the label and the picture. | |
copy | A Boolean value specifying whether a label should be copied. If the value is IlFalse , then memory must be allocated for the label because the label characters are deleted from memory by the IlvTreePathGadgetItem . |
const IlPathName& IlvTreePathGadgetItem::getPathName | ( | ) | const |
Returns the path.
void IlvTreePathGadgetItem::setPathName | ( | const IlPathName & | path | ) |
Sets the path.
Sets the full path corresponding to the label of the tree gadget item.
path | The path. |
© 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.