| 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'm looking for a program that demonstrates the use of UID as a
template for multiple copies of a widget. My customer wants to be
able to create a potentially large number of dialog boxes, all slightly
different. I know you do this with override-arg. I'm plenty
familiar with the concepts, but I'd like to be able
to show them an example, and if I can avoid programming it
myself...
Thanks in advance,
Ken b.
(cross posted in dw_examples notesfile)
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 2250.1 | Reasons, example | CALL::SWEENEY | Patrick Sweeney in New York | Mon Feb 12 1990 22:30 | 19 |
Ken,
The typical reasons for using a template widget descriptions and using
DwtFetchWidgetOverride:
(a) the widget is the root of a widget tree that is fetched at the
same time, but the fetched widget is different in each instance.
(b) the widget is something simple like a label, the UIL defines things
like a background pixmap, and each new instance has something different
like a label value.
(c) the widget is a child of a large menu or dialog box with almost
similar siblings
For an examples see xqt.c, which is note 187 in ELKTRA::DW_EXAMPLES. I
thought I left this example behind in Hong Kong, SWEENEY.BCK on that
customers system should have all my examples. You'll see me back in
Hong Kong on Feb 19.
| |||||