🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #9880

Re: Need SunView Help

#9880
From: Steven Bickel
Date: Thu, 22 Dec 1988 18:38
32 lines
1707 bytes
ssc-vax!dmg@beaver.cs.washington.edu (David Geary) writes:
>1)  How can I get a pointer to the CURRENT window?

Sounds like what you want is the old gfx subwindow stuff - before canvas'
and frames - the dark "tool" era.  Look for the old framedemo code,
flight, etc.

>2)  Once I get a pointer to my window, I want to be able to
>    programmatically resize the window.

I do not know if gfx can do this, but windowmanager calls should be able
to (?).

>3)  I'd also like to draw into the window....

Once you open the gfx it is easily written to because their is a pixwin
within every graphics window.

>I've searched through the SunView manual, and can't find the answers, so
>any help, of course, would be greatly appreciated?

You might also try the windowmanager code level stuff.  I have been able
to do some "non-supported" stuff at this level.  You might try opening a
window, retrieving its parent, retrieving the parents file descriptor, and
then resizing it.  I do not know if you will then be able to draw in it
though??

   Steve Bickel

          Steve Bickel                          bickel@nprdc.arpa
	  Systems Engineering Assoc.            (619) 553-9306
	  Naval Personel R & D Center.
Technical Details
Message-ID: <1183@arctic.nprdc.arpa>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rice!sun-spots-request
References: <2398@ssc-vax.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rice!sun-spots-request
From: bickel@nprdc.arpa (Steven Bickel)
Newsgroups: comp.sys.sun
Subject: Re: Need SunView Help
Message-ID: <1183@arctic.nprdc.arpa>
Date: 22 Dec 88 18:38:29 GMT
References: <2398@ssc-vax.UUCP>
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 32
Approved: Sun-Spots@rice.edu
Original-Date: 15 Dec 88 23:26:09 GMT
X-Sun-Spots-Digest: Volume 7, Issue 74, message 7 of 16
X-Issue-Reference: v7n57