T.R | Title | User | Personal Name | Date | Lines |
---|
823.1 | Most likely not a uil problem.
| 63679::ROSSI | | Thu May 25 1989 16:32 | 11 |
| RE: -1 The probelm still exists. Has anyone seen this before?
I have many shells, Most with completely unrelated menu bars and widgets
yet when I call XtPopdown on any shell widget, all the widgets (menu bars push
buttons etc ) on any shell that was created after the one poped down are
completely unusable.
I guess I don't understand how these widgets are all related. Could someone
try and explain? I was expecting any widgets whos's parent was not the shell
that was poped down to be unaffected by the popdown. Why isn't this the
case?
|
823.2 | | ASD::ROSSI | | Wed May 31 1989 09:47 | 30 |
| I have not solved this problem.
Why are my main menu widgets and their children dependent on shell
widget that are not their parents?
AA. applicationShellWidgetClass (Never popped up)
/ | \
/ | \
A.topLevelShellWidgetClass B.. C..
| | |
| | |
main window widgets ... ...
| | |
menu bars etc. ... ...
Is it posible that they are? I didn't think so. I think I am building
an application with the above structure. Why would a call to XtPopdown(A)
make menu bars on B and C unusable if the structure is as I have drawn it
above? When reading the documentation for XtPopdown or up it states that
it checks the shell's popped_up field and then sets this field. what is the
c binding for this field so I can check it with get values? I didn't find it
in Intrinsic Routines 2.3 Shell Widget Attributes. Is this problem for real?
Is the above structure wrong? Whenever I want a new shell I call
XtCreatePopupShell("Fred",topLevelShellWidgetClass,args,cnt); Should
I try another routine like XtCreateApplicationShell or XtCreateManagedWidget
and not use the XtPopup routines? The documantation says that XtCreatePopupShell
attaches the shell to the parent's list of popup shells directly rather
than using insert_child. What is the difference? I think I need some help.
|
823.3 | Solved. | TOTALY::ROSSI | | Fri Jun 02 1989 15:26 | 14 |
| RE:0
Ok folks, here is the solution. After a short talk with Leo I set the grab
for XtPopup to XtGrabNone instead of XtGrabNonexclusive. This solved the
problem of poping down one shell and causing any shells after it to loose the
ability to receive events.
Is this a bug? I'm not sure. In my case the results were undesirable.
Thanx Leo.
- Gus.
|
823.4 | | PSW::WINALSKI | Careful with that VAX, Eugene | Sat Jun 03 1989 18:37 | 7 |
| > Ok folks, here is the solution. After a short talk with Leo I set the grab
>for XtPopup to XtGrabNone instead of XtGrabNonexclusive.
What does your program do if Leo isn't around to be talked to? :-)
--PSW
|
823.5 | huh? | ASD::ROSSI | | Sun Jun 04 1989 22:41 | 8 |
| >> What does your program do if Leo isn't around to be talked to?
Sends him mail then hibernates. What were you expecting? It used to send
out Publishers Clearing House sweeps stakes tickets but that was CPU
intensive. It occasionally works out cold fusion experiments and an all
points shortest path algorithm for visiting downtown Boston locations
while avoiding street mimes.
|