Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.730 xmframe

xmframe(parent [, h_margin, v_margin, width, type])

[motif package] Creates a frame widget and returns its id. A frame widget is a rectangular widget that has a visible frame along its boundaries. The size of the margins between the visible frame and the children widgets is determined by h_margin (horizontal) and v_margin (vertical), which are measured in pixels. The width of the frame lines is equal to width pixels. Frames come in four different types, indicated by the value of type:

  1. The frame appears to protrude behind the parent; The contents are at ground level.
  2. The frame appears to protrude in front of the parent; The contents are at ground level.
  3. The frame and contents appear to protrude behind the parent.
  4. The frame and contents appear to protrude in front of the parent.