home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / intervie / 3215 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  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: 18 Nov 1992 19:47:30 GMT
  6. Organization: sgi
  7. Lines: 15
  8. Distribution: world
  9. Message-ID: <1ee6kiINN10b@fido.asd.sgi.com>
  10. References: <17463@borg.cs.unc.edu> <1e923uINNepd@fido.asd.sgi.com> <STEINARB.92Nov17092832@topas.idt.unit.no>
  11. Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
  12. NNTP-Posting-Host: marktwain.rad.sgi.com
  13.  
  14. In article <STEINARB.92Nov17092832@topas.idt.unit.no>, steinarb@idt.unit.no (Steinar Bang) writes:
  15. |> > You need to set the appropriate attribute on the window's style,
  16. |> > e.g., window->style()->attribute("iconName", "foo").
  17. |> 
  18. |> Won't this conflict with the resource and command line interpretation?
  19. |> I.e. in that setting this attribute explicitly will override any
  20. |> attempts to change the name at run-time, either through X resources or
  21. |> command line arguments.
  22. |> 
  23. |> Wouldn't it be more better to set the name in the application resource
  24. |> default array passed to the Session constructor?
  25.  
  26. Yes, defining a resource is better if the information is static.
  27. If the iconName is computed (e.g., argv[1]), then it has to be set
  28. explicitly.
  29.