man XmNotebook (Fonctions bibliothèques) - a widget that allows a user to manipulate underlying widgets like pages of a book.

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

tab(;); l l l l l. 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

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