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