Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!mips!nec-gw!sparkle!achan From: achan@sparkle.nec.com (Amy Chan) Newsgroups: comp.windows.x.motif Subject: Re: graphic on button Message-ID: <436@nec-gw.nec.com> Date: 21 Jan 91 18:10:12 GMT References: Sender: news@nec-gw.nec.com Organization: NEC-AM TDD, San Jose, California Lines: 16 In article wl16+@andrew.cmu.edu (Wen-Yang Lin) writes: > > [ part of article deleted] > >My question is: >Is it possible to draw graphic on the button directly instead of writing text on the button such as "Line" and "Circle" to indicate user for drawing line or circle on drawing area? And how to do that? > Try using the XmDrawnButton widget which provides a graphics area that can have PushButton input semantics. Amy Chan Software Engineer NEC America, Inc., San Jose, CA achan@tdd.sj.nec.com