Changeset 541
- Timestamp:
- Feb 15, 2004, 8:19:45 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/examples/cocoa-window.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/examples/cocoa-window.lisp
r487 r541 63 63 64 64 (defconstant process-interrupt-event-subtype 17) 65 66 67 68 69 (defclass lisp-application (ns:ns-application) 70 ((termp :foreign-type :<BOOL>)) 71 (:metaclass ns:+ns-object)) 72 73 74 (define-objc-method ((:void :post-event-at-start e) ns:ns-application) 75 (send self :post-event e :at-start t)) 65 76 66 77 ;;; Interrupt the AppKit event process, by enqueing an event (if the … … 88 99 :data2 0))) 89 100 (send e 'retain) 90 (send *NSApp* :post-event e :at-start t))))) 91 92 93 (defclass lisp-application (ns:ns-application) 94 ((termp :foreign-type :<BOOL>)) 95 (:metaclass ns:+ns-object)) 96 97 101 (send *NSApp* 102 :perform-selector-on-main-thread (@selector 103 "postEventAtStart:") 104 :with-object e 105 :wait-until-done t))))) 98 106 99 107 #+apple-objc
Note:
See TracChangeset
for help on using the changeset viewer.
