FINDWMPADDING(3A) FINDWMPADDING(3A)
NAME
#include <X11/Intrinsic.h>
FindWmPadding, AdjustWmPadding - find size of window manager
padding
SYNOPSIS
FindWmPadding (w, tpad, lpad, rpad, bpad)
Widget w;
int *tpad;
int *lpad;
int *rpad;
int *bpad;
AdjustWmPadding (w, tpad, lpad, rpad, bpad)
Widget w;
int *tpad;
int *lpad;
int *rpad;
int *bpad;
DESCRIPTION
FindWmPadding finds the amount of padding used for window
manager decorations for the shell containing the widget .
It returns the size in pixels used by window manager
decorations on the top, left, right, and bottom sides of the
window in the integers tpad, lpad, rpad, And bpad .
AdjustWmPadding takes padding values returned from
FindWmPadding and adjusts them according to the resource
XmNmwmDecorations of the shell widget containing w. It
assumes the amounts passed in are for a fully decorated
shell.
SEE ALSO
mwm(1X) and VendorShell(3X) in the OSF/Motif Programmer's
Reference
Page 1 (printed 9/3/91)