set_priority Subroutine

private subroutine set_priority(self, priority)

The handle's priority over others on the same spot of the screen (higher first; default 0, a TimeHandle's 1; see the module documentation).

Type Bound

DragHandle

Arguments

Type IntentOptional Attributes Name
class(DragHandle), intent(inout) :: self
integer, intent(in) :: priority

higher: hovered first


Source Code

    subroutine set_priority(self, priority)
        class(DragHandle), intent(inout) :: self
        integer, intent(in) :: priority                     !! higher: hovered first
        self%priority_ = priority
    end subroutine set_priority