maxon.DragAndDropDataAssetArray

Description

Message data for DRAGTYPE_ASSET

Inheritance diagram

Inheritance

Parent Class:

Methods Signature

GetAssetDescriptions()

Getter to access the asset description.

GetLookupRepository()

GetLookupRepository getter function.

SetAssetDescriptions(assetDescriptions)

Setter for DndAsset data.

SetLookupRepository(lookupRepository)

Setter to set the lookup repository.

__init__([other])

Initializes the appropriate C++ Data object and store it within the _data member.

Methods Definition

DragAndDropDataAssetArray.GetAssetDescriptions()

Getter to access the asset description.

Return type

maxon.Tuple [maxon.Tuple [maxon.AssetDescription, maxon.Url, maxon.String]]

DragAndDropDataAssetArray.GetLookupRepository()

GetLookupRepository getter function.

Returns

AssetRepositoryRef where to search for assets.

Return type

maxon.AssetRepositoryRef

DragAndDropDataAssetArray.SetAssetDescriptions(assetDescriptions)

Setter for DndAsset data.

Parameters

assetDescriptions (maxon.Tuple [maxon.Tuple [maxon.AssetDescription, maxon.Url, maxon.String]]) – Array with assets to drag around.

DragAndDropDataAssetArray.SetLookupRepository(lookupRepository)

Setter to set the lookup repository.

Parameters

lookupRepository (maxon.AssetRepositoryRef) – Repository to search in.

DragAndDropDataAssetArray.__init__(other=None)

Initializes the appropriate C++ Data object and store it within the _data member.

If C is a Data then _data store a copy the C++ Data is done and stored.
If C is a C++ Data then _data store a reference of the C++ Data.
If C is not defined the C++ data is created and stored in the _data member.
Parameters

C (Union[None, maxon.Data]) – Input data from which the Data should be created.