Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!amdahl!pyramid!hplabs!hpda!hpcupt1!lasslo From: lasslo@hpcupt1.HP.COM (Richard Lasslo) Newsgroups: comp.windows.x Subject: Re: label widget Message-ID: <6370003@hpcupt1.HP.COM> Date: 1 Dec 88 18:50:35 GMT References: <2039@nunki.usc.edu> Organization: Hewlett Packard, Cupertino Lines: 14 > I am learning how to program using the toolkit with X-Windows. >If this sounds too trivia to some of you, please forgive me. >I am working on a calculator program and would like to changed >the displayed value as the user clicks on the number buttons. I am >currently using the labelWidget to display the numbers. I have tried >using XtGetValues, XtSetArg, and XtSetValues, but was unable to succeed. I did a calculator program with widgets and used statictext widgets to display the numbers. I used XtSetValues to change the numbers. Also I put a frame widget around the static text widget to get a realistic looking calculator. Good Luck