A handle (vkf_handles) was grabbed (DRAG_START), dragged (DRAG_MOVE: it has moved) or released (DRAG_END) with the mouse: e.g. compute again what depends on it (see the module documentation).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(WindowEventHandler), | intent(inout) | :: | self | |||
| class(WindowProxy), | intent(inout) | :: | window |
the window the handle is dragged in |
||
| class(DragHandle), | intent(inout), | target | :: | handle |
the handle (select type for its kind) |
|
| integer, | intent(in) | :: | stage |
DRAG_START, DRAG_MOVE or DRAG_END |
subroutine handler_handle_drag(self, window, handle, stage) class(WindowEventHandler), intent(inout) :: self class(WindowProxy), intent(inout) :: window !! the window the handle is dragged in class(DragHandle), intent(inout), target :: handle !! the handle (select type for its kind) integer, intent(in) :: stage !! DRAG_START, DRAG_MOVE or DRAG_END end subroutine handler_handle_drag