CLIM mail archive

[Prev][Next][Index][Thread]

frame-top-level-window same as frame-top-level-sheet?



    Date: Tue, 18 Jan 1994 19:06 EST
    From: "David L. Westbrook" <westy%earhart@cs.umass.edu>


    CLIM 2.0
    Lispworks 3.2b and Allegro 4.2

    We are attempting to share input buffers amoung several application
    frames. The code that used to work in CLIM 1.1 is:

    (setf (stream-input-buffer (frame-top-level-window *application-frame*)) *shared-input-buffer*)

    a naive translation for 2.0 produces this:

    (setf (stream-input-buffer (frame-top-level-SHEET *application-frame*)) *shared-input-buffer*)

    which results in this:

    Error: No methods applicable for generic function
	   #<STANDARD-GENERIC-FUNCTION (SETF CLIM:STREAM-INPUT-BUFFER) @ #x61f472>
	   with args
	   (#<CLIM-UTILS:QUEUE element-type: T @ #xd3916a>
	    #<TOP-LEVEL-SHEET @ #xd36f9a>)
	   of classes (CLIM-UTILS:QUEUE TOP-LEVEL-SHEET)

    Any suggestions (which do not involve rewriting large amounts of code to use activities :-)?

You want

  (setf (sheet-event-queue (frame-top-level-sheet *application-frame*))
	*shared-input-buffer*)


References:

Main Index | Thread Index