Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!ucbvax!agate!color.ced.berkeley.edu!spanki From: spanki@color.ced.berkeley.edu (Frank Goodman) Newsgroups: comp.windows.x Subject: Writing new Widgets under Athena. Keywords: borderColor... Message-ID: <1990Feb5.013524.26667@agate.berkeley.edu> Date: 5 Feb 90 01:35:24 GMT Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Reply-To: spanki@color.ced.berkeley.edu (Frank Goodman) Organization: UC Berkeley Center of Environmental Design Research Lines: 23 I'm having trouble writing a widget. Specifically, I want to set the border width and border color on my new widget. My widget is a subclass of Core, and Simple. What steps do I need to take to allow the specification of a border width for my widget. It is my understanding, that this is already a fnction of the Core Widget. X doesn't complain when I specify a border width, but then again, it doesn't display it either. Is there something I need to do in my Initialize routine (or perhaps SetValues) to make the border show? I've looked at the code for the Athena Widgets, and I can't figure it out. If I set the resource: MyProg*borderWidth: 5 Then every widget in my application but mine gets a 5 pixel border width. I'm lost ?!?!?!?!?! Thanks in advance, Frank. --------------------------------------------------------------------------- Frank Goodman arpa: spanki@CED.Berkeley.EDU University of California, Berkeley or: spanki%CED@jade.Berkeley.EDU College of Environmental Design uucp: ...hplabs!ucbvax!ced!spanki S.I.S Research Laboratory phone: Novelty item, not necessary ---------------------------------------------------------------------------