Parent document is top of "Motif FAQ (Part 3 of 9)"
Previous document is "63) Does anyone have an alternative set of 3-D defaults for a"
Next document is "65) How can I configure mwm, such as changing or adding to root"

64) What are some useful mwm resources I can control?

[Last modified: Sept 95]

Answer:  Ken Sall (ksall@cen.com) writes:  Some you might consider, taken from
the mwm(1) man page, are:

    clientAutoPlace (class ClientAutoPlace)
            This resource determines the  position  of  a  window
            when  the  window  has  not  been given a program- or
            user-specified position.  With a value of True,  win-
            dows  are positioned with the top-left corners of the
            frames offset horizontally and vertically.   A  value
            of  False causes the currently configured position of
            the window to be used.   In  either  case,  mwm  will
            attempt  to place the windows totally on-screen.  The
            default value is True.

    focusAutoRaise (class FocusAutoRaise)
            When the value of this resource is True, clients  are
            raised  when  they  get the keyboard input focus.  If
            the value is False,  the stacking of windows  on  the
            display  is  not  changed when a window gets the key-
            board input focus.  The default value  is  True  when
            keyboardFocusPolicy  is  explicit and False when key-
            boardFocusPolicy is pointer.

    interactivePlacement (class InteractivePlacement)
            This resource controls the initial placement  of  new
            windows  on  the  screen.   If the value is True, the
            pointer shape changes before a new window  is  placed
            on the screen to indicate to the user that a position
            should be selected for the upper-left corner  of  the
            window.   If  the  value is False, windows are placed
            according to the initial window configuration  attri-
            butes.  The default value of this resource is False.

    positionIsFrame (class PositionIsFrame)
            This resource indicates how  client  window  position
            information  (from  the  WM_NORMAL_HINTS property and
            from configuration requests) is  to  be  interpreted.
            If  the  resource  value  is True, the information is
            interpreted as
            the position of the MWM client window frame.  If  the
            value  is False, it is interpreted as being the posi-
            tion of the client area of the window.   The  default
            value of this resource is True.

    positionOnScreen (class PositionOnScreen)
            This resource is used to indicate that windows should
            initially  be  placed  (if possible) so that they are
            not clipped  by  the  edge  of  the  screen  (if  the
            resource  value is True).  If a window is larger than
            the size of  the  screen,  at  least  the  upper-left
            corner  of  the window is on-screen.  If the resource
            value is False, windows are placed in  the  requested
            position  even  if  totally  off-screen.  The default
            value of this resource is True.

    useIconBox (class UseIconBox)
            If this resource is given a value of True, icons  are
            placed in an icon box.  When an icon box is not used,
            the icons are placed  on  the  root  window  (default
            value).

[Note: Still looking for a WWW link to Motif man pages --- anyone got one?
Send to ksall@cen.com]

Parent document is top of "Motif FAQ (Part 3 of 9)"
Previous document is "63) Does anyone have an alternative set of 3-D defaults for a"
Next document is "65) How can I configure mwm, such as changing or adding to root"