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 have a customer who is trying to use the Unrealize widget command (XtUnRealizeWidget). His problem is that when he looks into the include file for intrinsics it indicates that the command needs no parameter passed, i.e. the command should be XtUnRealizeWidget(). The documentation (Page 2-228 of volume 1B Toolkit Routines) say that the widget id is needed. Who is right. Obviously, if he used the include file for intrinsics he should not include the widget id, but then how does the routine know which widget to unrealize. I think I have rambled long enough. Thanks for any help Dave.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2547.1 | Pass the widget ID | DECWIN::KLEIN | Fri Mar 30 1990 12:57 | 14 | |
Of course they need to pass a widget ID. I think that a prototype routine definition (in an .h file) that has no arguments means that the argument list won't be checked, not that there are no arguments to the real function. They should beware, however, that unrealizing a widget is "pushing the functionality envelope". By that, I mean that there have been several QARs, etc, reported in this area and that it does not always do what is expected. (But it probably *is* better than XtDestroyWidget.) (:?) -steve- |