|
9.
|
|
|
Displayables
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/drag_drop.rst:37
|
|
10.
|
|
|
A displayable that represents an object that can be dragged around its enclosing area. A Drag can also represent an area that other Drags can be dropped on.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/inc/drag_drop:5
|
|
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
|