home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!ulowell!koverber
- From: koverber@cs.ulowell.edu (Kurt Overberg)
- Subject: Re: controlling an option menu from within the program
- Message-ID: <C050GD.Lpu@ulowell.ulowell.edu>
- Originator: koverber@bigmax.ulowell.edu
- Sender: usenet@ulowell.ulowell.edu (News manager - ulowell)
- Organization: University of Massachusetts at Lowell Computer Science
- References: <1992Dec30.205716.17673@gate.esat.kuleuven.ac.be> <DRAND.92Dec31112858@spinner.osf.org>
- Date: Thu, 31 Dec 1992 18:53:01 GMT
- Lines: 22
-
-
- In article <1992Dec30.205716.17673@gate.esat.kuleuven.ac.be> johanb@joyce.esat.kuleuven.ac.be (Johan Buelens) writes:
- |>
- |> user against absurd or potentially dangerous combinations of options).
- |> i tried to use XtVaSetValues(option_menu,XmNmenuHistory,0,NULL) which
- |> executes without complaints but also without visible results; the program
- |> then crashes the next time the option menu is activated.
-
- I was always under the impression that the XmNmenuHistory took
- a Widget ID of the last option chosen. It looks like you are
- simply setting it to zero (or NULL)... Try setting it to the Widget ID
- of the button you want the option menu to default to.
-
-
- peace out.
-
- kurt
-
- --
- Kurt Overberg | I honestly doubt you care about my opinions ;^)
- U of Mass, Lowell | "Poke a double-decker on a Llama taboot,
- koverber@cs.ulowell.edu | Llama taboot, taboot!" -Phish
-