maxon.DragAndDropDataAssetArray¶
Description¶
Message data for DRAGTYPE_ASSET
Methods Signature¶
Getter to access the asset description. |
|
GetLookupRepository getter function. |
|
|
Setter for DndAsset data. |
|
Setter to set the lookup repository. |
|
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
tuple[tuple[
maxon.AssetDescription
,maxon.Url
,maxon.String
]]
-
DragAndDropDataAssetArray.
GetLookupRepository
()¶ GetLookupRepository getter function.
- Returns
AssetRepositoryRef where to search for assets.
- Return type
-
DragAndDropDataAssetArray.
SetAssetDescriptions
(assetDescriptions)¶ Setter for DndAsset data.
- Parameters
assetDescriptions (tuple[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 (Optional[
maxon.Data
]) – Input data from which the Data should be created.