The handle is under the cursor (set by the window), or not.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(DragHandle), | intent(inout) | :: | self | |||
| logical, | intent(in) | :: | hovered |
true: under the cursor |
subroutine set_hovered(self, hovered) class(DragHandle), intent(inout) :: self logical, intent(in) :: hovered !! true: under the cursor if (hovered .eqv. self%hovered_) return self%hovered_ = hovered call self%show_state() end subroutine set_hovered