Detailed Description
Used to create a container for a tool UI.
- Examples
- UI/Container.py, UI/PropertyDrop.py, UI/TutorialBox.py
List of all members.
Member Function Documentation
bool ItemIconSet |
( |
uintptr_t |
pRef, |
|
|
FBImage |
pImage, |
|
|
bool |
pUseACopyOfTheImage = True |
|
) |
| |
Set an item's icon.
- Parameters:
-
pRef | Reference to item in container. |
pImage | Handle to image to use. |
pUseACopyOfTheImage | Create a copy of the image?(default=true) |
- Returns:
- Operation was successful (true or false).
- Deprecated:
- Set an item's icon.
Useless function to be removed.
- Parameters:
-
pRef | Reference to item in container. |
pFilename | Name of file where image is located. |
pUseACopyOfTheImage | Create a copy of the image?(default=true) |
- Returns:
- Operation was successful (true or false).
bool ItemIconSet |
( |
uintptr_t |
pRef, |
|
|
str |
pFilename |
|
) |
| |
Set an item's icon.
- Parameters:
-
pRef | Reference to item in container. |
pFilename | Name of file where image is located. |
- Returns:
- Operation was successful (true or false).
bool ItemNameEdit |
( |
uintptr_t |
pRef | ) |
|
Edit a container item.
- Parameters:
-
pRef | Reference of container to edit. |
- Returns:
- Operation was successful (true or false).
Get the selected item.
- Returns:
- Index of current selection.
Member Data Documentation
List: Names of items in container.
Read Write Property: Current item selected.
Read Write Property: Orientation of container.
Read Write Property: Are items wrapped when enough space is available?.
Read Write Property: Where the icon is positioned for the items.
Read Write Property: Item width.
Read Write Property: Item height.
Event: Container contents changed.
Event: Drag and Drop event.