🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1694

Trying to put an Epoch screen in predefined window

#1694
From: Peter E. Wagner
Date: Wed, 20 Nov 1991 05:14
26 lines
1623 bytes
I have a window and its ID, i.e the 32 bit integer returned by
XtWindow().  I want to create a screen and have that screen end up in
my window.  Here's my attempt (note that I don't know Lisp :-( )

(setq epoch::screen-properties (list
(cons 'parent epoch::string-to-resource "8388629" Window)))
(epoch::map-screen (epoch::create-screen))

This doesn't work.  I get:

    Wrong number of arguments: #<subr cons>, 4

I gather from the manual that I have to convert the window ID into
some kind of atom or something, but I'm obviously missing something.
I pretty much have no idea what I'm doing here, no examples, and a
fairly obtuse manual.  Does anyone have any experience with this sort
of thing?  Any code examples?  Any tips appreciated here.  Thanks!

    Peter

-- 
----------------------------------------------------------------
Peter E. Wagner          (401)863-7685        pew@cs.brown.edu
Department Computer Science   Box 1910        pew@BROWNCS.BITNET
Brown University, Providence, RI 02912        uunet!brunix!pew
----------------------------------------------------------------
Technical Details
Message-ID: <93641@brunix.UUCP>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!brunix!cs.brown.edu!pew

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,210f05113811f26e,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-11-20 01:31:16 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!brunix!cs.brown.edu!pew
From: pew@cs.brown.edu (Peter E. Wagner)
Newsgroups: gnu.epoch.misc
Subject: Trying to put an Epoch screen in predefined window
Message-ID: <93641@brunix.UUCP>
Date: 20 Nov 91 05:14:11 GMT
Sender: news@brunix.UUCP
Organization: Brown Computer Science Dept.
Lines: 26