kenney@milton.u.washington.edu (Michael Kenney) (01/15/91)
I've been programming with Xlib for a while now and just recently decided
to give Xt a try - it sure didn't take long to run into a problem :-).
I'm attempting to popup an already created DialogBox from within an action.
Depending on the input string to the action I want the DialogBox to have
one of 2 labels ("Enter input file" of "Enter output file"). I can't seem
to change the label with XtSetValues - the box always pops up with the
default label.
Here's the method I use within the action:
- Set label in DialogBox widget according to input
- Set x,y of PopupShell according to pointer position
- XtRealizeWidget(PopupShell)
- XtPopup(PopupShell, XtGrabNonexclusive)
Am I forgetting something? Please respond via email.
Thanks in advance.
Mike Kenney
UW Applied Physics Lab mikek@apl.washington.edu