Path: utzoo!attcan!uunet!husc6!mailrus!tut.cis.ohio-state.edu!bloom-beacon!oberon!sdcrdcf!hplabs!hp-pcd!hpcvlx!bw From: bw@hpcvlx.HP.COM (Bill Wilhelmi) Newsgroups: comp.windows.x Subject: Resource Database - Help! Message-ID: <1610015@hpcvlx.HP.COM> Date: 12 May 88 19:17:53 GMT Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 57 Help! I'm confused about the Xlib Resource Manager and particularly the resource database. I have bounced around the Xlib manual (chapters 4 and 10), the toolkit manual, and the Inter-client Communication Conventions Manual (Feb 25 draft) trying to figure out: 1. Who owns a resource database? A client? A window? 2. There are specific references to a resource database loaded into the server, or stored as a property on the root window. Which is true? To quote the Xlib manual: Your personal resource database usually is stored in a file and is loaded onto a server property when you log in. This database is retrieved automatically by Xlib when a connection is opened. (10.11) Also: When an application looks up a resource (for example, a color), it passes the complete name and complete class of the resource to a lookup routine. After lookup, the resource manager returns the resource value and representation type. (10.11) And: Defaults are usually loaded into the RESOURCE_MANAGER property on the root window at login. (10.2) These quotes make references to _the_database_. Which data base is this? Is this a property on the root window? 3. What does the first quote above mean by "when you log in"? Does that mean when you fire up the X server? Or does it mean when you open a display? 4. Can a client have more than one resource database attached to it? 5. Is the resouce database and the resource manager referred to in the Xlib manual the same as that used by the toolkit? 6. In section 10.11.2 of the Xlib manual, it says that a resource database is an opaque type. What does this mean? 7. Section 4 of the Inter-client Communication Conventions Manual discusses resources that are allocated to clients. Are these the same types of resouces as are discussed in the Xlib manual, chapter 10? Thanks in advance for whoever can clear up my fog. Bill Wilhelmi Hewlett-Packard Company Corvallis Workstation Operation Corvallis, Oregon ______________________________________________________________________________