localnotification getalert - part-cw/lambdanative GitHub Wiki

#(localnotification-getalert) localnotification-getalert retrieves the text of the last local notification that fired.

Example

Example 1: A button callback that updates a text string if a new alert fired in the meantime

(define (get-alert g w t x y)
  (let ((str (localnotification-getalert)))
    (glgui-widget-set! gui textout 'label (if str str "NO MSG")))
)