On this page:
start-at-recent-slide
enable-click-advance!
set-use-background-frame!
set-page-numbers-visible!
current-page-number-font
current-page-number-color
current-page-number-adjust
set-spotlight-style!
set-allow-new-slides-after-close!

2.3 Viewer Control🔗

procedure

(start-at-recent-slide)  void?

Sets the starting slide for the talk to the most recently created slide. If this function is used multiple times, the last use overrides the earlier uses.

procedure

(enable-click-advance! on?)  void?

  on? : any/c
Enables or disables slide advance as a result of a mouse click.

procedure

(set-use-background-frame! on?)  void?

  on? : any/c
Enables or disables the creation of a background frame, which is typically useful only when make-slide-inset is used. The last enable/disable before the first slide registration takes effect once and for all.

procedure

(set-page-numbers-visible! on?)  void?

  on? : any/c
Determines whether slide numbers are initially visible in the viewer.

parameter

(current-page-number-font)  (is-a?/c font%)

(current-page-number-font font)  void?
  font : (is-a?/c font%)
Parameter that determines the font used to draw the page number (if visible).

Parameter that determines the color used to draw the page number (if visible).

Parameter that controls the precise text that appears to indicate the page numbers (if visible). The input to the function is the default string and the slide number, and the result is what is drawn in the bottom right corner. The default parameter value just returns its second argument.

procedure

(set-spotlight-style! [#:size size    
  #:color color])  void?
  size : (or/c #f (>=/c 0)) = #f
  color : (or/c #f string? (is-a?/c color%)) = #f
Adjusts the size and color of the “spotlight,” which can be enabled in Slideshow as an alternative to the mouse. Note that the color normally should have alpha value less than 1 (to make it partially transparent). If size or color is #f, the corresponding setting is unchanged.

procedure

(set-allow-new-slides-after-close! on?)  void?

  on? : any/c
Sets whether new slides are allowed after the Slideshow window is closed by the user. By default, an attempt to register a new slide via slide after the window is closed triggers an error. Calling this function with #t enables new slides to start a new slideshow.

Added in version 1.3 of package slideshow-lib.