Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
add DisplayNextImage()
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmandel committed Jul 28, 2020
1 parent 3268c4c commit 79e5da8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pyjs9/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4095,6 +4095,25 @@ def Print(self, *args):
"""
return self.send({'cmd': 'Print', 'args': args})

def DisplayNextImage(self, *args):
"""
Display the Next (or Previous) Image
call:
JS9.DisplayNextImage(n)
where:
- n: number of images beyond (or prior to) the one currently displayed
The JS9.DisplayNextImage() routine displays the nth image in
the display's image list beyond the currently displayed image. The
default value for n is 1. You can supply a negative number to
display an image prior to the current one in the display's image list.
"""
return self.send({'cmd': 'DisplayNextImage', 'args': args})

def CreateMosaic(self, *args):
"""
Create a Mosaic Image
Expand Down

0 comments on commit 79e5da8

Please sign in to comment.