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 |
One simple question: I define in UIL the main_widget with all its controls ... I open the UID-hierarchy with the routine DwtOpenHierarchy. Is there a way to find out the widget_ids of all the widgets in the opened hierarchy? I think with the routine DwtFetchWidget i can only fetch widgets, which do not hang in any hierarchy defined in UIL. I can get the widget_id by defining a callback_procedure. But i liked to get the id in another way. Any ideas? Thanks Christiane
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2748.1 | XtNameToWidget | TLE::ZANZERKIA | Fri May 11 1990 10:24 | 6 | |
Using "create" callbacks is the better way of getting the widget id. Alternate is to use the function XtNameToWidget(top-level-widget,names) See the "XUI toolkit intrinsics manual (C bindings)" section 11.2 "Utility functions" Robert | |||||
2748.2 | Look at DECburger | ATLV5::DIAL_B | Fri May 11 1990 10:32 | 5 | |
The DECburger approach to this problem works pretty well. Having a table with every widget ID your application uses is overkill sometimes, but the flexibility of easy access to any widget ID is worth it. Barry |