Vuo
2.0.0
|
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. More... | |
struct json_object * | VuoDragEvent_getJson (const VuoDragEvent value) |
Encodes value as a JSON object. More... | |
char * | VuoDragEvent_getSummary (const VuoDragEvent value) |
Returns a compact string representation of value . More... | |
VuoDragEvent | VuoDragEvent_make (const VuoPoint2d position, const VuoList_VuoUrl urls) |
Creates a new drag event. More... | |
bool | VuoDragEvent_areEqual (const VuoDragEvent value1, const VuoDragEvent value2) |
Returns true if the two drag events are equivalent: More... | |
bool | VuoDragEvent_isLessThan (const VuoDragEvent value1, const VuoDragEvent value2) |
Returns true if value1 < value2. More... | |
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. More... | |
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. More... | |
VuoDragEvent | VuoDragEvent_makeFromString (const char *str) |
Automatically generated function. More... | |
char * | VuoDragEvent_getString (const VuoDragEvent value) |
Automatically generated function. More... | |
void | VuoDragEvent_retain (VuoDragEvent value) |
Automatically generated function. More... | |
void | VuoDragEvent_release (VuoDragEvent value) |
Automatically generated function. More... | |
struct VuoDragEvent |
Class Members | ||
---|---|---|
char | blah[42] | |
VuoPoint2d | position | |
VuoList_VuoUrl | urls |
bool VuoDragEvent_areEqual | ( | const VuoDragEvent | value1, |
const VuoDragEvent | value2 | ||
) |
Returns true if the two drag events are equivalent:
Definition at line 87 of file VuoDragEvent.c.
struct json_object* VuoDragEvent_getJson | ( | const VuoDragEvent | value | ) |
Encodes value
as a JSON object.
Definition at line 50 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 65 of file VuoDragEvent.c.
bool VuoDragEvent_isLessThan | ( | const VuoDragEvent | value1, |
const VuoDragEvent | value2 | ||
) |
Returns true if value1 < value2.
Definition at line 101 of file VuoDragEvent.c.
VuoDragEvent VuoDragEvent_make | ( | const VuoPoint2d | position, |
const VuoList_VuoUrl | urls | ||
) |
Creates a new drag event.
Definition at line 76 of file VuoDragEvent.c.
VuoDragEvent VuoDragEvent_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 39 of file VuoDragEvent.c.
VuoDragEvent VuoDragEvent_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoDragEvent_release | ( | VuoDragEvent | value | ) |
Automatically generated function.
void VuoDragEvent_retain | ( | VuoDragEvent | value | ) |
Automatically generated function.
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 152 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 171 of file VuoWindowReference.m.