|
35.
|
|
|
`clicked`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:78
|
|
36.
|
|
|
A callback this is called, with no arguments, when the Drag is clicked without being moved. A droppable can also be focused and clicked. If the callback returns a value othe than None, that value is returned as the result of the interaction.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:75
|
|
37.
|
|
|
`drag_handle`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:84
|
|
38.
|
|
|
A (x, y, width, height) tuple, giving the position of the drag handle within the child. In this tuple, integers are considered to be a literal number of pixels, while floats are relative to the size of the child.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:81
|
|
39.
|
|
|
`drag_joined`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:91
|
|
40.
|
|
|
This is called with the current Drag as an argument. It's expected to return a list of [ (drag, x, y) ] tuples, giving the draggables to drag as a unit. `x` and `y` are the offsets of the drags relative to each other, they are not relative to the corner of this drag.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:87
|
|
41.
|
|
|
Except for `d`, all of the parameters are available as fields (with the same name) on the Drag object. In addition, after the drag has been rendered, the following fields become available:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:93
|
|
42.
|
|
|
`x`, `y`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:98
|
|
43.
|
|
|
The position of the Drag relative to its parent, in pixels.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:98
|
|
44.
|
|
|
`w`, `h`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:102
|