<HTML><HEAD><TITLE>Manpage of XmDrawingArea</TITLE>
</HEAD><BODY>
<H1>XmDrawingArea</H1>
Section: LessTif Manuals (3)<BR>Updated: April 1998<BR><A HREF="#index">Index</A>
<BR><A HREF="lesstif.html">Return to Main Contents</A>
<HR>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

XmDrawingArea
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>#include &lt;<A HREF="include/Xm/DrawingA.h">Xm/DrawingA.h</A>&gt;</B>

<P>

<B>XmDrawingArea</B>

<P>

<B>XmCreateDrawingArea</B>

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

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. 
<A NAME="lbAE">&nbsp;</A>
<H2>X RESOURCES</H2>

<TABLE>
<TR VALIGN=top><TD>Name</TD><TD>Class</TD><TD>Type</TD><TD>Default</TD><TD>Access<BR></TD></TR>
<TR VALIGN=top><TD COLSPAN=5><HR></TD></TR>
<TR VALIGN=top><TD>XmNmarginWidth</TD><TD>XmCMarginWidth</TD><TD>HorizontalDimension</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNmarginHeight</TD><TD>XmCMarginHeight</TD><TD>VerticalDimension</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNresizeCallback</TD><TD>XmCCallback</TD><TD>Callback</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNexposeCallback</TD><TD>XmCCallback</TD><TD>Callback</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNinputCallback</TD><TD>XmCCallback</TD><TD>Callback</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNresizePolicy</TD><TD>XmCResizePolicy</TD><TD>ResizePolicy</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
</TABLE>

<P>

<B>XmNmarginWidth</B>

<P>

<B>XmNmarginHeight</B>

<P>

<B>XmNresizeCallback</B>

<P>

<B>XmNexposeCallback</B>

<P>

<B>XmNinputCallback</B>

<P>

<B>XmNresizePolicy</B>

<P>

<A NAME="lbAF">&nbsp;</A>
<H2>CLASS HIERARCHY</H2>

<B><A HREF="Object.html">Object</A></B>(3)

<B><A HREF="Rect.html">Rect</A></B>(3)

<B><A HREF="UnNamedObj.html">UnNamedObj</A></B>(3)

<B><A HREF="Core.html">Core</A></B>(3)

<B><A HREF="Composite.html">Composite</A></B>(3)

<B><A HREF="Constraint.html">Constraint</A></B>(3)

<B><A HREF="XmManager.html">XmManager</A></B>(3)

<B><A HREF="XmDrawingArea.html">XmDrawingArea</A></B>(3)

<A NAME="lbAG">&nbsp;</A>
<H2>CALLBACKS</H2>

The Drawing Area widget defines the following callback lists : 
<B>XmNexposeCallback,</B>

<B>XmNinputCallback,</B>

<B>XmNresizeCallback,</B>

<B>XmNdestroyCallback.</B>

<P>

All callbacks pass a pointer to the following structure :
<FONT SIZE=-1><BR>&nbsp;&nbsp;typedef&nbsp;struct&nbsp;{</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;reason;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;XEvent&nbsp;*event;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Window&nbsp;window;
<BR>&nbsp;&nbsp;}&nbsp;XmDrawingAreaCallbackStruct;
<FONT SIZE=-1></FONT><A NAME="lbAH">&nbsp;</A>
<H2>ACTIONS</H2>


<P>
DrawingAreaInput()
<P>
<A NAME="lbAI">&nbsp;</A>
<H2>TRANSLATIONS</H2>

<TABLE>
<TR VALIGN=top><TD>&lt;BtnMotion&gt;:</TD><TD>ManagerGadgetButtonMotion() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Btn1Down&gt;:</TD><TD>DrawingAreaInput() ManagerGadgetArm() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Btn1Down&gt;,&lt;Btn1Up&gt;:</TD><TD>DrawingAreaInput() ManagerGadgetActivate() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Btn1Up&gt;:</TD><TD>DrawingAreaInput() ManagerGadgetActivate() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Btn1Down&gt;(2+):</TD><TD>DrawingAreaInput() ManagerGadgetMultiArm() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Btn1Up&gt;(2+):</TD><TD>DrawingAreaInput() ManagerGadgetMultiActivate() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Btn2Down&gt;:</TD><TD>DrawingAreaInput() ManagerGadgetDrag() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;BtnDown&gt;:</TD><TD>DrawingAreaInput() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;BtnUp&gt;:</TD><TD>DrawingAreaInput() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Key&gt;osfActivate:</TD><TD>DrawingAreaInput() ManagerParentActivate() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Key&gt;osfCancel:</TD><TD>DrawingAreaInput() ManagerParentCancel() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Key&gt;osfHelp:</TD><TD>DrawingAreaInput() ManagerGadgetHelp() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Key&gt;osfSelect:</TD><TD>DrawingAreaInput() ManagerGadgetSelect() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Key&gt;Return:</TD><TD>DrawingAreaInput() ManagerParentActivate() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Key&gt;Return:</TD><TD>DrawingAreaInput() ManagerGadgetSelect() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;Key&gt;space:</TD><TD>DrawingAreaInput() ManagerGadgetSelect() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;KeyDown&gt;:</TD><TD>DrawingAreaInput() ManagerGadgetKeyInput() <BR></TD></TR>
<TR VALIGN=top><TD>&lt;KeyUp&gt;:</TD><TD>DrawingAreaInput() <BR></TD></TR>
</TABLE>

<A NAME="lbAJ">&nbsp;</A>
<H2>CONVENIENCE FUNCTIONS</H2>

<A NAME="lbAK">&nbsp;</A>
<H2>SEE ALSO</H2>

<P>

<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">X RESOURCES</A><DD>
<DT><A HREF="#lbAF">CLASS HIERARCHY</A><DD>
<DT><A HREF="#lbAG">CALLBACKS</A><DD>
<DT><A HREF="#lbAH">ACTIONS</A><DD>
<DT><A HREF="#lbAI">TRANSLATIONS</A><DD>
<DT><A HREF="#lbAJ">CONVENIENCE FUNCTIONS</A><DD>
<DT><A HREF="#lbAK">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="http://www.debian.org/Packages/unstable/doc/man2html.html">man2html</A>,
using the manual pages.<BR>
Time: 21:22:18 GMT, September 06, 1999
</BODY>
</HTML>
