Used to create a container for a tool UI.
Public Member Functions |
|
__init__ () | |
Constructor. |
|
bool | ItemIconSet (int pRef, HFBImageContainer pImage, bool pUseACopyOfTheImage=True) |
Set an item's icon. |
|
bool | ItemIconSet (int pRef, str pFilename) |
Set an item's icon. |
|
bool | ItemNameEdit (int pRef) |
Edit a container item. |
|
int | GetSelection () |
Get the selected item. |
|
Public Attributes |
|
FBPropertyStringList | Items |
List: Names of items in container.
|
|
FBPropertyBase | ItemIndex |
Read Write Property: Current item
selected. |
|
FBPropertyOrientation | Orientation |
Read Write Property: Orientation of
container. |
|
FBPropertyBase | ItemWrap |
Read Write Property: Are items
wrapped when enough space is available?. |
|
FBPropertyIconPosition | IconPosition |
Read Write Property: Where the icon
is positioned for the items. |
|
FBPropertyBase | ItemWidth |
Read Write Property: Item width.
|
|
FBPropertyBase | ItemHeight |
Read Write Property: Item height.
|
|
FBPropertyEvent | OnChange |
Event: Container contents changed.
|
|
FBPropertyEvent | OnDblClick |
Event: Double click. |
|
FBPropertyEvent | OnDragAndDrop |
Event: Drag and Drop event. |
__init__ | ( | ) |
Constructor.
Set an item's icon.
pRef | Reference to item in container. |
pImage | Handle to image to use. |
pUseACopyOfTheImage | Create a copy of the image?(default=true) |
Set an item's icon.
pRef | Reference to item in container. |
pFilename | Name of file where image is located. |
Edit a container item.
pRef | Reference of container to edit. |
int GetSelection | ( | ) |
List: Names of items in container.
FBPropertyBase ItemIndex |
Read Write Property: Current item selected.
FBPropertyOrientation Orientation |
Read Write Property: Orientation of container.
FBPropertyBase ItemWrap |
Read Write Property: Are items wrapped when enough space is available?.
FBPropertyIconPosition IconPosition |
Read Write Property: Where the icon is positioned for the items.
FBPropertyBase ItemWidth |
Read Write Property: Item width.
FBPropertyBase ItemHeight |
Read Write Property: Item height.
FBPropertyEvent OnChange |
Event: Container contents changed.
FBPropertyEvent OnDblClick |
Event: Double click.
FBPropertyEvent OnDragAndDrop |
Event: Drag and Drop event.