[comp.windows.x.motif] Toggle Buttons

ltlovett@eos.ncsu.edu (LANCE LOVETTE) (01/27/91)

I have a menu of toggle buttons.  I would like
to know if there is a way to either set the
toggle so that the choice selected is either
something other than the default filled box,
-like a check mark or an arrow-, or to make
all the toggles have the empty box next to
them and only the one selected to be filled.

The way it is now all the toggles are blank
untill it is selected, then it becomes a filled box.

Thanks, 
  Lance Lovette

NCSU-CSC
ltlovett@eos.ncsu.edu

andreess@mrlaxs.mrl.uiuc.edu (Marc Andreessen) (01/27/91)

In article <1991Jan26.130406@eos.ncsu.edu> ltlovett@eos.ncsu.edu (LANCE LOVETTE) writes:
>I would like to know if there is a way [...] to make
>all the toggles have the empty box next to
>them and only the one selected to be filled.
>
>The way it is now all the toggles are blank
>untill it is selected, then it becomes a filled box.

To have a toggle button start life on (i.e. set), use XtSetArg to
set XmNset to TRUE before creating that button...

Marc

--
Marc Andreessen___________University of Illinois Materials Research Laboratory
Internet: andreessen@uimrl7.mrl.uiuc.edu____________Bitnet: andreessen@uiucmrl