Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ccut!kogwy!new1!roger From: roger@zuken.co.jp (Roger Meunier) Newsgroups: comp.windows.x.motif Subject: Re: Completion bar Message-ID: Date: 12 Sep 90 16:05:01 GMT References: <1990Sep11.155203.18830@watserv1.waterloo.edu> Sender: news@new1.zuken.co.jp Organization: ZUKEN Inc. Yokohama, JAPAN Lines: 17 In-reply-to: anderson@watserv1.waterloo.edu's message of 11 Sep 90 15:52:03 GMT In article <1990Sep11.155203.18830@watserv1.waterloo.edu> anderson@watserv1.waterloo.edu (G.Anderson - Computing Services) writes: > I am looking for a way of displaying a bar, and filling it in as a > task is completed to give a visual indication of completion of a > task, much like the MAC system does. The Label widget accepts either a text string or a pixmap. You can create the label with a blank string/pixmap, and then use XtSetValues() to change the string/pixmap as the task progresses. Another possibility is the Scale widget. You can set the initial scale value to the minimum at creation, then update the scale value as the task progresses. Hope this helps... -- Roger Meunier @ Zuken, Inc. Yokohama, Japan (roger@zuken.co.jp)