|
11.
|
|
|
A Drag can be moved around inside is parent. Generally, its parent should be either a :func:`Fixed` or :class:`DragGroup`.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:9
|
|
12.
|
|
|
A Drag has one child. The child's state reflects the status of the drag and drop operation:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:12
|
|
13.
|
|
|
``selected_hover`` - when it is being dragged.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:15
|
|
14.
|
|
|
``selected_idle`` - when it can be dropped on.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:16
|
|
15.
|
|
|
``hover`` - when the draggable will be dragged when the mouse is clicked.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:17
|
|
16.
|
|
|
``idle`` - otherwise.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:19
|
|
17.
|
|
|
The drag handle is a rectangle inside the child. The mouse must be over a non-transparent pixel inside the drag handle for dragging or clicking to occur.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:21
|
|
18.
|
|
|
A newly-created draggable is added to the default DragGroup. A draggable can only be in a single DragGroup - if it's added to a second group, it's removed from the first.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:25
|
|
19.
|
|
|
When a Drag is first rendered, if it's position cannot be determined from the DragGroup it is in, the position of its upper-left corner is computed using the standard layout algorithm. Once that position
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:29
|
|
20.
|
|
|
`d`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:36
|