Package: gdk
Accessor gdk-event-type
Lambda Listgdk-event-type (instance) SyntaxArgumentsDetails Accessor of the type slot of the gdk-event structure. The type of the event as a value of the gdk-event-type enumeration. Example
(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 |
*2021-12-13