[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

1137.0. "CREATE/TERMINAL - how can I position the ICON" by VANPYR::BLAKE (The Rottweiler did it) Wed Jul 19 1989 04:51

I am running VMS V5.2 and DECW V2 EFT1. Using CREATE/TERMINAL I can't find a way
to place the ICON at a specific (x,y) in the ICON box. I can place the window, 
specify the window title, ICON title etc, but can't place the ICON. I must be
missing the obvious, can somebody help please?

Cheers,

Colin.

T.RTitleUserPersonal
Name
DateLines
1137.1DECWmHints propertySTAR::CYPRYCHWed Jul 19 1989 10:0712
    In DECWmHints property there are two values,
    icon_box_x and icon_box_y.
    
    Please be aware that if you position icons yourself,
    the window manager is going to assume that the x/y
    position you specify is exactly where you want the icon
    to be.   If you cover another icon's pixmap with this x/y
    position the window manager will let you do that.  The
    window manager isn't going to try to adjust the initial
    placement of the icon -- it assumes this is exactly where
    the user wants it to be (for whatever reason).

1137.2From a program, that is fine, but...PROTO2::FISHERBurns Fisher 381-1466, ZKO3-4/W23Wed Jul 19 1989 11:515
Right, but the question is how to get the terminal controller to specify
this infomration to the window manager form the DCL interface.

Burns

1137.3Can't be specified on the command lineHANNAH::MESSENGERBob MessengerWed Jul 19 1989 13:1711
Re: .0

There's no way to do it from the command line.  You could put the resource
definitions in a setup file and specify the filename in the /RESOURCE_FILE
qualifier; if you did this you'd probably need a different setup file
for each window you wanted to create.

I'm not sure which resource needs to be changed.  Maybe iconX and iconY?

				-- Bob

1137.4PRNSYS::LOMICKAJJeff LomickaWed Jul 19 1989 15:228
Either that, or go back to using CHILD.

(If it doesn't already work, If you replace the call to
decw_term_port() in NEWTERM.C with a call to DECW$TERM_PORT, CHILD
should start working on the "Version 2" systems.)



1137.5window manager placementSTAR::CYPRYCHWed Jul 19 1989 15:336
    Even if you use the resources the same situation applies...
    the window manager will put it exactly where you say -
    whether there is already an icon there or not.
    
    

1137.6The ICON Box is tyranny under DECwindows!FUEL::grahamSend in the Clones!Thu Jul 20 1989 01:0612
I have reviewed some of the OSF Motif stuff.  OSF has improved
the Icon Box features and documentation dramatically.

Drop a $1000 to OSF...and you will be in X application development
heaven ;-)

I spoke with the OSF Motif product manager today...she says OSF will ship
the final version of Motif to the masses this Friday!

Kris..

1137.7VISA::GENTILIBanlieue Boogie Cardiac BluesFri Jul 21 1989 05:1210
    
    I have a similar problem but just trying to save the position and 
    geometry of my icon box. The position and geometry of the session
    manager window is saved perfectly well but not the icon box.
    Is there a way to do it ?
    
    thanks for the help.
    
    Franc

1137.8try..FUEL::grahamThe Mouse is the Computer.Fri Jul 21 1989 06:4814
something like...

wm*geometry:         130x300+600+0

Works fine with Ultrix /DECwindows on a PMAX.

(btw : With Motif, you can even iconify the icon box and still see
window manager 'clients' in the icon box!)

Kris..




1137.9STAR::MFOLEYRebel without a ClueFri Jul 21 1989 08:128
       RE: .-1,.-2
       
       With V2 of DECwindows, using the MB2 popup menu, you can save the
       size and placement of the icon box. Having the line from -1 will
       mess it up tho..
       
       							mike