home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.interviews
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!concert!gatech!darwin.sura.net!udel!intercon!psinntp!sunic!ugle.unit.no!ugle.unit.no!steinarb
- From: steinarb@idt.unit.no (Steinar Bang)
- Subject: Re: Window methods
- In-Reply-To: linton@marktwain.rad.sgi.com's message of 16 Nov 1992 20:59:42 GMT
- Message-ID: <STEINARB.92Nov17092832@topas.idt.unit.no>
- Sender: news@ugle.unit.no (NetNews Administrator)
- Organization: Norwegian Institute of Technology, Trondheim, Norway
- References: <17463@borg.cs.unc.edu> <1e923uINNepd@fido.asd.sgi.com>
- Date: 17 Nov 92 09:28:32
- Lines: 29
-
- >>>>> linton@marktwain.rad.sgi.com (Mark Linton) writes:
-
- > 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").
-
- Won't this conflict with the resource and command line interpretation?
- I.e. in that setting this attribute explicitly will override any
- attempts to change the name at run-time, either through X resources or
- command line arguments.
-
- Wouldn't it be more better to set the name in the application resource
- default array passed to the Session constructor?
-
- - Steinar
-