🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1274

Re: Window methods

#1274
From: Mark Linton
Date: Mon, 16 Nov 1992 20:59
16 lines
1347 bytes
In article <17463@borg.cs.unc.edu>, hardarso@smith.cs.unc.edu (Kari Hardarson) writes:
|> I have just switched from 3.0 to 3.1beta.  The Window object in
|> InterViews used to support the methods "name" and "icon_name".
|> Now I get compiler errors when I try to compile program that use
|> them.  It seems some structural changes have been made.
|> 
|> I notice a newcomer method, rep() in Window and I think I'm supposed to
|> ask the Window for it's WindowRep and then call the WindowRep's
|> methods to do the name and icon_name assignments.
|> 
|> I would appreciate if someone told me the details on how to do it,
|> and I would also like to know the motivation behind this restructuring,
|> and where I can read about it.

You need to set the appropriate attribute on the window's style,
e.g., window->style()->attribute("iconName", "foo").
Technical Details
Message-ID: <1e923uINNepd@fido.asd.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sgigate!sgi!fido!marktwain.rad.sgi.com!linton
References: <17463@borg.cs.unc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sgigate!sgi!fido!marktwain.rad.sgi.com!linton
From: linton@marktwain.rad.sgi.com (Mark Linton)
Newsgroups: comp.windows.interviews
Subject: Re: Window methods
Date: 16 Nov 1992 20:59:42 GMT
Organization: sgi
Lines: 16
Distribution: world
Message-ID: <1e923uINNepd@fido.asd.sgi.com>
References: <17463@borg.cs.unc.edu>
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
NNTP-Posting-Host: marktwain.rad.sgi.com