Show the previous view (wrapping around); duration as select_view's.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(WindowProxy), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in), | optional | :: | duration |
s, as select_view's |
subroutine previous_view(self, duration) class(WindowProxy), intent(inout) :: self real(wp), intent(in), optional :: duration !! s, as select_view's if (self%n_views > 0) call self%select_view(modulo(self%current - 2, self%n_views) + 1, duration) end subroutine previous_view