XmDrawingArea
Name | Class | Type | Default | Access |
XmNmarginWidth | XmCMarginWidth | HorizontalDimension | NULL | CSG |
XmNmarginHeight | XmCMarginHeight | VerticalDimension | NULL | CSG |
XmNresizeCallback | XmCCallback | Callback | NULL | CSG |
XmNexposeCallback | XmCCallback | Callback | NULL | CSG |
XmNinputCallback | XmCCallback | Callback | NULL | CSG |
XmNresizePolicy | XmCResizePolicy | ResizePolicy | NULL | CSG |
XmNmarginWidth
XmNmarginHeight
XmNresizeCallback
XmNexposeCallback
XmNinputCallback
XmNresizePolicy
All callbacks pass a pointer to the following structure :
typedef struct {
int reason;
XEvent *event;
Window window;
} XmDrawingAreaCallbackStruct;
DrawingAreaInput()
<BtnMotion>: | ManagerGadgetButtonMotion() |
<Btn1Down>: | DrawingAreaInput() ManagerGadgetArm() |
<Btn1Down>,<Btn1Up>: | DrawingAreaInput() ManagerGadgetActivate() |
<Btn1Up>: | DrawingAreaInput() ManagerGadgetActivate() |
<Btn1Down>(2+): | DrawingAreaInput() ManagerGadgetMultiArm() |
<Btn1Up>(2+): | DrawingAreaInput() ManagerGadgetMultiActivate() |
<Btn2Down>: | DrawingAreaInput() ManagerGadgetDrag() |
<BtnDown>: | DrawingAreaInput() |
<BtnUp>: | DrawingAreaInput() |
<Key>osfActivate: | DrawingAreaInput() ManagerParentActivate() |
<Key>osfCancel: | DrawingAreaInput() ManagerParentCancel() |
<Key>osfHelp: | DrawingAreaInput() ManagerGadgetHelp() |
<Key>osfSelect: | DrawingAreaInput() ManagerGadgetSelect() |
<Key>Return: | DrawingAreaInput() ManagerParentActivate() |
<Key>Return: | DrawingAreaInput() ManagerGadgetSelect() |
<Key>space: | DrawingAreaInput() ManagerGadgetSelect() |
<KeyDown>: | DrawingAreaInput() ManagerGadgetKeyInput() |
<KeyUp>: | DrawingAreaInput() |