[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

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

3455.0. "modifing widget tree" by MLNCSC::VOCI () Thu Oct 11 1990 11:03

    A customer would like to set a carattestic for all the widget in a
    tree. Is there a way of doing this automaticaly? .
    
    She tried to fetch the widget one at the time, but there was a problem
    with the pull down entry that didn't seen to see the pull down menu has
    a dependent widget.
    
    I'm sorry for how I explained the problem, I'm not too much in the decw 
    programming.
    
    The main problem is if there is a way for modifing automatically
    a whole tree of widget.
    
    Thanks,
    Gea.
T.RTitleUserPersonal
Name
DateLines
3455.1Identifiers (UIL)R2ME2::OBRYANInstant Gratification takes too longThu Oct 11 1990 14:0714
re:.0

>    The main problem is if there is a way for modifing automatically
>    a whole tree of widget.
If you're talking about setting an attribute for a widget tree at creation
time (using UIL and DRM(Mrm)), then there is indeed a simple way to do this.
For all of the object declarations in that widget hierarchy, specify the
value of the desired argument to be an Identifier.  In your source code, just
before fetching the top-most object from the UID, register the Identifier with
DRM(Mrm) with that value which you wish propagated to all the objects you are
about to create.

Michael
3455.2children and popup childrenSTKMKT::SWEENEYPatrick Sweeney in New YorkThu Oct 11 1990 16:086
    the right way to do this is at creation time, but if you are doing it
    at run time, descend the "children" tree and the "popup children" tree.
    
    Pulldown menus are considered popup children in this context since they
    are not true children: their windows are not contained with their
    parents, the "X parent window" for popups is the root window.