Path: utzoo!attcan!uunet!cs.utexas.edu!usc!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Label Widgets Message-ID: <8906271701.AA09113@expo.lcs.mit.edu> Date: 27 Jun 89 17:01:43 GMT References: <8906261608.AA20658@schedule.mcs.anl.gov> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 19 > I am using the Athena widgets under X11 for a tool that displaysa graphical > representation of memeory access patterns on a shared memory system. The > problem is that when I try to change label widgets when graphics are being > displayed the labels simply disappear from the screen. If no graphics > are being displayed, there is no problem. From the context of the message it appears that you are writing over the label in the label widget. The best method to acheive what you want is to create a sub-class of the label widget that will display your graphics for you. This widget needs to take great care to draw the rectangles first and in a different color so that the text will remain visable. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213