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 would like to use the attachment attributes (DwtAttachNone, DwtAttachAdb, etc...), to attach the children of a scroll_window widget (the children two scroll_bar widgets, and a window widget). Is this possible, or can you only attach the children of an attached dialog box? A coded example would be great. Thanks. Cecile.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
274.1 | let the scroll_window do the work for you... | R2ME2::OBRYAN | When in doubt, let the user decide. | Thu Feb 23 1989 11:56 | 21 |
re:.0 -< Specifying attachements for children of a widget. >- > I would like to use the attachment attributes (DwtAttachNone, > DwtAttachAdb, etc...), to attach the children of a scroll_window widget > (the children two scroll_bar widgets, and a window widget). > Is this possible, or can you only attach the children of > an attached dialog box? Since scroll_window is not a subclass of attached_dialog, my guess is that any such attachments would (at best) be ignored. The question arises: do you need such attachments? The scroll_window knows how to configure these special children provided that you tell it which child is which. (In UIL, that would mean specifying the following arguments for the scroll_window: horizontal_scroll_bar = scroll_bar <your horizontal scroll_bar name>; vertical_scroll_bar = scroll_bar <your vertical scroll_bar name>; work_window = window <your window name>; If you're not using UIL, you could use XtSetValues to designate these children. I believe there is also a routine like SetMainAreas for scroll_windows, but I don't have the name at my fintertips.) | |||||
274.2 | Poor beginner lost in attributes, resources... | AZUR::BODIN | Pascal - I, not the language | Wed Oct 25 1989 05:51 | 5 |
Additional question: how to use attachement attributes when you don't use UIL? I mean: which function, which argument...? In one word, help! Pascal. | |||||
274.3 | Found! | AZUR::BODIN | Pascal - I, not the language | Wed Oct 25 1989 07:59 | 12 |
I found the answer to my previous question. Just in case somebody else is interested: the attachment attributes are constraint attributes belonging to any widget made a child of an Attached Dialog Box. This is documented in the "VMS DECwindows Toolkit Routines Reference Manual", in the section dedicated to the Attached Dialog Box Create low-level routine. Pascal (going on trying to write something that could be named a DECwindows program). |