| Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
| Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
| Moderator: | STAR::VATNE |
| Created: | Mon Oct 30 1989 |
| Last Modified: | Mon Dec 31 1990 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 3726 |
| Total number of notes: | 19516 |
I wish to have an apply button associated with multiple widgets
and would like to use the same apply activate routine. Within
that routine I would like to know in which widget this apply
was called. For example is there a function like GetCurrentParent.
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 694.1 | LEOVAX::TREGGIARI | Thu Apr 27 1989 12:55 | 4 | ||
The first argument to all callback routines is the widget-id.
Leo
| |||||
| 694.2 | But isn't that the widget id of the label not the containing widget? | IO::MCCARTNEY | James T. McCartney III - DTN 381-2244 ZK02-2/N24 | Fri Apr 28 1989 18:09 | 1 |
| 694.3 | LEOVAX::TREGGIARI | Sat Apr 29 1989 09:01 | 6 | ||
Yes. It wasn't clear to me which widget id he wanted. If he wants
the parent, then he can call XtParent of the widget-id returned in
the callback.
Leo
| |||||