home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / intervie / 3201 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.3 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sgigate!sgi!fido!marktwain.rad.sgi.com!linton
  2. From: linton@marktwain.rad.sgi.com (Mark Linton)
  3. Newsgroups: comp.windows.interviews
  4. Subject: Re: Window methods
  5. Date: 16 Nov 1992 20:59:42 GMT
  6. Organization: sgi
  7. Lines: 16
  8. Distribution: world
  9. Message-ID: <1e923uINNepd@fido.asd.sgi.com>
  10. References: <17463@borg.cs.unc.edu>
  11. Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
  12. NNTP-Posting-Host: marktwain.rad.sgi.com
  13.  
  14. In article <17463@borg.cs.unc.edu>, hardarso@smith.cs.unc.edu (Kari Hardarson) writes:
  15. |> I have just switched from 3.0 to 3.1beta.  The Window object in
  16. |> InterViews used to support the methods "name" and "icon_name".
  17. |> Now I get compiler errors when I try to compile program that use
  18. |> them.  It seems some structural changes have been made.
  19. |> 
  20. |> I notice a newcomer method, rep() in Window and I think I'm supposed to
  21. |> ask the Window for it's WindowRep and then call the WindowRep's
  22. |> methods to do the name and icon_name assignments.
  23. |> 
  24. |> I would appreciate if someone told me the details on how to do it,
  25. |> and I would also like to know the motivation behind this restructuring,
  26. |> and where I can read about it.
  27.  
  28. You need to set the appropriate attribute on the window's style,
  29. e.g., window->style()->attribute("iconName", "foo").
  30.