1XmNotebook(3)                   LessTif Manuals                  XmNotebook(3)
2
3
4

NAME

6       XmNotebook  - a widget that allows a user to manipulate underlying wid‐
7       gets like pages of a book.
8

SYNOPSIS

10       #include <Xm/Notebook.h>
11
12       XmNotebook
13
14       XmCreateNotebook
15

DESCRIPTION

17       XmNotebook is a widget that allows presenting underlying  widgets  like
18       pages  of  a  book.  Major and minor tabs can be associated with pages,
19       and a scroller is presented to move to the next or previous page.
20
21       XmNotebook presents itself as a physical notebook with a spiral to keep
22       the  book together.  This default can be overruled by replacing it with
23       another image.
24

X RESOURCES

26       Name                      Class                     Type                 Default   Access
27       ──────────────────────────────────────────────────────────────────────────────────────────
28       XmNbackPageForeground     XmCBackPageForeground     Pixel                NULL      CSG
29       XmNbackPageNumber         XmCBackPageNumber         Int                  2         CSG
30       XmNbackPagePlacement      XmCBackPagePlacement      ScrollBarPlacement   NULL      CSG
31       XmNbackPageSize           XmCBackPageSize           Dimension            NULL      CSG
32       XmNbindingPixmap          XmCBindingPixmap          Pixmap               NULL      CSG
33       XmNbindingType            XmCBindingType            BindingType          NULL      CSG
34       XmNbindingWidth           XmCBindingWidth           Dimension            NULL      CSG
35       XmNfirstPageNumber        XmCFirstPageNumber        Int                  1         CSG
36       XmNlastPageNumber         XmCLastPageNumber         Int                  NULL      CSG
37       XmNframeBackground        XmCFrameBackground        Pixel                NULL      CSG
38       XmNbackPageBackground     XmCBackPageBackground     Pixel                NULL      CSG
39       XmNframeShadowThickness   XmCFrameShadowThickness   Dimension            NULL      CSG
40       XmNinnerMarginHeight      XmCInnerMarginHeight      Dimension            NULL      CSG
41       XmNinnerMarginWidth       XmCInnerMarginWidth       Dimension            NULL      CSG
42       XmNminorTabSpacing        XmCMinorTabSpacing        Dimension            NULL      CSG
43       XmNmajorTabSpacing        XmCMajorTabSpacing        Dimension            NULL      CSG
44       XmNorientation            XmCOrientation            Orientation          NULL      CSG
45       XmNpageChangedCallback    XmCPageChangedCallback    Callback             NULL      CSG
46
47       XmNbackPageForeground
48
49       XmNbackPageNumber
50
51       XmNbackPagePlacement
52
53       XmNbackPageSize
54
55       XmNbindingPixmap
56
57       XmNbindingType
58
59       XmNbindingWidth
60
61       XmNfirstPageNumber
62
63       XmNlastPageNumber
64
65       XmNframeBackground
66
67       XmNbackPageBackground
68
69       XmNframeShadowThickness
70
71       XmNinnerMarginHeight
72
73       XmNinnerMarginWidth
74
75       XmNminorTabSpacing
76
77       XmNmajorTabSpacing
78
79       XmNorientation
80
81       XmNpageChangedCallback
82

CLASS HIERARCHY

84       Object(3)  Rect(3)  UnNamedObj(3)  Core(3)  Composite(3)  Constraint(3)
85       XmManager(3) XmNotebook(3)
86

CALLBACKS

88                typedef struct {
89                  int reason;
90                  XEvent *event;
91                  int page_number;
92                  Widget page_widget;
93                  int prev_page_number;
94                  Widget prev_page_widget;
95                } XmNotebookCallbackStruct;
96

CONVENIENCE FUNCTIONS

SEE ALSO

99LessTif Project                   April 1998                     XmNotebook(3)
Impressum