GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmDrawingArea(3) LessTif Manuals XmDrawingArea(3)

XmDrawingArea - Motif-capable drawing-area widget

#include <Xm/DrawingA.h>

XmDrawingArea

XmCreateDrawingArea

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.

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

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

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;

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()

April 1998 LessTif Project

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.