![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Tree class for file chooser dialog. More...
#include <ilviews/gadgets/filechoo.h>
Public Member Functions | |
| IlvFileChooserTree (IlvDisplay *display, const IlvRect &rect, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0) | |
| Constructor. | |
| virtual IlvGadgetItem * | createItem (const char *label, IlvGraphic *graphic=0, IlvBitmap *bitmap=0, IlvBitmap *selbitmap=0, IlBoolean copy=IlTrue) const |
| Returns a new gadget item. | |
Tree class for file chooser dialog.
Library: ilvadvgdt
This tree gadget class manages a subclass of tree gadget item (IlvTreePathGadgetItem) which can store path name information. An object of this class is used by the file chooser dialog to display the directory tree. Note: The objects of this class cannot be saved to ilv files.
IlvTreePathGadgetItem, IlvFileChooser, IlvTreeGadget | IlvFileChooserTree::IlvFileChooserTree | ( | IlvDisplay * | display, | |
| const IlvRect & | rect, | |||
| IlUShort | thickness = IlvDefaultGadgetThickness, |
|||
| IlvPalette * | palette = 0 | |||
| ) |
Constructor.
Initializes a new instance of the class IlvFileChooserTree.
| display | The connection to the display. | |
| rect | The size and position of the tree gadget. | |
| thickness | The thickness of the tree gadget. | |
| palette | The palette used by the tree gadget. |
| virtual IlvGadgetItem* IlvFileChooserTree::createItem | ( | const char * | label, | |
| IlvGraphic * | graphic = 0, |
|||
| IlvBitmap * | bitmap = 0, |
|||
| IlvBitmap * | selbitmap = 0, |
|||
| IlBoolean | copy = IlTrue | |||
| ) | const [virtual] |
Returns a new gadget item.
You can override this member function in a subclass to create your own gadget items, however your subclass of gadget item must inherit from IlvTreePathGadgetItem.
| label | The item label. | |
| graphic | The IlvGraphic object representing the picture associated with the item. | |
| bitmap | The IlvBitmap object representing the picture associated with the item. | |
| selbitmap | The IlvBitmap object representing the picture of the item when it is selected. | |
| 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 IlvGadgetItem. |
Reimplemented from IlvTreeGadget.
© 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.