Vuo 2.4.4
|
Information about an in-progress or completed file drag.
Classes | |
struct | VuoDragEvent |
Information about an in-progress or completed file drag. More... | |
Functions | |
VuoDragEvent | VuoDragEvent_makeFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. | |
struct json_object * | VuoDragEvent_getJson (const VuoDragEvent value) |
Encodes value as a JSON object. | |
char * | VuoDragEvent_getSummary (const VuoDragEvent value) |
Returns a compact string representation of value . | |
VuoDragEvent | VuoDragEvent_make (const VuoPoint2d position, const VuoList_VuoUrl urls) |
Creates a new drag event. | |
bool | VuoDragEvent_areEqual (const VuoDragEvent value1, const VuoDragEvent value2) |
Returns true if the two drag events are equivalent: | |
bool | VuoDragEvent_isLessThan (const VuoDragEvent value1, const VuoDragEvent value2) |
Returns true if value1 < value2. | |
void | VuoWindowReference_addDragCallbacks (const VuoWindowReference wr, void(*dragEnteredCallback)(VuoDragEvent e), void(*dragMovedToCallback)(VuoDragEvent e), void(*dragCompletedCallback)(VuoDragEvent e), void(*dragExitedCallback)(VuoDragEvent e)) |
Adds callbacks to be invoked when files are dragged from Finder. | |
void | VuoWindowReference_removeDragCallbacks (const VuoWindowReference wr, void(*dragEnteredCallback)(VuoDragEvent e), void(*dragMovedToCallback)(VuoDragEvent e), void(*dragCompletedCallback)(VuoDragEvent e), void(*dragExitedCallback)(VuoDragEvent e)) |
Removes callbacks that would have been invoked when files were dragged from Finder. | |
void | VuoDragEvent_retain (VuoDragEvent value) |
VuoCompilerType::parseOrGenerateRetainOrReleaseFunction can't currently generate this on arm64. | |
void | VuoDragEvent_release (VuoDragEvent value) |
VuoCompilerType::parseOrGenerateRetainOrReleaseFunction can't currently generate this on arm64. | |
char * | VuoDragEvent_getString (const VuoDragEvent value) |
Automatically generated function. | |
struct VuoDragEvent |
Class Members | ||
---|---|---|
VuoPoint2d | position | |
VuoList_VuoUrl | urls |
#define VuoDragEvent_SUPPORTS_COMPARISON |
Definition at line 39 of file VuoDragEvent.h.
bool VuoDragEvent_areEqual | ( | const VuoDragEvent | value1, |
const VuoDragEvent | value2 | ||
) |
Returns true if the two drag events are equivalent:
Definition at line 86 of file VuoDragEvent.c.
struct json_object * VuoDragEvent_getJson | ( | const VuoDragEvent | value | ) |
Encodes value
as a JSON object.
Definition at line 49 of file VuoDragEvent.c.
char * VuoDragEvent_getString | ( | const VuoDragEvent | value | ) |
Automatically generated function.
char * VuoDragEvent_getSummary | ( | const VuoDragEvent | value | ) |
Returns a compact string representation of value
.
Definition at line 64 of file VuoDragEvent.c.
bool VuoDragEvent_isLessThan | ( | const VuoDragEvent | value1, |
const VuoDragEvent | value2 | ||
) |
Returns true if value1 < value2.
Definition at line 100 of file VuoDragEvent.c.
VuoDragEvent VuoDragEvent_make | ( | const VuoPoint2d | position, |
const VuoList_VuoUrl | urls | ||
) |
Creates a new drag event.
Definition at line 75 of file VuoDragEvent.c.
VuoDragEvent VuoDragEvent_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 38 of file VuoDragEvent.c.
void VuoDragEvent_release | ( | VuoDragEvent | value | ) |
VuoCompilerType::parseOrGenerateRetainOrReleaseFunction
can't currently generate this on arm64.
https://b33p.net/kosada/vuo/vuo/-/issues/19142#note_2158967
Definition at line 120 of file VuoDragEvent.c.
void VuoDragEvent_retain | ( | VuoDragEvent | value | ) |
VuoCompilerType::parseOrGenerateRetainOrReleaseFunction
can't currently generate this on arm64.
https://b33p.net/kosada/vuo/vuo/-/issues/19142#note_2158967
Definition at line 111 of file VuoDragEvent.c.
void VuoWindowReference_addDragCallbacks | ( | const VuoWindowReference | wr, |
void(*)(VuoDragEvent e) | dragEnteredCallback, | ||
void(*)(VuoDragEvent e) | dragMovedToCallback, | ||
void(*)(VuoDragEvent e) | dragCompletedCallback, | ||
void(*)(VuoDragEvent e) | dragExitedCallback | ||
) |
Adds callbacks to be invoked when files are dragged from Finder.
Definition at line 198 of file VuoWindowReference.m.
void VuoWindowReference_removeDragCallbacks | ( | const VuoWindowReference | wr, |
void(*)(VuoDragEvent e) | dragEnteredCallback, | ||
void(*)(VuoDragEvent e) | dragMovedToCallback, | ||
void(*)(VuoDragEvent e) | dragCompletedCallback, | ||
void(*)(VuoDragEvent e) | dragExitedCallback | ||
) |
Removes callbacks that would have been invoked when files were dragged from Finder.
Definition at line 217 of file VuoWindowReference.m.