[comp.windows.x] motif questions

phelps@sleepy.UUCP (Vernon J. Phelps) (05/26/90)

I have several questions regarding Motif that maybe someone can help with.
WE are running Motif 1.0 (patched)
Platform: Sun Sparc station-1
X: X11R4,X11R3

1. I am having problems with corrupted list box text and button labels.
   This includes the buttons on mwm re-start confirmation dialog box.
   The problem happens randomly although seems more common when the network
   is heavily loaded. I did not have the problem when running on a Sun 386i.
   I have tried linking to both R3 and R4 X11lib, and running R3, R4, and
   XneWS servers with same results. Has anyone else experienced this
   behavior?

2. Is there a way to specify the initial location of a shell widget?
   I have tried XtSetArg when creating the shell, and have tried setting
   <client name>.x, <clien name>.y in Xdefaults resource file but mwm
   continues to place the window wherever it wants to. I can move it after
   its mapped with XtSetValues.


                                Thanks - Jim Phelps  Boeing BCS
                                ...!uunet!bcstec!sleepy!phelps

mac@trantor.harris-atd.com (Mike McDonald) (07/25/90)

  I'm posting this for a friend. Please reply to him

  Mike McDonald

------------------------------------------------------------------

We are using Motif on a DEC 3100 workstation.  Some things 
we have been trying to do:

    Protected areas of screen.
        We want to limit most of our windows to a sub-area
        of the screen. Outside of the sub-area will reside
        control and status windows which we cannot allow to 
        be covered.

    Icon color control.
        Need programatic control over the foreground and
        background colors used for the window's icon.
        We have been successful at changing the bitmap,
        as well as *swapping* the foreground and background
        colors defined in the Xdefaults file.  
        We want to *redefine* the colors at runtime.

    Iconbox vertical scrollbar removal.
        To maximize useable screen real estate, we want to
        remove at least the vertical scrollbar from the iconbox. 
        The horizontal scrollbar will be used in most, but not
        all cases.


Rick Simonian
Harris Space Systems Corp
rsimonian@nasamail.nasa.gov       or...
rsimonian%nasamail@ames.arc.nasa.gov

breck@umvlsi.ecs.umass.edu (Liam Breck) (01/06/91)

Can someone tell me about the structure and features of Motif? (I am
familiar with all the basic X concepts, so replies can be technical
and detailed.)  I understand it to be a toolkit library of pretty
widgets and a window manager.  Does it include some sort of graphical
shell as well?  (Like Looking Glass and X.desktop for X and finder on
the Mac.)  If so, is that GS built into the window manager, or is it
separate?  If not, is OSF planning on creating one?  Will clients
built using the motif library run on any vanilla X server, or is there
a special extended X server to handle Motif functions?  (Digital has
done this with DECWindows, have they not?)

Please email, I'll post a summary if asked.

dstewart@dallas.rockwell.COM (02/13/91)

Hello Xperts...

I'm somewhat new to X/Motif and am being forced to learn everything the
hard way, since my company won't send me for training.  I've come up with
a couple of questions - if anyone can help, I'd appreciate it.

1) What are the x-y coordinates based on?  Is it pixels?  Where is 0,0 -
   the upper left corner of the screen?  
2) I'm using UIL to define the interface as much as possible, and X calls
   to supplement it.  Using UIL, how do you specify that mnemonics should
   be underscored on the display?  Since UIL expects the numerical 
   representation of the character, rather than a char string with a "_"
   in front of it (as can be done from C when programming the mnemonic),
   there's no way I can find to tell it to underscore the mnemonic.

Please send any responses directly to me.  I've sent mail twice to 
xpert-request to get on the mailing list and still have gotten no
response/confirmation (is anyone listening?).

Thanks much,
Dan Stewart
Rockwell Int'l
[dstewart@dlvax3.rok.dallas.com]   <--check header to make sure this is 
                                      right....

bwa@ctron.COM (Brian Ashford) (03/08/91)

I would like to know if there is a mialing list for motif questions...
specifically how to get a ScrolledList widget, that has a form as
a parent and label as a sibling, to allow me to handle a button 3.
AddEventHandlers and doing a don't propagate don't seem to allow 
me to catch the event...