Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Gadget item class with a pathname. More...
#include <ilviews/gadgets/filechoo.h>
Public Member Functions | |
IlvPathGadgetItem (const char *label, IlvGraphic *graphic, IlvPosition position=IlvDefaultGadgetItemPosition, IlUShort spacing=IlvDefaultGadgetItemSpacing, IlBoolean copy=IlTrue) | |
Constructor. | |
IlvPathGadgetItem (const char *label, IlvBitmap *bitmap=0, IlvPosition position=IlvDefaultGadgetItemPosition, IlUShort spacing=IlvDefaultGadgetItemSpacing, IlBoolean copy=IlTrue) | |
Constructor. | |
const IlPathName & | getPathName () const |
Returns the path. | |
void | setPathName (const IlPathName &path) |
Sets the path. |
Gadget item class with a pathname.
Library: ilvadvgdt
This gadget item class is used by the IlvFileChooserSheet
objects to store a path for each item of the sheet.
IlvFileChooserSheet
, IlvGadgetItem
IlvPathGadgetItem::IlvPathGadgetItem | ( | const char * | label, | |
IlvBitmap * | bitmap = 0 , |
|||
IlvPosition | position = IlvDefaultGadgetItemPosition , |
|||
IlUShort | spacing = IlvDefaultGadgetItemSpacing , |
|||
IlBoolean | copy = IlTrue | |||
) |
Constructor.
Initializes a new instance of the IlvPathGadgetItem
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 IlvPathGadgetItem . |
IlvPathGadgetItem::IlvPathGadgetItem | ( | const char * | label, | |
IlvGraphic * | graphic, | |||
IlvPosition | position = IlvDefaultGadgetItemPosition , |
|||
IlUShort | spacing = IlvDefaultGadgetItemSpacing , |
|||
IlBoolean | copy = IlTrue | |||
) |
Constructor.
Initializes a new instance of the IlvPathGadgetItem
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 IlvPathGadgetItem . |
const IlPathName& IlvPathGadgetItem::getPathName | ( | ) | const |
Returns the path.
void IlvPathGadgetItem::setPathName | ( | const IlPathName & | path | ) |
Sets the path.
Sets the full path corresponding to the label of the 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.