This reference page is linked to from the following overview topics: MotionBuilder 2014, MotionBuilder 2013.
Used to create a container for a tool UI.
Definition at line 1662 of file fbcontrols.h.
#include <fbcontrols.h>
Public Member Functions | |
FBVisualContainer () | |
Constructor. | |
bool | ItemIconSet (kReference pRef, FBImage *pImage, bool pUseACopyOfTheImage=true) |
Set an item's icon. | |
virtual K_DEPRECATED_2014 bool | ItemIconSet (kReference pRef, FBImageContainer *pImage, bool pUseACopyOfTheImage=true) |
virtual bool | ItemIconSet (kReference pRef, const char *pFilename) |
Set an item's icon. | |
virtual bool | ItemNameEdit (kReference pRef) |
Edit a container item. | |
virtual int | GetSelection () |
Get the selected item. | |
Public Attributes | |
FBPropertyStringList | Items |
List: Names of items in container. | |
FBPropertyInt | ItemIndex |
Read Write Property: Current item selected. | |
FBPropertyOrientation | Orientation |
Read Write Property: Orientation of container. | |
FBPropertyBool | 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. | |
FBPropertyInt | ItemWidth |
Read Write Property: Item width. | |
FBPropertyInt | ItemHeight |
Read Write Property: Item height. | |
FBPropertyEvent | OnChange |
Event: Container contents changed. | |
FBPropertyEvent | OnDblClick |
Event: Double click. | |
FBPropertyEvent | OnDragAndDrop |
Event: Drag and Drop event. |
Constructor.
bool ItemIconSet | ( | kReference | pRef, |
FBImage * | pImage, | ||
bool | pUseACopyOfTheImage = true |
||
) |
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) |
virtual K_DEPRECATED_2014 bool ItemIconSet | ( | kReference | pRef, |
FBImageContainer * | pImage, | ||
bool | pUseACopyOfTheImage = true |
||
) | [virtual] |
Useless function to be removed.
pRef | Reference to item in container. |
pFilename | Name of file where image is located. |
pUseACopyOfTheImage | Create a copy of the image?(default=true) |
virtual bool ItemIconSet | ( | kReference | pRef, |
const char * | pFilename | ||
) | [virtual] |
Set an item's icon.
pRef | Reference to item in container. |
pFilename | Name of file where image is located. |
virtual bool ItemNameEdit | ( | kReference | pRef | ) | [virtual] |
Edit a container item.
pRef | Reference of container to edit. |
virtual int GetSelection | ( | ) | [virtual] |
List: Names of items in container.
Definition at line 1703 of file fbcontrols.h.
Read Write Property: Current item selected.
Definition at line 1705 of file fbcontrols.h.
FBPropertyOrientation Orientation |
Read Write Property: Orientation of container.
Definition at line 1706 of file fbcontrols.h.
Read Write Property: Are items wrapped when enough space is available?
Definition at line 1707 of file fbcontrols.h.
FBPropertyIconPosition IconPosition |
Read Write Property: Where the icon is positioned for the items.
Definition at line 1708 of file fbcontrols.h.
Read Write Property: Item width.
Definition at line 1709 of file fbcontrols.h.
Read Write Property: Item height.
Definition at line 1710 of file fbcontrols.h.
Event: Container contents changed.
Definition at line 1712 of file fbcontrols.h.
Event: Drag and Drop event.
Definition at line 1714 of file fbcontrols.h.