Information about an in-progress or completed file drag.
|
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.
|
|
VuoDragEvent | VuoDragEvent_makeFromString (const char *str) |
| Automatically generated function.
|
|
char * | VuoDragEvent_getString (const VuoDragEvent value) |
| Automatically generated function.
|
|
void | VuoDragEvent_retain (VuoDragEvent value) |
| Automatically generated function.
|
|
void | VuoDragEvent_release (VuoDragEvent value) |
| Automatically generated function.
|
|
Returns true if the two drag events are equivalent:
- The positions must match
- The URLs must match
Encodes value
as a JSON object.
Automatically generated function.
Returns a compact string representation of value
.
Returns true if value1 < value2.
Creates a new drag event.
Decodes the JSON object js
to create a new value.
- Example:
{
"position": ["x":0, "y":0],
"urls": ["file:///Users/me/Desktop/test.jpg"]
}
VuoDragEvent VuoDragEvent_makeFromString |
( |
const char * |
str | ) |
|
Automatically generated function.
Automatically generated function.
Automatically generated function.
Adds callbacks to be invoked when files are dragged from Finder.
Removes callbacks that would have been invoked when files were dragged from Finder.