XmNotebook(3) a widget that allows a user to manipulate underlying widgets

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

NameClassTypeDefaultAccess

XmNbackPageForegroundXmCBackPageForegroundPixelNULLCSG
XmNbackPageNumberXmCBackPageNumberInt2CSG
XmNbackPagePlacementXmCBackPagePlacementScrollBarPlacementNULLCSG
XmNbackPageSizeXmCBackPageSizeDimensionNULLCSG
XmNbindingPixmapXmCBindingPixmapPixmapNULLCSG
XmNbindingTypeXmCBindingTypeBindingTypeNULLCSG
XmNbindingWidthXmCBindingWidthDimensionNULLCSG
XmNfirstPageNumberXmCFirstPageNumberInt1CSG
XmNlastPageNumberXmCLastPageNumberIntNULLCSG
XmNframeBackgroundXmCFrameBackgroundPixelNULLCSG
XmNbackPageBackgroundXmCBackPageBackgroundPixelNULLCSG
XmNframeShadowThicknessXmCFrameShadowThicknessDimensionNULLCSG
XmNinnerMarginHeightXmCInnerMarginHeightDimensionNULLCSG
XmNinnerMarginWidthXmCInnerMarginWidthDimensionNULLCSG
XmNminorTabSpacingXmCMinorTabSpacingDimensionNULLCSG
XmNmajorTabSpacingXmCMajorTabSpacingDimensionNULLCSG
XmNorientationXmCOrientationOrientationNULLCSG
XmNpageChangedCallbackXmCPageChangedCallbackCallbackNULLCSG

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