Package: gdk
Accessor gdk:event-type
Lambda Listgdk:event-type (instance) SyntaxArgumentsDetails The accessor for the type slot of the gdk:event structure gets or sets the type of the event as a value of the gdk:event-type
enumeration. Examples
(defun drawing-area-event (widget event)
(declare (ignore widget))
;; Check for a button press event on the drawing area
(when (eq (gdk:event-type event) :button-press)
... )) | See also |
2025-10-08