# XmNotebook

Section: LessTif Manuals (3)
Updated: April 1998
Index
Return to Main Contents

## NAME

XmNotebook - a widget that allows a user to manipulate underlying widgets like pages of a book.

## SYNOPSIS

#include <Xm/Notebook.h>

XmNotebook

XmCreateNotebook

## DESCRIPTION

XmNotebook 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.

XmNotebook 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.

## X RESOURCES

Name | Class | Type | Default | Access

XmNbackPageForeground | XmCBackPageForeground | Pixel | NULL | CSG
XmNbackPageNumber | XmCBackPageNumber | Int | 2 | CSG
XmNbackPagePlacement | XmCBackPagePlacement | ScrollBarPlacement | NULL | CSG
XmNbackPageSize | XmCBackPageSize | Dimension | NULL | CSG
XmNbindingPixmap | XmCBindingPixmap | Pixmap | NULL | CSG
XmNbindingType | XmCBindingType | BindingType | NULL | CSG
XmNbindingWidth | XmCBindingWidth | Dimension | NULL | CSG
XmNfirstPageNumber | XmCFirstPageNumber | Int | 1 | CSG
XmNlastPageNumber | XmCLastPageNumber | Int | NULL | CSG
XmNframeBackground | XmCFrameBackground | Pixel | NULL | CSG
XmNbackPageBackground | XmCBackPageBackground | Pixel | NULL | CSG
XmNframeShadowThickness | XmCFrameShadowThickness | Dimension | NULL | CSG
XmNinnerMarginHeight | XmCInnerMarginHeight | Dimension | NULL | CSG
XmNinnerMarginWidth | XmCInnerMarginWidth | Dimension | NULL | CSG
XmNminorTabSpacing | XmCMinorTabSpacing | Dimension | NULL | CSG
XmNmajorTabSpacing | XmCMajorTabSpacing | Dimension | NULL | CSG
XmNorientation | XmCOrientation | Orientation | NULL | CSG
XmNpageChangedCallback | XmCPageChangedCallback | Callback | NULL | CSG

XmNbackPageForeground

XmNbackPageNumber

XmNbackPagePlacement

XmNbackPageSize

XmNbindingPixmap

XmNbindingType

XmNbindingWidth

XmNfirstPageNumber

XmNlastPageNumber

XmNframeBackground

XmNbackPageBackground

XmNframeShadowThickness

XmNinnerMarginHeight

XmNinnerMarginWidth

XmNminorTabSpacing

XmNmajorTabSpacing

XmNorientation

XmNpageChangedCallback

## CLASS HIERARCHY

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

## CALLBACKS

  typedef struct {
  int reason;
  XEvent *event;
  int page_number;
  Widget page_widget;
  int prev_page_number;
  Widget prev_page_widget;
  } XmNotebookCallbackStruct;

## CONVENIENCE FUNCTIONS

## SEE ALSO

## Index

NAME
SYNOPSIS
DESCRIPTION
X RESOURCES
CLASS HIERARCHY
CALLBACKS
CONVENIENCE FUNCTIONS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:45:32 GMT, January 14, 2000