<HTML><HEAD><TITLE>Manpage of XmNotebook</TITLE>
</HEAD><BODY>
<H1>XmNotebook</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>

XmNotebook - a widget that allows a user to manipulate underlying widgets
like pages of a book.
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

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

<P>

<B>XmNotebook</B>

<P>

<B>XmCreateNotebook</B>

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

<B>XmNotebook</B>

is a widget that allows presenting underlying widgets like pages of a book.
Major and minor tabs can be associated with pages,
and a scroller is presented to move to the next or previous page.
<P>

<B>XmNotebook</B>

presents itself as a physical notebook with a spiral to keep the book together.
This default can be overruled by replacing it with another image.
<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>XmNbackPageForeground</TD><TD>XmCBackPageForeground</TD><TD>Pixel</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNbackPageNumber</TD><TD>XmCBackPageNumber</TD><TD>Int</TD><TD>2</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNbackPagePlacement</TD><TD>XmCBackPagePlacement</TD><TD>ScrollBarPlacement</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNbackPageSize</TD><TD>XmCBackPageSize</TD><TD>Dimension</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNbindingPixmap</TD><TD>XmCBindingPixmap</TD><TD>Pixmap</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNbindingType</TD><TD>XmCBindingType</TD><TD>BindingType</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNbindingWidth</TD><TD>XmCBindingWidth</TD><TD>Dimension</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNfirstPageNumber</TD><TD>XmCFirstPageNumber</TD><TD>Int</TD><TD>1</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNlastPageNumber</TD><TD>XmCLastPageNumber</TD><TD>Int</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNframeBackground</TD><TD>XmCFrameBackground</TD><TD>Pixel</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNbackPageBackground</TD><TD>XmCBackPageBackground</TD><TD>Pixel</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNframeShadowThickness</TD><TD>XmCFrameShadowThickness</TD><TD>Dimension</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNinnerMarginHeight</TD><TD>XmCInnerMarginHeight</TD><TD>Dimension</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNinnerMarginWidth</TD><TD>XmCInnerMarginWidth</TD><TD>Dimension</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNminorTabSpacing</TD><TD>XmCMinorTabSpacing</TD><TD>Dimension</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNmajorTabSpacing</TD><TD>XmCMajorTabSpacing</TD><TD>Dimension</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNorientation</TD><TD>XmCOrientation</TD><TD>Orientation</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
<TR VALIGN=top><TD>XmNpageChangedCallback</TD><TD>XmCPageChangedCallback</TD><TD>Callback</TD><TD>NULL</TD><TD>CSG<BR></TD></TR>
</TABLE>

<P>

<B>XmNbackPageForeground</B>

<P>

<B>XmNbackPageNumber</B>

<P>

<B>XmNbackPagePlacement</B>

<P>

<B>XmNbackPageSize</B>

<P>

<B>XmNbindingPixmap</B>

<P>

<B>XmNbindingType</B>

<P>

<B>XmNbindingWidth</B>

<P>

<B>XmNfirstPageNumber</B>

<P>

<B>XmNlastPageNumber</B>

<P>

<B>XmNframeBackground</B>

<P>

<B>XmNbackPageBackground</B>

<P>

<B>XmNframeShadowThickness</B>

<P>

<B>XmNinnerMarginHeight</B>

<P>

<B>XmNinnerMarginWidth</B>

<P>

<B>XmNminorTabSpacing</B>

<P>

<B>XmNmajorTabSpacing</B>

<P>

<B>XmNorientation</B>

<P>

<B>XmNpageChangedCallback</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="XmNotebook.html">XmNotebook</A></B>(3)

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

<DL COMPACT><DT><DD>
<BR>&nbsp;&nbsp;typedef&nbsp;struct&nbsp;{&nbsp;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;reason;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;XEvent&nbsp;*event;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;page_number;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Widget&nbsp;page_widget;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;prev_page_number;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Widget&nbsp;prev_page_widget;
<BR>&nbsp;&nbsp;}&nbsp;XmNotebookCallbackStruct;
</DL>

<P>

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

<A NAME="lbAI">&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">CONVENIENCE FUNCTIONS</A><DD>
<DT><A HREF="#lbAI">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: 22:45:32 GMT, January 14, 2000
</BODY>
</HTML>
