Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!dimacs.rutgers.edu!aramis.rutgers.edu!paul.rutgers.edu!emuleomo From: emuleomo@paul.rutgers.edu (Emuleomo) Newsgroups: comp.windows.x.motif Subject: Re: Bar graph widget Message-ID: Date: 28 Feb 91 03:13:58 GMT References: <9102272203.AA29203@BU.EDU> Distribution: inet Organization: Rutgers Univ., New Brunswick, N.J. Lines: 16 Hi, You dont need a bar graph widget. I remember having to do this before! Horizontal bar graphs are not as difficult as you think! All you need to do is set up a XmForm widget, and for each bar, set up an XmPushButtonGadget (or XmPushButtonWidget). You can then change the XmNheight or XmNwidth of these Pushbuttons as required! Also yo can change their XmNSensitive to FALSE. By the way, the XmForm serves as the parent of these pushbuttons. Dont forget to do Attach the Left side of each button to the form. --Olu -- Remember! It doesn't matter if you win or lose, as long as you win!