Path: utzoo!mnetor!uunet!husc6!think!ames!ucbcad!ucbvax!hplabs!hpcea!hpfcdc!hpfclp!diamant From: diamant@hpfclp.HP.COM (John Diamant) Newsgroups: comp.windows.x Subject: Toolkit name/class and "Hello, World" article Message-ID: <9740008@hpfclp.HP.COM> Date: 8 Dec 87 00:24:15 GMT Organization: HP, Fort Collins, CO Lines: 23 Several weeks ago, the question came up about what the distinction between name and class was in the Toolkit/resource manager. Some people were claiming that the name of an application was its argv[0] and its class was some more global name (like "editor") while others were claiming that its name was unique to a particular instance (like a buffer name in an editor) and its class was its argv[0]. I seem to remember the second being agreed upon, but I'm not sure. However, I notice in the "Hello, World" article, David Rosenthal chose the former interpretation in his sample Toolkit program. The most recent Toolkit documentation states that the name is "Name of this instance of the application." and class_name is "Class name of this application. Usually the generic name for all instances of this application." That seems to support the second interpretation above, not the one in the article. So which is it? The only way I can reconcile the wording above with the article usage would be if an instance of an application means a copy of this application saved under a particular name. John Diamant UUCP: {hplabs,hpfcla}!hpfclp!diamant Hewlett-Packard Co. ARPA Internet: diamant%hpfclp@hplabs.HP.COM Fort Collins, CO