From: southern@sage.cgd.ucar.edu (Lawrence Buja)
Newsgroups: comp.text.frame
Subject: Re: Xdefaults for placement of frame startup window
Date: 12 Nov 92 16:24:32 GMT
Article-I.D.: ncar.1992Nov12.162432.22328
Reply-To: southern@ncar.ucar.edu
Distribution: usa
Organization: National Center for Atmospheric Research

harding@sun444.nas.nasa.gov (Steve Harding) writes:
>bsridhar@acsu.buffalo.edu (Sridhar B) writes:
>>
>>I have a problem with defining the geometry for the initial startup window that
>>pops up when frame is started. I am running frame3.1x on X11R5 with twm using
>>Sun OS 4.1.2 . When I specify the geometry thus:
>>
>>	Maker.makerkit.geometry:        322x66+831+140
>>
>>It doesn't work. Instead I get the dotted outline which I have to place myself.
>>Any solutions?
>
>We have just gone thru that exercise.  It is a Frame "known problem".  3.1x
>pays no attention to geometry, unless you are using mwm.


Since the Frame docs are woefully incomplete on the subject of
Xdefaults/Xresources, ya just gotta play around with these things until
something works.   They're case sensitive and *'s appear to mean
something different than .'s.  What worked for me (after trying various
combinations and permutations) was:

    maker*makerkit*foreground:  white
    maker*makerkit*background:  blue
    maker*makerkit*geometry:    322x66-0+0

I tried to make just the exit button  makerkit in the red with:

    maker*makerkit*exitbutton*background:      red

but it didn't work.  

I sent in a request for a complete list of resource names to
comments@frame.com two days ago, but haven't heard anything back yet.
I'll post the results if they come back with anything useful.  

Below I've appended the Xdefaults color and geometry settings that I've
tried guessing at so far.  Some of 'em work and some of 'em don't.
Since I'm still testing it out, the colors were set for uniqueness
rather than aesthetics.

If anyone has a good working Xdefaults file that sets these resources
correctly, I'd love to see it.


/\      Lawrence Buja           Climate and Global Dynamics Division
  \_][  southern@ncar.ucar.edu  National Center for Atmospheric Research
      \_________________________Boulder,_Colorado___80307-3000__________
------------------------------------------------------------------------
!
! 'FrameMaker'
!
!maker*Foreground:            white
!maker*Background:            darkslategray
Maker*focusOnMouse:          True
maker*focusOnMouse:          True
! COLOR DISPLAY

!	Use this resource to specify whether you want FrameMaker to
!	display spot colors in color on a color monitor.

Maker.colorDocs:		False

!	Use this resource to specify whether you want FrameMaker to display
!	color images in color on a color monitor.

Maker.colorImages:		True

!	Use these resources to change the color of scroll bars in the
!	document window.

Maker*foreground:		black
Maker*background:		lightgray
Maker*vertSB.background:	blue
Maker*vertSB.foreground:	white
Maker*horizSB.background:	blue
Maker*horizSB.foreground:	white

!	Use this resource to change the foreground color of the
!	document window.  If Maker.colorDocs is True, this will have
!	no effect on the color of the text in the document window.
!

Maker*winRect.foreground:	white

!	Use this resource to change the background color of the
!	document window.

Maker*docForeground:		yellow
Maker*docBackground:		darkslateblue
maker*doc*foreground:		white
maker*doc*background:		darkslategray

!	Character Format window coordinates:

Maker.fontdesign.bb.x:		600
Maker.fontdesign.bb.y:		20
maker*fontdesign*foreground:    white
maker*fontdesign*background:    darkslateblue

!	Conditional Text window:

Maker.cond_text.bb.x:		660
Maker.cond_text.bb.y:		164
maker*cond_text*foreground:     white
maker*cond_text*background:     HotPink1

!	Custom Ruling and Shading window coordinates:

Maker.cust_rs.bb.x:		600
Maker.cust_rs.bb.y:		380
maker*cust_rs*foreground:       white
maker*cust_rs*background:       nav

!	Marker window coordinates:

Maker.edit_markers.bb.x:	600
Maker.edit_markers.bb.y:	20
maker*edit_markers*foreground:  white
maker*edit_markers*background:  magenta

!	Newly created book window dimensions:

Maker.bookkit.form.width:	300
Maker.bookkit.form.height:	225
maker*bookkit*foreground:       white
maker*bookkit*background:       aquamarine

!	C Catalog coordinates and dimensions:

Maker.cCatalog.form.x:		685
Maker.cCatalog.form.y:		217
Maker.cCatalog.form.width:	136
Maker.cCatalog.form.height:	168
maker*cCatalog*foreground:      white
maker*cCatalog*background:      blue

!	P Catalog coordinates and dimensions:

Maker.pCatalog.form.x:		685
Maker.pCatalog.form.y:		0
Maker.pCatalog.form.width:	136
Maker.pCatalog.form.height:	168
maker*pCatalog*geometry:        100x200-0-0
maker*pCatalog*foreground:      white
maker*pCatalog*background:      yellow3

!	Paragraph Format window coordinates:

Maker.pgf.bb.x:			600
Maker.pgf.bb.y:			20
maker*pgf*foreground:   white
maker*pgf*background:   SeaGreen3

!	Search window coordinates:

Maker.edit_search.bb.x:		600
Maker.edit_search.bb.y:		0
maker*edit_search*foreground:   white
maker*edit_search*background:   PaleVioletRed1

!	Spelling Checker window coordinates:

Maker.edit_spell.bb.x:		600
Maker.edit_spell.bb.y:		20
maker*edit_spell*foreground:    white
maker*edit_spell*background:    burlywood3

!	Table Format window coordinates:

Maker.tab.bb.x:			600
Maker.tab.bb.y:			20
maker*tab*foreground:  white
maker*tab*background:  lightpink

!	Tools window coordinates:

Maker.tools.tools_form.x:	600
Maker.tools.tools_form.y:	20
maker*tools*foreground:  white
maker*tools*background:  darkgreen

!	equations window coordinates:

Maker.equation*bb.tools_form.x:	600
Maker.equation*bb.tools_form.y:	20
maker*equation*bb*geometry:    -0-0
maker*equation*bb*foreground:  white
maker*equation*bb*background:  darkgreen
maker*Equation*bb*geometry:    100x200-0-0
maker*Equation*bb*foreground:  white
maker*Equation*bb*background:  darkblue


maker*makerkit*geometry:	322x66-0+0
maker*makerkit*foreground:	white
maker*makerkit*background:      blue
maker*makerkit*exitbutton*background:      red

maker*Alert*geometry:	322x66+0-0
maker*Alert*foreground:	white
maker*Alert*background:      blue