XmDrawingArea

NAME
SYNOPSYS
DESCRIPTION
X RESOURCES
CLASS HIERARCHY
CALLBACKS
ACTIONS
TRANSLATIONS
CONVENIENCE FUNCTIONS
SEE ALSO

NAME

XmDrawingArea

SYNOPSYS

#include <Xm/DrawingArea.h>

XmDrawingArea

XmCreateDrawingArea

DESCRIPTION

XmDrawingArea is a general purpose widget that can be used both as a canvas type widget or general manager widget. The widget has expose, resize and input callbacks and allows other widgets as its children.

X RESOURCES

XmNmarginWidth

XmNmarginHeight

XmNresizeCallback

XmNexposeCallback

XmNinputCallback

XmNresizePolicy

CLASS HIERARCHY

Object(3) Rect(3) UnNamedObj(3) Core(3) Composite(3) Constraint(3) XmManager(3) XmDrawingArea(3)

CALLBACKS

The Drawing Area widget defines the following callback lists : XmNexposeCallback, XmNinputCallback, XmNresizeCallback, XmNdestroyCallback.

All callbacks pass a pointer to the following structure :
typedef struct {

int reason;
XEvent *event;
Window window;
} XmDrawingAreaCallbackStruct;

ACTIONS

DrawingAreaInput()

TRANSLATIONS

CONVENIENCE FUNCTIONS

SEE ALSO