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 |
Could someone explain why/how UIL allows you to put a create callback on any widget (ala Decburger), even if the callback isn't defined for it?? Alternatively, does anyone know how to get a create callback on an stext widget from from low level calls?
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2377.1 | UIL/DRM "magic" | LEOVAX::TREGGIARI | Wed Feb 28 1990 20:39 | 6 | |
Create callbacks are a UIL/DRM concept. The widgets are not doing the callback, DRM is. The basic idea is that DRM creates the widget and then calls the callback. To the application, it pretty much looks like any other callback, but the widget is not involved. Leo | |||||
2377.2 | Who needs create callbacks when using create routines? | 4GL::SCHOELLER | Who's on first? | Wed Feb 28 1990 21:03 | 7 |
In addition to what Leo said, create callbacks aren't necessary if you are using the create routines. The main purpose of the create callbacks is to let the application know that a widget has been createed and what its id was. If you are using create routines, the application already knows that. Dick | |||||
2377.3 | the real question | TOOLEY::B_WACKER | Thu Mar 01 1990 16:20 | 11 | |
OK I got off on the create tangent trying to get a map callback in order to set focus to a widget on the first realization of it. I know the style guide doesn't like it, but customers ask to do it a lot and I'm trying to make a clean example using XtCallAcceptFocus instead of the current XSetFocus and a dummy simple window to get an expose callback to do the set focus. Any suggestions on a clean way to get focus set on initial invocation? Bruce |